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
Flowcode 7 and Pickit2
Moderator: Benj
-
- Posts: 4
- Joined: Thu Sep 01, 2016 2:01 pm
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 4
- Joined: Thu Sep 01, 2016 2:01 pm
Re: Flowcode 7 and Pickit2
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.
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.
-
- Posts: 4
- Joined: Thu Sep 01, 2016 2:01 pm
-
- 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
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
― C.S. Lewis
- 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
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 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.
-
- Posts: 4
- Joined: Thu Sep 01, 2016 2:01 pm
Re: Flowcode 7 and Pickit2
Hello,
I don't understand your question.
see the file to compiler option.
I don't understand your question.
see the file to compiler option.
- Attachments
-
- pickit2.FCS
- (605 Bytes) Downloaded 324 times