"Device is not selected"

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Dave Squibb
Flowcode v5 User
Posts: 104
Joined: Fri Oct 10, 2014 11:15 am
Has thanked: 27 times
Been thanked: 22 times

"Device is not selected"

Post by Dave Squibb »

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.

User avatar
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"

Post by Steve »

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.

Dave Squibb
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"

Post by Dave Squibb »

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

User avatar
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"

Post by Steve »

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.

Dave Squibb
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"

Post by Dave Squibb »

That's done the trick Steve, Thanks for your help.

Post Reply