compile to chip
Moderator: Benj
-
- Posts: 23
- Joined: Thu Jun 13, 2019 2:29 pm
compile to chip
Hi everyone!
i installed now flowcode V8 but if i try to compile to chip i have an error "avr compiler toolchain is not installed" , i have download it and install it but
nothing change
i can i do?
thanks
i installed now flowcode V8 but if i try to compile to chip i have an error "avr compiler toolchain is not installed" , i have download it and install it but
nothing change
i can i do?
thanks
-
- Posts: 23
- Joined: Thu Jun 13, 2019 2:29 pm
Re: compile to chip
I meet the same problem.
After installing the 8-bit PIC C compiler and re-starting Flowcode v8, the error message is always present.
Then I have restarted my computer without any change.
I have verified the C-compiler path in the "build menu -> compiler options" and I can see that the default path is :
"$(compilerpic)batch\pic_xc8_comp.bat"
where $(compilerpic) = "C:\Program Files (x86)\Flowcode v8\"
But I can see that the C-Compiler is not installed in the same directory :
"C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat"
I have added a new directory path for the C compiler, then restarted the application but with always the same error message.
After installing the 8-bit PIC C compiler and re-starting Flowcode v8, the error message is always present.
Then I have restarted my computer without any change.
I have verified the C-compiler path in the "build menu -> compiler options" and I can see that the default path is :
"$(compilerpic)batch\pic_xc8_comp.bat"
where $(compilerpic) = "C:\Program Files (x86)\Flowcode v8\"
But I can see that the C-Compiler is not installed in the same directory :
"C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat"
I have added a new directory path for the C compiler, then restarted the application but with always the same error message.
Windows 10.0.18362.778
Flowcode v8.2.2.15 (2020-02-28)
Flowcode v8.2.2.15 (2020-02-28)
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: compile to chip
Hi DeeJayOne,
What are the root folders within?
What are the root folders within
Code: Select all
C:\Program Files (x86)\Flowcode\Common\Compilers
Martin
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: compile to chip
After checking the install folder during the install process with an other compiler (PIC16 this time), I can see that the compiler want to install in the following default folder :medelec35 wrote:Hi DeeJayOne,
What are the root folders within?Code: Select all
C:\Program Files (x86)\Flowcode\Common\Compilers
Code: Select all
C:\Program Files (x86)\Flowcode\Compilers
I have uninstalled the PIC compiler, then installed it again and this time it works fine !
The compiler is installed in the right directory (without the Common subfolder)
I didn't understand what it was happended during the 1st compiler installation.
Windows 10.0.18362.778
Flowcode v8.2.2.15 (2020-02-28)
Flowcode v8.2.2.15 (2020-02-28)
Re: compile to chip
I can see that you have the "Common" subfolder as me after my first compiler installation.medelec35 wrote:You should have:PIC Compiler.png& within pic:PIC Compiler2.png
Now, I haven't this subfolder and it solves the problem, very strange...
Windows 10.0.18362.778
Flowcode v8.2.2.15 (2020-02-28)
Flowcode v8.2.2.15 (2020-02-28)
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: compile to chip
I have been having a little play, this is what I have discovered on my PC.
If you install Flowcode but have not run it, then install your first tool chain, I believe the initial path will be built into the toolchain.
If you change or keep the path, the install path will then be stored in
When you install the next toolchain, it will read the above key to set the default install path.
You can change the path and then that new path will be used for any future toolchains.
Whenever Flowcode is run I believe it looks in the above key for the path to be picked up bywithin compiler options.
So if you ever get toolchain not installed, and you are confident that the target selected is for the toolchain you installed (you cancheck with tool chains are installed by looking at the above key within registry editor - regedit) then:
1) Make sure Flowcode is not running
2) Run Regedit, Only delete Nothing else as deleting windows system files will stop pc from working.
3) Run Flowcode, the installed toolchains should now work.
If you install Flowcode but have not run it, then install your first tool chain, I believe the initial path will be built into the toolchain.
If you change or keep the path, the install path will then be stored in
Code: Select all
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\MatrixTSL\Flowcode\Common
When you install the next toolchain, it will read the above key to set the default install path.
You can change the path and then that new path will be used for any future toolchains.
Whenever Flowcode is run I believe it looks in the above key for the path to be picked up by
Code: Select all
$(compiler version)
So if you ever get toolchain not installed, and you are confident that the target selected is for the toolchain you installed (you cancheck with tool chains are installed by looking at the above key within registry editor - regedit) then:
1) Make sure Flowcode is not running
2) Run Regedit, Only delete
Code: Select all
HKEY_CURRENT_USER\Software\MatrixTSL\FlowcodeV8
3) Run Flowcode, the installed toolchains should now work.
Martin