« Return to Thread: PicKit2, MPLAB and OLIMEX_MAXI_WEB(18f97j60) programming target problems

PicKit2, MPLAB and OLIMEX_MAXI_WEB(18f97j60) programming target problems

by Justin Richards :: Rate this Message:

Reply to Author | View in Thread

Hi Folks,

I have successfully built my C code for the target OLIMEX_MAXI_WEB but I am
having problems with programming and debugging via the MPLABv8.20 IDE.

I understand that some devices are not supported directly by the IDE using
PicKit2 but I have checked the list and it indicated that the 18F97J60 is
supported directly for both debugging and programing.

I can successfully program the target using the PicKit2 software but fails
when I try it from the IDE.

The error I get is PK2Error0027 (verify failed).  I can confirm that the
device gets erased and I can read from the target (once it has been
programmed via PickKit2 software) via the IDE I just can not program it.

I have another device (pickit2 express debug board) that I can program and
debug successfully but this uses PicKit2 to provide target power supply
requirements whereas the OLIMEX_MAXI_WEB has its own power supply.

Usually I would just keep trying but I have tried 10 times to program, so I
figure that is 10 erases and the Manual for 18f97j60 indicates that it is
only good for approx 100.  Therefore I have reduced its usefulness
significantly and haven't really achieved anything.

I really need to get into debug mode and to do this I need to be able to
program from the IDE (I did try to program from PicKit2 software first and
then enter debug mode but this also fails).

If anyone has had success ICSP programming 18f97j60 or better yet the
OLIMEX_MAXI_WEB with PicKit2 please indicate so.

If I know it can be done I will be more inclined to try at the cost of using
up my 100 program cycles.

Cheers Justin
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

 « Return to Thread: PicKit2, MPLAB and OLIMEX_MAXI_WEB(18f97j60) programming target problems