Good morning,
I'm a novice and I don't really understand the principle of the compiler changing flowcode.
I managed to put the Arduino one.
But now I would like to put it on a pic18F87K22 with my ICD4 but it doesn't give me a compiler? yet flowcode is a compiler?
thank you for your help
Compiler PIC+ICD4
-
- Posts: 5
- http://meble-kuchenne.info.pl
- Joined: Sun Dec 10, 2023 12:42 pm
Compiler PIC+ICD4
- Attachments
-
- eee.png (17.58 KiB) Viewed 4651 times
-
- Capture d'écran 2023-12-13 151208.png (142.06 KiB) Viewed 4651 times
-
- Matrix Staff
- Posts: 1276
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 169 times
- Been thanked: 285 times
Re: Compiler PIC+ICD4
The download link in the toolbar above contains downloads for all the toolchains. Here is a direct link:
https://www.flowcode.co.uk/download/
For that device, you will need the 8-bit PIC toolchain.
https://www.flowcode.co.uk/download/
For that device, you will need the 8-bit PIC toolchain.
-
- Posts: 5
- Joined: Sun Dec 10, 2023 12:42 pm
Re: Compiler PIC+ICD4
thank you I have already installed but it tells me that it does not have a compiler?
-
- Matrix Staff
- Posts: 1276
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 169 times
- Been thanked: 285 times
Re: Compiler PIC+ICD4
The "locations" tab of Flowcode's project options will show where Flowcode thinks the toolchain is located. If you look there and the PIC compiler toolchain entry is wrong or missing, you can manually enter it there to fix the problem.
-
- Posts: 5
- Joined: Sun Dec 10, 2023 12:42 pm
Re: Compiler PIC+ICD4
Good morning,
I managed to create a .c file but to send it with ICD4 I need a .HEX point for the "MPLAB IPE" program
because with flowcode I can't send it
I managed to create a .c file but to send it with ICD4 I need a .HEX point for the "MPLAB IPE" program
because with flowcode I can't send it
- Attachments
-
- a.png (216.99 KiB) Viewed 4633 times
-
- Matrix Staff
- Posts: 1276
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 169 times
- Been thanked: 285 times
Re: Compiler PIC+ICD4
The error is saying the extended instruction set is not supported. You need to change this in the chip config settings (under "build...project options").
And under "build...compiler options" you can customise the options used when programming the device. The IPE is supported, but currently uses the ICD3. You might be able to change the parameters so it uses the ICD4 instead.
And under "build...compiler options" you can customise the options used when programming the device. The IPE is supported, but currently uses the ICD3. You might be able to change the parameters so it uses the ICD4 instead.
-
- Posts: 172
- Joined: Thu Sep 23, 2021 3:44 pm
- Location: France
- Has thanked: 29 times
- Been thanked: 22 times
Re: Compiler PIC+ICD4
Hi,
I'm using PICKIT4 but not upload the firmware with FC but with MPLAB IPE who is very fast.
In IPE you only need to load the prog one time then each that you compile it it will ask you to update.
I'm using PICKIT4 but not upload the firmware with FC but with MPLAB IPE who is very fast.
In IPE you only need to load the prog one time then each that you compile it it will ask you to update.
Seb
-
- Valued Contributor
- Posts: 763
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 151 times
- Been thanked: 171 times
Re: Compiler PIC+ICD4
Hi to all
Like Seb, I also use MPlab when I have to programme a serie of devices. It is simply much faster.
It would be a good idea if Flowcode had a button "Flash again HEX" and not compile again
For programming and from time to time to "flash" I prefer the ICD4 and Flowcode.
It's working fine for me with the ICD4 and flowcode with this config.
just use your MPLABX version in the text...
Like Seb, I also use MPlab when I have to programme a serie of devices. It is simply much faster.
It would be a good idea if Flowcode had a button "Flash again HEX" and not compile again
For programming and from time to time to "flash" I prefer the ICD4 and Flowcode.
It's working fine for me with the ICD4 and flowcode with this config.
just use your MPLABX version in the text...
C:\Program Files (x86)\Microchip\MPLABX\v5.40\mplab_platform\mplab_ipe\ipecmd.exe
/P$(chip) /F"$(outdir)$(target).hex" /TPICD4 /M /OL
Re: Compiler PIC+ICD4
For info. I use MPLAB and pickit 4. That way if i need to program multiple devices MPLAB opens the same hex file and you just download to device without going to flowcode again. MPLAB reloads the hex file each time so if you have updated it, provided its name hasn't changed, it will download to device the updated hex file
-
- Matrix Staff
- Posts: 1276
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 169 times
- Been thanked: 285 times
Re: Compiler PIC+ICD4
Have you seen this post?stefan.erni wrote: ↑Fri Dec 15, 2023 9:20 amIt would be a good idea if Flowcode had a button "Flash again HEX" and not compile again
viewtopic.php?p=14571#p14571
This shows how Flowcode v10's "User Defined Tools" can be used to create a custom menu command to resend a HEX file to an ESP32. You should be able to do something similar to give Flowcode a command for reprogramming using ipecmd.exe (either using your own batch file or by directly the command to the ipecmd.exe application itself.