Good morning,
I can no longer compile to HEX. Was previously working.
I've opened a test project, selected a PIC and set CONFIG only.
I get the following compiler message:
Launching the compiler...
C:\Program Files (x86)\Microchip\MPLABX\v5.40\mplab_platform\mplab_ipe\ipecmd.exe 16F1938 "C:\Users\HPUSER~1\DOCUME~1\FLOWCO~1\MORGAN~1\FLOWCO~1\" "Flowcode1"
....
Device is not selected
.........
C:\Program Files (x86)\Microchip\MPLABX\v5.40\mplab_platform\mplab_ipe\ipecmd.exe reported error code 7
Autoclose turned off
FINISHED
(Tried uninstalling and reinstalling Flowcode 8 )
Any ideas please? Thanks,
Dave.
"Device is not selected"
Moderator: Benj
-
- Flowcode v5 User
- Posts: 104
- Joined: Fri Oct 10, 2014 11:15 am
- Has thanked: 27 times
- Been thanked: 22 times
- Steve
- Matrix Staff
- Posts: 3429
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: "Device is not selected"
It appears you have changed your compiler settings and are 'pointing' at ipecmd.exe as the compiler rather than XC8. Try selecting a different option in the "compiler settings" window.
-
- Flowcode v5 User
- Posts: 104
- Joined: Fri Oct 10, 2014 11:15 am
- Has thanked: 27 times
- Been thanked: 22 times
Re: "Device is not selected"
Hi Steve,
Found this in default
$(compilerpic)batch\pic_xc8_comp.bat - Now it says toolchain not installed??
I think this happened when I opened a file from an older project from FC6 or even FC4
Found this in default
$(compilerpic)batch\pic_xc8_comp.bat - Now it says toolchain not installed??
I think this happened when I opened a file from an older project from FC6 or even FC4
- Steve
- Matrix Staff
- Posts: 3429
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: "Device is not selected"
Compiler information is not stored in the Flowcode project file, so I can't see how opening an older project file would have caused this problem.
To fix, I think you should reinstall the PIC (8-bit) toolchain. These are no longer on our matristsl.com site, but I think you can access in from your account page on the flowcode.co.uk site.
But note that the 8-bit PIC (and AVR/Arduino) toolchains on the download page of that site are not correct for Flowcode v8 and earlier. You will need to login and access them in your Flowcode account page (this is the same login details for Flowcode itself and matrixtsl.com). All other toolchains for v9 work with v8 and v7.
To fix, I think you should reinstall the PIC (8-bit) toolchain. These are no longer on our matristsl.com site, but I think you can access in from your account page on the flowcode.co.uk site.
But note that the 8-bit PIC (and AVR/Arduino) toolchains on the download page of that site are not correct for Flowcode v8 and earlier. You will need to login and access them in your Flowcode account page (this is the same login details for Flowcode itself and matrixtsl.com). All other toolchains for v9 work with v8 and v7.
-
- Flowcode v5 User
- Posts: 104
- Joined: Fri Oct 10, 2014 11:15 am
- Has thanked: 27 times
- Been thanked: 22 times