On Thu, Mar 7, 2013 at 12:12 AM, veegee wrote: > On 2013-03-05 11:56 PM, Xiaofan Chen wrote: >> On Wed, Mar 6, 2013 at 12:20 PM, veegee wrote: >>> Is there a way to use REAL ICE to program a chip without MPLAB? >>> Preferably from the command line in Linux? I'm using GPUTILS to write >>> some PIC12 code, so I'm not going to be using MPLAB, but as far as I >>> know, REAL ICE can only be accessed from the MPLAB IDE. >> >> Under Linux (and Mac OS X ), install MPLAB X and you can then use mdb.sh= .. >> Ref: http://www.microchip.com/forums/m661149-print.aspx >> >> Under Windows, you have a better one. Install MPLAB and there >> is a command line utility here: RealICECMD.exe >> C:\Program Files\Microchip\MPLAB IDE\Programmer Utilities\RealICE > > That's odd, the Programmer Utilities folder isn't on my computer at all > (searched the hard disk to be sure). I reinstalled MPLAB X to eliminate > the possibility of missing files, but still no success. That one is for Windows only and for MPLAB only. For MPLAB X, you need to use mdb. You can read the following thread in Microchip forum. Ref: http://www.microchip.com/forums/m661149-print.aspx Reverse engineering the programmer protocol is actually quite tedious. And with mdb, you do not need to do that. --=20 Xiaofan --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .