(Added [PIC] tag to the subject) Sorry, I can't help you, I was not even aware of that cmd line tool! I thought PICkit3 can be used only under MPLAB. Is this a new tool? Thanks, Tamas ---------- Forwarded message ---------- From: Mark E. Skeels Date: Mon, Feb 8, 2010 at 7:59 PM Subject: PK3CMD usage To: "Microcontroller discussion list - Public." Can anyone point me to a document describing the PK3CMD command line interface? I know it gives usage with the parameter -? but I want to know what the proper device specifiers are and an example of a command line that performs programming of flash memory would be useful. Erase works.......... I type pk3cmd -P24HJ128GP210 -E I get ********************* Connecting... PICkit 3 detected Connecting to PICkit 3... Firmware Suite Version...... 01.23.07 Firmware type......................dsPIC33F/24F/24H PICkit 3 Connected. Target Detected Device ID Revision = 00003004 Erasing ... C:\Projects\CX2Mon> ********************** Program doesn't work.......... I type pk3cmd -P24HJ128GP210 -Ftestprog.hex -MP I get ******************* Connecting... PICkit 3 detected Connecting to PICkit 3... Firmware Suite Version...... 01.23.07 Firmware type......................dsPIC33F/24F/24H PICkit 3 Connected. Invalid Device Detected !!! C:\Projects\CX2Mon> ************************* ...doing something wrong but I don't know what....... -- Mark Skeels Engineer Competition Electronics, Inc. TEL: 815-874-8001 FAX: 815-874-8181 www.competitionelectronics.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- /* www.mcuhobby.com */ int main() { char *a,*s,*q; printf(s="/* www.mcuhobby.com */ int main() { char *a,*s,*q; printf(s=%s%s%s, q=%s%s%s%s,s,q,q,a=%s%s%s%s,q,q,q,a,a,q); }", q="\"",s,q,q,a="\\",q,q,q,a,a,q); } -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist