• AVR Freaks

Helpful ReplyTroubleshooting MPLAB ICD 2 Problems

Page: < 123 > Showing page 2 of 3
Author
DarioG
Allmächtig.
  • Total Posts : 54081
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • Status: offline
RE: Troubleshooting MPLAB ICD 2 Problems 2009/11/18 09:02:54 (permalink)

GENOVA :D :D ! GODO
#21
cjr
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2009/11/23 00:00:56
  • Location: 0
  • Status: offline
RE: Troubleshooting MPLAB ICD 2 Problems 2009/11/23 00:21:27 (permalink)
0
ok... how about this one guys.
My OS is windows 7, current MPLAB version 8.36, using MPLAB ICD2, designing on an 18F452
After successfully installing both drivers and program the thing worked for about 2 weeks. Then anytime the ICD was plugged in, windows kept giving the "USB device not recognized" so of course, these methods were tried, which all worked for a certain period of time and then just stopped:
1. Go to Device Manager and locate the drivers within the specified folder and reinstall.
2. Then when that stopped working, go to registry delete the values and delete the drivers from windows/inf folder then reinstall drivers when ICD was connected.
3. When that stopped working, Finally uninstall and install MPLAB and connect the ICD and install the drivers

With all events on restart of my machine, windows just seemed to magically forget the device and label it "Unknown Device" giving the Windows Error (Code 43). I am really positive it is a driver problem, but i am out of options and have no idea of what to do.. does anyone have any ideas.

(NB in all cases the ICD was plugged into the same USB port. Also tried using mpusbiru.exe in compatibility mode with its counterpart program(can't seem to remember its name) but that did not work as well.)
#22
KaZ
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2010/04/27 00:31:51
  • Location: 0
  • Status: offline
RE: Troubleshooting MPLAB ICD 2 Problems 2010/04/27 00:41:06 (permalink)
0
Hi everyone!

I noticed that the last versions of MPLAB have problems with ICD2 and 3.3V devices. (I was programming a 18F67j60). The ICD2 Operating system is different between older and last versions.
I had "Wrong device ID (0x00)" errors.
When I downgraded to MPLAB 8.20a, programming/debug started to work fine again!!

I guess that copying the ICDXXXXXXX.hex operating system from and older version that works to \MPLAB IDE\ICD 2\ on a new version should work too.

I hope my message can help!

Bye!

#23
williamabelkane
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2010/06/01 04:08:25
  • Location: 0
  • Status: offline
RE: Troubleshooting MPLAB ICD 2 Problems 2010/06/01 04:18:21 (permalink)
0
hi everyone

i got problem about ICD2 driver with windows 7 32 bit version.

i read so carefully how to install ICD2 driver to windows 7 32 bit version but always appear blue screen.

anyone advice me how to install ICD2 driver to windows 7 32 bit version???

aha,im a japanese so my english is so poor,,,sorry

shinji yamazaki
#24
billje
New Member
  • Total Posts : 5
  • Reward points : 0
  • Joined: 2006/07/08 10:48:27
  • Location: 0
  • Status: offline
RE: Troubleshooting MPLAB ICD 2 Problems 2010/06/03 08:58:47 (permalink)
0
I can program a PIC24FJ64GA004 just fine using Real Ice...no errors. However, I get the following verify error using the ICD2:

MPLAB ICD 2 ready for next operation
Programming Target...
...Erasing Part
...Programming Program Memory (0x0 - 0xABFF)
Verifying...
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x5000, Expected Val = 0xFF0000, Val Read = 0xFFFFFF)
ICD0275: Programming failed.
MPLAB ICD 2 ready for next operation

Anybody got any ideas why this is happening?

billje
#25
EME
Starting Member
  • Total Posts : 31
  • Reward points : 0
  • Joined: 2009/01/15 00:42:50
  • Location: 0
  • Status: offline
Re:Troubleshooting MPLAB ICD 2 Problems 2010/08/28 05:17:46 (permalink)
0
I tried to connect an Explorer 16 board to an ICD2 which is connected to a PC (VISTA, MPLAB 8.56) via USB (ans I also tried RS232). in MPLAB I received the message: ICDWarn0020: Invalid Target Device ID - the return value was always 0x00 instead of the proper device ID (for a PIC24FJ128GA010 on the PIM). So I tried the dsPIC33-device: the same result plus the ICD-selftest failed: all lines except for MCLR (passed) were "HIGH". Afraid that the ICD2 was damaged somehow I attached a PICDEM II plus board: the same results. So I choose another ICD2: the same results. So I took another PC (XP, MPLAB 8.53) - oh what surprise - the ICD2 connected to the PICDEM II plus board without problems and also received the right device ID. So I connected the Explorer 16 board again: ICDWarn0020: Invalid Target Device ID came again for the PIC24 and the dsPIC33 on the PIMs! But after switching to the PIC18F4550 on the Ex16 board this device was recognized properly!
 
So in the first case VISTA may have corrupted something. With XP at least the PIC18-devices were recognized (both on Explorer 16 and PICDEM II plus). But why not the PIC24 and dsPIC33-devices on the PIMs? The firmware in these devices is working properly on the Ex16 board- so they are not damaged. Is there anything known about this problem or did I miss to set any parameters or anything else?


PS: In the meantime I also tried to connect the ICD2 to a dsPICDEM 2 board - the same problem (invalid target device ID) occurs.
post edited by EME - 2010/08/28 08:49:32
#26
byeade
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2011/04/08 00:06:48
  • Location: 0
  • Status: offline
Flagged as Spam (1)
Re: Troubleshooting MPLAB ICD 2 Problems 2011/04/08 00:13:38 (permalink)
0
welcome to my post
#27
byeade
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2011/04/08 00:06:48
  • Location: 0
  • Status: offline
Flagged as Spam (1)
Re: Troubleshooting MPLAB ICD 2 Problems 2011/04/08 00:15:58 (permalink)
0
welcome to my postChristian Louboutin
#28
vidatamas
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2011/06/07 00:29:11
  • Location: 0
  • Status: offline
Re:Troubleshooting MPLAB ICD 2 Problems 2011/06/07 00:49:11 (permalink)
0
Dear Administrator,
 
Do you plan to support ICD2 with PIC32MX family in the later version of MPLAB?
The 8.7 version supported the PIC32MX775 xxx , but only programming function.
Do you will develop the debugging function also?
 
Thanks,
 
T V
 
 
#29
Sruthiraj
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2011/06/25 10:19:15
  • Location: 0
  • Status: offline
Re: Troubleshooting MPLAB ICD 2 Problems 2011/06/26 00:50:41 (permalink)
0
Hi all, 
Plz help..I used ICD2(P/N: 10-00397-R3 and Firmware ICD 01.06.05.00) with MPLAB v8.70 for dsPIC 30F2010. But when connecting it shows ICDWarn0020-Invalid target device ID(expected 0x40,read=0x0). It passes all self tests except MCLR Vpp(low). The power values were as follows.. Target Vdd=5.19, Target Vpp=5.75, MPLAB ICD2 Vpp=11.98. Why it is so..? 
Thanks in Advance, 
Sruthi 
#30
alicechen
New Member
  • Total Posts : 5
  • Reward points : 0
  • Joined: 2011/08/12 00:48:24
  • Location: 0
  • Status: offline
Flagged as Spam (1)
Re: Troubleshooting MPLAB ICD 2 Problems 2011/08/12 01:01:44 (permalink)
#31
Tede
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2012/01/30 14:12:37
  • Location: 0
  • Status: offline
Re:Troubleshooting MPLAB ICD 2 Problems 2012/01/30 14:40:58 (permalink)
0
ICD 2 - Explorer 16 kit - expected=0xFF, read=0x7FF I just bought the Explorer 16 kit and was searching for a solution to the error I kept getting: ICDWarn0020: Invalid target device id (expected=0xFF, read=0x7FF) It turned out that the processor included in the kit is a p33FJ256GP710A and not the p33FJ256GP710 which is stated in the instructions. So select the correct part, update the #includes and smiles all round. I tried the document at: http://ww1.microchip.com/...bleshooting%20Flow.htm but it seems to be corrupt. Windows 7(SP1) – 64bit, ICD 2
#32
byhard
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2012/02/27 06:21:29
  • Location: 0
  • Status: offline
Re: RE: Troubleshooting MPLAB ICD 2 Problems 2012/02/27 06:31:37 (permalink)
0
When ICD 2 used in PIC16LF1823,the register bank will alway showed in bank1,and BSR in the register file is 1 also.  and in some work ,the real register bank is ok ,and other work ,it will be  work wrong . I had tried two ICD 2 device ,it show the same problem.
#33
KJ Lee
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2012/04/06 05:19:25
  • Location: 0
  • Status: offline
Re:Troubleshooting MPLAB ICD 2 Problems 2012/04/06 05:56:00 (permalink)
0

Can you advise if  I can use the Wifi Comm Demo Board (Part #DV102411) with ICD2 ?
Thank you
Regards,
KJ

#34
filou
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2013/02/07 10:18:23
  • Location: 0
  • Status: offline
Re:Troubleshooting MPLAB ICD 2 Problems 2013/02/08 02:05:54 (permalink)
0
DevMod

We have put up a web page to help people analyze problems with MPLAB ICD 2.  If you have additional information on a problem that you've solved, please add to this thread, and we'll add that info to the web page if it can be of help to others.

www.microchip.com/icd2help

hi, after having problems with more complex programs i decided to restart with the basics; i.e. running the PICKit demo SW 'hello world'. However, even with this simple SW I did not manage to get correct values in the watch window for PORT C  (remains unchanged: 0x00) while all other registers and the LEDs on the PICKit2 board are as expected (dto with other programms)
My setup: WIN XP, PICkit2 (black switch), header AC162061, MPLAB IDE v 8.60, Assembler v 3.90, Debugger: DE version 1.0.1 , PICKit version 0.0.3.63, operation system 2.32.0, found rev 0x5.
The same behaviour in MPLAB Sim mode.
Where can i get help? many thanks in advance and best regards from germany manfred.stauss@t-online.de
#35
filou
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2013/02/07 10:18:23
  • Location: 0
  • Status: offline
Re:Troubleshooting MPLAB ICD 2 Problems 2013/02/08 07:57:50 (permalink)
0
I think  i found the answer by myself; looking to the blockdiagram of the port it shows that there is no way to read back the value of a port  latch in debug mode (simulation mode?) with the port set to be an output. To set the port as an input does not help, since the output driver switches to high impedance. Sorry for any inconvinience.
#36
kurtis0521
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2013/04/09 21:11:25
  • Location: 0
  • Status: offline
Re: Troubleshooting MPLAB ICD 2 Problems 2013/04/09 21:16:08 (permalink)
0
I have an ICD2 that worked fine until the pic shorted out between VDD and Ground while programming. At first it would not connect, then it let me re install the operating system. Now it says that it programs and verifies correctly, but it does not program the PIC.
 
Thank You
#37
candy1202
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2013/06/06 20:40:23
  • Location: 0
  • Status: offline
Re: Troubleshooting MPLAB ICD 2 Problems 2013/06/06 20:49:17 (permalink)
0
Hi Everyone
I'm currently using windows 8 / 64 bit!!
I have some problem in connecting the MPLAB ICD 2 in MPLAB IDE v8.10.
it always appear, Unable to connect to MPLAB ICD 2.
 
Connecting to MPLAB ICD 2ICD0019: Communications:  Failed to open port: (Windows::GetLastError() = 0x2, 'The system cannot find the file specified.')ICD0021: Unable to connect with MPLAB ICD 2MPLAB ICD 2 Ready
 
Can you help me to solve it!! please!! please!!
#38
PICy_engineer
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2013/11/22 14:14:03
  • Location: 0
  • Status: offline
Re: Troubleshooting MPLAB ICD 2 Problems 2013/11/22 14:28:37 (permalink)
0
Hello all,
I’m back after taking a 10 year leave.  I installed PMlab X and dusted off my old ICD 2 but the system is not working.  Is there a download for using an ICD 2 (with win 7)?  The ‘Select Tool’ drop down in ‘new Project’ shows ICD 3 but not ICD 2.  Device Manager shows ‘unknown device’ when I plug in my ICD 2 into USB. 
Thanks ‘picy”
#39
Garnato
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2014/02/09 05:47:28
  • Location: 0
  • Status: offline
Re: Troubleshooting MPLAB ICD 2 Problems 2014/02/09 06:35:27 (permalink)
0
Hello everyone
 
I'm a starter in this world of PIC
 
Candi1212 and Picy_engenieer: I have the same problem as you. My operating system is windows 8 and I tried using MPLAB IDE 8 software but it doesn't recognize my ICD 2. I tried also to install the USB port driver as it was indicated in the manual, but it didn't work.
 
Then I tried installing MPLAB X -like you, Candi1212-, but it actually seems to be available only for ICD 3. I think this would be the best solution because I have seen the possibilities and features so that I concluded MPLAB IDE X is much better than MPLAB IDE 8
 
Could someone tell how to do?
 
thanks
#40
Page: < 123 > Showing page 2 of 3
Jump to:
© 2019 APG vNext Commercial Version 4.5