Page 1 of 1

Flowcode 7 and Pickit2

Posted: Thu Sep 01, 2016 2:14 pm
by lavomatique
Hello,

We have systematical the error code 24 when i want to compile to chip with pickit2.
COMPILER Location:
$(appdir)compilers\pic\bin\xc8.exe
COMPILER Parameters:
--chip=$(chip) "$(target).c" --MSGDISABLE=359,1273,1388

LINKER / ASSEMBLER Location:
$(appdir)tools\DoNothing\DoNothing.exe
LINKER / ASSEMBLER Parameters:
***empty***

PROGRAMMER Location:
$(appdir)tools\PICkit2\pk2cmd.exe
PROGRAMMER Parameters:
-B $(appdir)tools\PICkit2\-PPIC $(chip:u) -F$(target).hex -M -A5 -R

THANKS

Re: Flowcode 7 and Pickit2

Posted: Thu Sep 01, 2016 4:32 pm
by Benj
Hello,

Please can you make sure there is a space between PICkit2\ and -PPIC.

e.g.

-B $(appdir)tools\PICkit2\ -PPIC $(chip:u) -F$(target).hex -M -A5 -R

If this doesn't work then you could also try this.

-B "$(appdir)tools\PICkit2\" -PPIC $(chip:u) -F$(target).hex -M -A5 -R

Let us know how you get on.

Re: Flowcode 7 and Pickit2

Posted: Fri Sep 02, 2016 7:50 am
by lavomatique
hello.
After having tried yours command line (-B "$(appdir)tools\PICkit2\" -PPIC $(chip:u) -F$(target).hex -M -A5 -R), we have the same problem.

thank.

Re: Flowcode 7 and Pickit2

Posted: Tue Sep 06, 2016 11:46 am
by lavomatique
HELLO,
Do you have a solution because we can not use FLOWCODE

Re: Flowcode 7 and Pickit2

Posted: Tue Sep 06, 2016 3:26 pm
by kersing
You can always use MPLab (8 or X), import the hex or cof file (file menu, import) and program that way.

Re: Flowcode 7 and Pickit2

Posted: Tue Sep 06, 2016 5:05 pm
by Steve
lavomatique wrote:hello.
After having tried yours command line (-B "$(appdir)tools\PICkit2\" -PPIC $(chip:u) -F$(target).hex -M -A5 -R), we have the same problem.

thank.
Can you please provide a screenshot of the error in the "compiler messages" window like you did before so we can see what Flowcode is showing.

Re: Flowcode 7 and Pickit2

Posted: Thu Sep 08, 2016 8:48 am
by lavomatique
Hello,

I don't understand your question.
see the file to compiler option.