PicKit 3 not detected - chip specific
Posted: Wed Aug 22, 2012 9:48 pm
Hi,
I have started using a PicKit 3. First I took an existing file and successfully programmed a PIC16F886.
Keeping the same settings (the version when 'no hex file found' from the help topics page) I then tried my target chip
PIC18F47J53, which is why I upgraded from the PicKit2 to the PicKit3.
First I checked using MPLAB IDE that the chip could be read, verified and then erased - no problem.
Next I tried (several times) Flowcode 5. the result is:
File name: C:\Users\User\Documents\Flowcode\Tiertex PIC18F47J53\Test 1.c
Title:
Description:
Generated by: Flowcode v5.2.0.0
Date: Wednesday, August 22, 2012 21:32:04
Licence: Professional
Registered to: Blanked
Licence key: Blanked
http://www.matrixmultimedia.com
Compilation is up-to-date
Linking is up-to-date
Launching the programmer...
D:\Electronics\Flowcodev5\Tools\PICkit3\PK3CMD.exe -P18F47J53 -F"Test 1.hex" -E -M -Y"Test 1.hex"
No PICkit 3 Connected
Invalid Device Detected !!!Return code = 5
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED
As you may guess from the above, the board is a Tiertex PIC18F47J53.
Recall that the PicKit was detected fine with the same setting but with a PIC16F886.
The board has no external power. A command line trigger to use the PicKit3 to power the device would be useful (as it would for the PicKit2), but I have tried with and without setting from MPLABIDE and with an without MPLAB running concurrently.
In any case this should not affect PicKit detection?
Any suggestions?
Thanks,
Mark
I have started using a PicKit 3. First I took an existing file and successfully programmed a PIC16F886.
Keeping the same settings (the version when 'no hex file found' from the help topics page) I then tried my target chip
PIC18F47J53, which is why I upgraded from the PicKit2 to the PicKit3.
First I checked using MPLAB IDE that the chip could be read, verified and then erased - no problem.
Next I tried (several times) Flowcode 5. the result is:
File name: C:\Users\User\Documents\Flowcode\Tiertex PIC18F47J53\Test 1.c
Title:
Description:
Generated by: Flowcode v5.2.0.0
Date: Wednesday, August 22, 2012 21:32:04
Licence: Professional
Registered to: Blanked
Licence key: Blanked
http://www.matrixmultimedia.com
Compilation is up-to-date
Linking is up-to-date
Launching the programmer...
D:\Electronics\Flowcodev5\Tools\PICkit3\PK3CMD.exe -P18F47J53 -F"Test 1.hex" -E -M -Y"Test 1.hex"
No PICkit 3 Connected
Invalid Device Detected !!!Return code = 5
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED
As you may guess from the above, the board is a Tiertex PIC18F47J53.
Recall that the PicKit was detected fine with the same setting but with a PIC16F886.
The board has no external power. A command line trigger to use the PicKit3 to power the device would be useful (as it would for the PicKit2), but I have tried with and without setting from MPLABIDE and with an without MPLAB running concurrently.
In any case this should not affect PicKit detection?
Any suggestions?
Thanks,
Mark