Page 1 of 1

Pickit3 Cannot Find Boostc

Posted: Sun Sep 17, 2017 5:19 pm
by acestu
Hi,

I have just setup my Pikit3 for use with Flowcode7 via Martins guide, however when I try to program a chip with it, it says it can't find the Path, now the Path in question is C:/Program Files (x86)/Flowcode7/compilers/pic/boostc but if I look for this in the file explorer then when I get to the Pic folder there is no Boostc in it, Flowcode6 has this but not in Flowcode7, should it be pointing somewhere else ?

thanks
Stuart

Re: Pickit3 Cannot Find Boostc

Posted: Sun Sep 17, 2017 5:42 pm
by acestu
Hi,

Sorry I am a little rusty, it looks like the compiler Path should be:

C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe

I will give this a go and let you know how I go on

cheers
Stuart

Re: Pickit3 Cannot Find Boostc

Posted: Sun Sep 17, 2017 5:56 pm
by acestu
Hi,

After changing the Path to the MPLAB compiler xc8.exe I get the following error as if something is not telling it what the pic chip type is:
prog_error.png
(7.63 KiB) Downloaded 4719 times
thanks
Stuart

Re: Pickit3 Cannot Find Boostc

Posted: Sun Sep 17, 2017 7:07 pm
by acestu
Hi,

I seem to be going round in circles following different threads, does anyone have a working FCF file for a Pikit3 using MPLAB 8, Pic I would be very grateful

thanks
Stuart

P.S. Are there any other Pic icsp programmers available yet that are easy to work with ?

Re: Pickit3 Cannot Find Boostc

Posted: Sun Sep 17, 2017 10:01 pm
by EtsDriver
I have to confess that i just gave up and found out that it was easiest to use MPLAB IPE to program .hex onto the target when using PicKIT 3.
Reason:
In my case the targets were changing all time (From DsPIC to midrange, lowrange series) and the PICKIT 3 needed new FW to be downloaded to it to work correctly, and the glorious IPE does it automagically... :?

Re: Pickit3 Cannot Find Boostc

Posted: Sun Sep 17, 2017 10:37 pm
by acestu
Hi ETS,

Yes even if I just click on compile to Hex I get:

Launching the compiler...
C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe -v -t PIC16F1824 "dorgard_tester.c"
(902) no chip name specified; use "PICC --CHIPINFO" to see available chip names
(908) exit status = 1

C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1

cheers
Stuart

Re: Pickit3 Cannot Find Boostc

Posted: Sun Sep 17, 2017 10:47 pm
by kersing
If you just want to use PICkit3 to upload the code to the device you should not have to change anything in the compiler and linker settings. Only change the settings for the programmer. (Which by default points to mLoader)

Re: Pickit3 Cannot Find Boostc

Posted: Mon Sep 18, 2017 10:51 am
by Benj
For PICkit 3 here are the defaults including compiler and linker, though as Kersing says these can stay as default.

Compiler

Location: $(appdir)compilers\pic\bin\xc8.exe
Parameters: --chip=$(chip) "$(target).c" --MSGDISABLE=359,1273,1388

Linker

Location: $(appdir)tools\DoNothing\DoNothing.exe
Parameters:

Programmer

Location: C:\Program Files (x86)\Microchip\MPLABX\v3.50\mplab_ipe\ipecmd.exe
Parameters: /P$(chip) /F"$(outdir)$(target).hex" /TPPK3 /M /OL

Be sure to change the path to suit your installation of MPLABX. The latest version is ...MPLABX\v4.00\mplab_ipe...

More details here regarding powering options etc: https://www.matrixtsl.com/wikiv7/index. ... _.28NEW.29

Re: Pickit3 Cannot Find Boostc

Posted: Mon Sep 18, 2017 6:02 pm
by acestu
Hi Ben,

Thanks for the info, I have my Compiler, Linker, and Programmer details as you have except my version of mplab_ipe is the latest 4.05,

Before I get to prgramming I can't even compile to Hex as I get this error:
program_error2.png
(8.41 KiB) Downloaded 4679 times
Thanks
Stuart

Re: Pickit3 Cannot Find Boostc

Posted: Mon Sep 18, 2017 6:05 pm
by kersing
Hi Stuart,

Make sure there is a space between the closing bracket ')' of 'chip)' and the double quotes following it.

Code: Select all

Parameters: --chip=$(chip) "$(target).c" --MSGDISABLE=359,1273,1388
                         ^^^ here
Best regards,

Jac

Re: Pickit3 Cannot Find Boostc

Posted: Mon Sep 18, 2017 6:15 pm
by acestu
Hi Jac,

Well spotted after I changed it, it then compiled to Hex, but when I try to compile to chip it says that it can't find the Hex file:
prog_error3.png
(9.22 KiB) Downloaded 4676 times
Thanks
Stuart

Re: Pickit3 Cannot Find Boostc

Posted: Mon Sep 18, 2017 6:24 pm
by acestu
Hi,

I have just copied and pasted the info instead of typing it and I must of had another mistake somewhere, it now attempts to program but now says its an invalid device so I will delve further.

thanks again
Stuart

Re: Pickit3 Cannot Find Boostc

Posted: Mon Sep 18, 2017 6:25 pm
by kersing
It looks like you are missing a double quote:

Code: Select all

Parameters: /P$(chip) /F"$(outdir)$(target).hex" /TPPK3 /M /OL
                                              ^^^ Missing??

Re: Pickit3 Cannot Find Boostc

Posted: Mon Sep 18, 2017 7:08 pm
by acestu
Thanks Jac,

It's programming now, I will export the FCF file now and save it.....

Thanks for all your help
Stuart