Flowcode 7 and Pickit2

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

Moderator: Benj

Post Reply
lavomatique
Posts: 4
Joined: Thu Sep 01, 2016 2:01 pm

Flowcode 7 and Pickit2

Post 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
Attachments
Compile.JPG
(110.99 KiB) Downloaded 1435 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Flowcode 7 and Pickit2

Post 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.

lavomatique
Posts: 4
Joined: Thu Sep 01, 2016 2:01 pm

Re: Flowcode 7 and Pickit2

Post 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.

lavomatique
Posts: 4
Joined: Thu Sep 01, 2016 2:01 pm

Re: Flowcode 7 and Pickit2

Post by lavomatique »

HELLO,
Do you have a solution because we can not use FLOWCODE

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times

Re: Flowcode 7 and Pickit2

Post by kersing »

You can always use MPLab (8 or X), import the hex or cof file (file menu, import) and program that way.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: Flowcode 7 and Pickit2

Post 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.

lavomatique
Posts: 4
Joined: Thu Sep 01, 2016 2:01 pm

Re: Flowcode 7 and Pickit2

Post by lavomatique »

Hello,

I don't understand your question.
see the file to compiler option.
Attachments
pickit2.FCS
(605 Bytes) Downloaded 324 times

Post Reply