Page 1 of 1

PicKit 3 not detected - chip specific

Posted: Wed Aug 22, 2012 9:48 pm
by Mark
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

Re: PicKit 3 not detected - chip specific

Posted: Fri Aug 24, 2012 9:10 am
by Mark
Hi,

A supplement to the above, the test file used is attached. Just in case there is something daft I have done in that.

Thanks,

Mark

Re: PicKit 3 not detected - chip specific

Posted: Fri Aug 24, 2012 9:24 am
by DavidA
Hello mark,

Ill have a dig around for the PK3 here and have a look for you...

Additionally, i would upgrade to 5.4, i cant remember all the updates, but it may be fixed in the latest version (just in case).

Help >> Check for Updates

Re: PicKit 3 not detected - chip specific

Posted: Fri Aug 24, 2012 2:56 pm
by Benj
Hi Mark,

I think the PICkit 3 is not detected unless the system is externally powered or you are supplying power via the PICkit.

Looking through the PK3 readme document you need to add the following to the parameters to allow the device to be powered via the PICkit.

-V5 -Drives VDD @ 5V
-V3.3 -Drives VDD @ 3V3

Re: PicKit 3 not detected - No local power

Posted: Fri Aug 24, 2012 10:08 pm
by Mark
Hi Ben,

Upgraded to 5.4 and used the command line:

D:\Electronics\Flowcodev5\Tools\PICkit3\PK3CMD.exe -P18F47J53 -F"Test 1.hex" -V3.3 -E -M -Y"Test 1.hex"

Now works fine with the PicKit powered board. (Need to re-start the power source after programming).

Once again, many thanks. Regards,

Mark