On Thu, Jan 3, 2013 at 4:40 AM, Electron wrote: > Hello! > how can I invoke ICD3 directly from the command line, e.g. to flash a HEX= file? Yes. You need to install MPLAB and it is here. C:\Program Files\Microchip\MPLAB IDE\Programmer Utilities\ICD3\ICD3CMD.exe C:\Program Files\Microchip\MPLAB IDE\Programmer Utilities\ICD3>ICD3CMD.exe Options Description ---------------------------------------------------------------------------= - B Batch Mode Operation C Blank Check Device E Erase Flash Device PKOB To connect PKOB F Hex File Selection G Read functions region: E =3D EEPROM I =3D ID memory C =3D Configuration memory B =3D Boot Flash Memory If no region is entered, the entire device will be read. Type F: =3D read into hex file, Path =3D full file path, H Hold In Reset L Release from Reset I Use High Voltage MCLR M Program Device region: P =3D Program memory E =3D EEPROM I =3D ID memory C =3D Configuration memory B =3D Boot Flash Memory If no region is entered, the entire device will be programmed. N####,#### Program Memory Range #### is a hexidecimal number representing Start and End Address in sequence P Part Selection. Example: 18F67J50 R Reporgram S SQTP File Selection U## Program calibration memory,where: ## is a hexidecimal number representing the least significant byte of the calibration value to be programmed V Power Target from ICD3 Y Verify Device against selected HEX File ? Help Screen ?E Displays Exit Code Example: ICD3CMD /P18F67J50 /GFc:\HexCode.hex or Example: ICD3CMD -P18F67J50 -GFc:\HexCode.hex Version 01.00.14 Copyright (C) Microchip Technology Inc. 2009 --=20 Xiaofan --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .