MPLAB ICD2 In-Circuit Debugger & programmer |
||||||||||
![]() |
||||||||||
1, Setup software and USB Drive: Install MPLAB software --> connect a USB cable from the PC to the ICD2 --> display : " find new hardware " --> " auto setup " --> " Next " --> "ok" |
||||||||||
![]() |
||||||||||
2, Connect ICD2: Select ICD2 as programmer: (programmer-->select programmer --> 2. MPLAB ICD2) ===> select Device: (configure-->select Device ) ===> Download ICD2 Operating system : (programmer-->Download ICD2 Operating system) ===> connect : (programmer-->connect) ===> OK! correctly as follows : 4, About message: this message is natural, when remove USB cable (wait "plink" ones)-->software set "programmer-->"connect"-->then insert USB cable(wait "plink" ones)-->software set programmer-->connect-->OK! Solutions Before remove USB cable ,should select (programmer-->select programmer --> None ) or (Debugger-->select tool --> None ) " If ICD2 USB not work(insert USB cable no sound),this is a ICD2 bug,if happened need program pic18f4550 in ICD2,this about how to program 18f4550 chip.commonly ICD2 will ok!
Solutions close MPLAB software --> remove usb cable-->insert usb cable -->wait 1-3s-->open MPLAB software-->connect ICD2. |
||||||||||
5, How use ICD2 to Program : Use ICD2 to program: configure-->select Device--->programmer-->connect --->imput HEX file(File-->Import) --->configure-->configuration Bits( Low voltage program must is disable). >=4M select HS, <4M select XT--->programmer-->program or:
6, How use ICD2 to debug : ICD2 Debugger : (configure-->select Device ) ---> (Debugger-->connect) ---> (File-->Import) ---> (configure-->configuration Bits) ---> (Debugger-->program) ---> (view-->File Registers) look file. (view-->Program Memory )look RAM . . (view-->EEPROM )look EEPROM . Requirements For Debug Mode: To debug (set breakpoints, see registers, etc.) with the MPLAB MPLAB ICD2 must be connected to a PC. It must be
"12F629/675 16F630/676 16F627A/628A/648A 16F716 16F684 16F688 12F635/16F636 12F683" these chip debug need the ICD2 header adapters,way do I need the ICD header adapters? If ICD2 con't input debug mode,can use simply program and circuit to test ICD2: IF pic chip have avss and avcc pin,should connect it to GND and VCC(for example 18f6720 dsp30fxxx ..). |
||||||||||
7, Use program board:(can use ICD2 to program pic 8p,18p,28p,40p,chip)
- 8Pin,18Pin micrpchip chip put in 18P ZIF locality. Use ICSP mode:
6---VPP/MCLR 5---VDD 4---GND 3---RB7/DAT 2---RB6/CLK 1- RB3/LOW(none used) ( Location see up photo) |
||||||||||
more help can view: "MPLAB IDE" software-->"help"-->"topics.." -->"MPLAB ICD2 "-->"ok" | ||||||||||
Attention: | ||||||||||
If the target design board use big current (>200ma),please use a output adapter for your target design board power supply. | ||||||||||
you can download software from website 1 or website 2: | ||||||||||
| ||||||||||
EMAIL: picworld*126.com ("*"need change to "@") |