compile to chip (pickit3) tools option i need Parameter

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 493 times
Been thanked: 187 times

compile to chip (pickit3) tools option i need Parameter

Post by Rudi »

Hi,

.. i have seen a nice Option in FC.. ty for this!!!

i have try the Tool Option "compile to Pic..
i have read in at
http://www.matrixmultimedia.com/wiki/in ... ming_Tools

but i get a return code with the examples ..

Can someone give me construct for this?..

I try others like..
-P$(chip) -F"$(outdir)$(target).hex" -E -M // .....the Option -L shows a Message like: "illegal parameter -L"
and more...

but i get not on..


....

Code: Select all


HEX file creation successful!
.
Launching the programmer...
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe  -P24FJ256GB106 -FtestNix.hex -E -M

Connecting... 
PICkit 3 detected 
Connecting to PICkit 3... 
Running self test... 
Self test completed 
Firmware Suite Version...... 01.28.90 
Firmware type......................dsPIC33F/24F/24H 
PK3Err0025: 
 Download AP failed
 
PK3Err0025: 
 Download AP failed
 
Failed to properly connect to PICkit 3 
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 2


FINISHED


or..

Code: Select all


HEX file creation successful!
.
Launching the programmer...
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe  -P24FJ256GB106 -FtestNix.hex -E -M

Connecting... 
PICkit 3 detected 
Connecting to PICkit 3... 
Running self test... 
Self test completed 
Firmware Suite Version...... 01.28.90 
Firmware type......................dsPIC33F/24F/24H 
PK3Err0025: 
 Download AP failed
 
PK3Err0025: 
 Download AP failed
 
Failed to properly connect to PICkit 3 
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 2


FINISHED


----

HEX file creation successful!
.
Launching the programmer...
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe  -P24FJ256GB106 -FtestNix.hex -E -M 

Connecting... 
PICkit 3 detected 
Connecting to PICkit 3... 
Firmware Suite Version...... 01.28.90 
Firmware type......................dsPIC33F/24F/24H 
PK3Err0025: 
 Download AP failed
 
PK3Err0025: 
 Download AP failed
 
Failed to properly connect to PICkit 3 
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 2


FINISHED


---

HEX file creation successful!
.
Launching the programmer...
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe  -P24FJ256GB106 -FtestNix.hex -E -M 

Connecting... 
PICkit 3 detected 
Connecting to PICkit 3... 
Running self test... 
Self test completed 
Firmware Suite Version...... 01.28.90 
Firmware type......................dsPIC33F/24F/24H 
PK3Err0025: 
 Download AP failed
 
PK3Err0025: 
 Download AP failed
 
Failed to properly connect to PICkit 3 
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 2


FINISHED


----


HEX file creation successful!
.
Launching the programmer...
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe  -P24FJ256GB106 -F"H:\Internet\_____B~2\benj\PIC24\testNix.hex" -E -M 

Connecting... 
PICkit 3 detected 
Connecting to PICkit 3... 
Firmware Suite Version...... 01.28.90 
Firmware type......................dsPIC33F/24F/24H 
PK3Err0025: 
 Download AP failed
 
PK3Err0025: 
 Download AP failed
 
Failed to properly connect to PICkit 3 
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 2


FINISHED


----


HEX file creation successful!
.
Launching the programmer...
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe  -P24FJ256GB106 -FH:\Internet\_____B~2\benj\PIC24\testNix.hex -E -M 

Connecting... 
PICkit 3 detected 
Connecting to PICkit 3... 
Firmware Suite Version...... 01.28.90 
Firmware type......................dsPIC33F/24F/24H 
PK3Err0025: 
 Download AP failed
 
PK3Err0025: 
 Download AP failed
 
Failed to properly connect to PICkit 3 
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 2


FINISHED

---



HEX file creation successful!
.
Launching the programmer...
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe  -P24FJ256GB106 -GFH:\Internet\_____B~2\benj\PIC24\testNix.hex 

Connecting... 
PICkit 3 detected 
Connecting to PICkit 3... 
Firmware Suite Version...... 01.28.90 
Firmware type......................dsPIC33F/24F/24H 
PK3Err0025: 
 Download AP failed
 
PK3Err0025: 
 Download AP failed
 
Failed to properly connect to PICkit 3 
C:\Programme\Flowcode 6\tools\PICkit3\PK3CMD.exe reported error code 2


FINISHED


---





if i connect after this manually with MPLAP IPE the PicKit3 is connected and i can upload the hex..

would be nice for a help in this,

thank you!

Best wishes!
Rudi
;-)

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: compile to chip (pickit3) tools option i need Parameter

Post by Benj »

Hi Rudi,

Unplug the PICkit 3 from the hardware and then try programming via Flowcode again, this should allow the AP to download to the device correctly and then you can re-attach to your hardware and programming should work correctly.

If not then are you powering your hardware at all?

Post Reply