PIC compiler toolchain is not installed

Use this section to discuss your embedded Flowcode projects.
Post Reply
Allistair
Posts: 3
http://meble-kuchenne.info.pl
Joined: Wed Sep 20, 2023 5:06 pm
Been thanked: 1 time

PIC compiler toolchain is not installed

Post by Allistair »

I have installed Flowcode 10 to evaluate it for programming a PIC18F46K22 device.
I want to compile a project to a hex file so I can program the PIC device using a separate programmer.

I have installed the PIC compiler toolchain and I have activated the Standard version of the licence.
All this is confirmed when I view the licence page (see attached screenshot).

I have a project loaded but when I select the option to Build >> Compile to HEX, I get the message "PIC compiler toolchain is not installed ..." (see attached screenshot).
Yet the toolchain is installed!

There is no problem with compiling this project to a HEX file, on a friends installation of Flowcode 9 although I believe he might have a professional version installed.

I would appreciate any help on this issue.
Attachments
PIC compiler toolchain is not installed message
PIC compiler toolchain is not installed message
ToolchainNotInstalledMessage.jpg (8.83 KiB) Viewed 3333 times
License Page
License Page
LicencePage.jpg (64.59 KiB) Viewed 3333 times

stefan.erni
Valued Contributor
Posts: 758
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 149 times
Been thanked: 171 times

Re: PIC compiler toolchain is not installed

Post by stefan.erni »

Hi Allistair

Can you check by the global settings if the location is correct for your computer?

And which PIC do you want to use? Sometimes the PIC16 designation is confusing.

regards

Stefan
Attachments
Snag_3b64f4.png
Snag_3b64f4.png (53.99 KiB) Viewed 3331 times

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: PIC compiler toolchain is not installed

Post by Steve-Matrix »

The toolchains are separate installations and can be found on the downloads page:
https://www.flowcode.co.uk/download/

You will need the 8-bit PIC installation for the PIC18F46K22 device.

Allistair
Posts: 3
Joined: Wed Sep 20, 2023 5:06 pm
Been thanked: 1 time

Re: PIC compiler toolchain is not installed

Post by Allistair »

Hi Stefan.
Thank you for your response.

The locations in the global settings were all empty.
Using File Explorer, I could see that the only available folder for the PIC was :
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\pic
(see PIC_CompilerFolder.jpg)

I set the above path for PIC and PIC16 locations as shown in PIC_ToolchainLocationSettings.jpg

When i now select "Compile to HEX" i get the following message:

----------------------------------------------------------
[Target folder: I:\Projects\MR-Innovations\EmbeddedSoftware\FlowCode\Demos
Source name: I:\Projects\MR-Innovations\EmbeddedSoftware\FlowCode\Demos\Flowcode1.fcfx
Title: PicTest
Description: Test project for PIC18F46K22 device
Device: PIC.18F.18F46K22
Generated by: Flowcode v10.0.4.33
Date: Thursday, October 12, 2023 14:20:08
Users: 1
Registered to: Allistair (FREE_VERSION)
Licence key: ??????
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using <PICkit2 PK2CMD External Power> inbuilt settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\pic\" 18F46K22 "I:\Projects\MR-Innovations\EmbeddedSoftware\FlowCode\Demos\" "Flowcode1"
You do not have a valid licence to perform this action[
------------------------------------------------------------------

I have replaced the License Key number with ?????? in the above listing.

I note that the above message is informing me that i do not have a valid license for this action to "Compile to HEX".
If this is the case then do i need to purchase a professional licence?

Kind regards,
Allistair
Attachments
My global settings for PIC toolchain settings
My global settings for PIC toolchain settings
PIC_ToolchainLocationSettings.jpg (52.68 KiB) Viewed 3326 times
File Explorer screenshot of PIC toolchains folder
File Explorer screenshot of PIC toolchains folder
PIC_CompilerFolder.jpg (29.13 KiB) Viewed 3326 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: PIC compiler toolchain is not installed

Post by medelec35 »

Hello
If you look at this webpage , you will see that only the following microchip devices are free:
  • PIC16F15323
  • PIC16F18877
  • PIC18F25K50
  • PIC24FJ128GA702
  • dsPIC33EP256MU806
  • GameCode
Any other pic8 devices will require a PIC8 licence.
Also, these are the correct toolchain paths.
I'm surprised they were not added when the toolchains were first installed.
Martin

Allistair
Posts: 3
Joined: Wed Sep 20, 2023 5:06 pm
Been thanked: 1 time

Re: PIC compiler toolchain is not installed

Post by Allistair »

Hi Martin

Thank you for clarifying this for me.
It's my first time with Flowcode and have found much of the documentation , to be a bit splintered for a Flowcode novice, such as myself.

I was very careful with installing Flowcode and the 8bit PIC compiler toolchain so i don't understand why the Location tab of the global settings, was initially empty.

I will purchase the required license but i will also perform an uninstall and reinstall of the Flowcode and tool chains to see if the global settings get correctly populated.

Thanks again for your help.

Post Reply