Problems programming in OS x - XP works fine

61 views
Skip to first unread message

Jason

unread,
Oct 9, 2009, 1:28:28 PM10/9/09
to pickit-devel
When I program either of these devices under XP it programs no
problem.

Then when I boot(camp) into OS x - I can reprogram (the same hex) and
verify and it all works fine.

But if the device is blank, or erased it will not verify (or function)

Below is what I get, Any pointers?

Regards,

Jason T

Jasons-Imac:PK2 moonbase$ pk2cmd -p -e -f 676.hex -y
Auto-Detect: Found part PIC16F676.

Erasing Device...
PICkit 2 Verify Report
9-10-2009, 11:10:04
Device Type: PIC16F676

Program Memory Errors

Address Good Bad
000000 002236 003FFF

Jasons-Imac:PK2 moonbase$ pk2cmd -p -e -f 16F887Demo.HEX -y
Auto-Detect: Found part PIC16F887.

Erasing Device...
PICkit 2 Verify Report
9-10-2009, 11:13:42
Device Type: PIC16F887

Program Memory Errors

Address Good Bad
000000 00118A 003FFF

Jasons-Imac:PK2 moonbase$ pk2cmd -?v

Executable Version: 1.20.00
Device File Version: 1.55.00
OS Firmware Version: 2.32.00


Operation Succeeded

Xiaofan Chen

unread,
Oct 9, 2009, 9:27:34 PM10/9/09
to pickit...@googlegroups.com
On Sat, Oct 10, 2009 at 1:28 AM, Jason <ja...@jason-toews.com> wrote:
> Jasons-Imac:PK2 moonbase$ pk2cmd -p -e -f 676.hex -y
> Auto-Detect: Found part PIC16F676.
>
> Erasing Device...
> PICkit 2 Verify Report
> 9-10-2009, 11:10:04
> Device Type: PIC16F676
>
> Program Memory Errors
>
> Address   Good     Bad
> 000000    002236   003FFF
>
> Jasons-Imac:PK2 moonbase$ pk2cmd -p -e -f 16F887Demo.HEX -y
> Auto-Detect: Found part PIC16F887.
>
> Erasing Device...
> PICkit 2 Verify Report
> 9-10-2009, 11:13:42
> Device Type: PIC16F887
>
> Program Memory Errors
>
> Address   Good     Bad
> 000000    00118A   003FFF
>

Answered here:
http://www.microchip.com/forums/tm.aspx?m=451434

You have the command line option wrong.
-p auto-detect part
-e erase device
-f load hex file into PK2CMD buffers
-y verify device against PK2CMD buffers.

--
Xiaofan http://mcuee.blogspot.com

Reply all
Reply to author
Forward
0 new messages