• AVR Freaks

Helpful ReplyTroubleshooting MPLAB ICD 2 Problems

Page: < 123 Showing page 3 of 3
Author
srhiggins
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2014/02/13 13:38:26
  • Location: 0
  • Status: offline
Re: Troubleshooting MPLAB ICD 2 Problems 2014/02/13 13:57:36 (permalink)
0
(BTW from the first message in this thread, www.microchip.com(slash)icd2help is no longer a valid page)
 
I'm trying to resurrect my old ICD 2 (10-00319 R13) on my Win 7 64 bit OS.  Yes I know about the ICD 2 not being able to support a 64-bit USB driver, so I bought a TrendNet USB-to-RS-232 cable, and that installs fine, and I can change it to COM1-4 and set the FIFO off and flow control to HW.  The problem seems to be in MPLAB IDE 8.92, where the Debugger Settings will only allow COM3 or COM4 when I set my USB cable to COM1/COM2 or COM3/COM4, respectively.  When I try to connect, the error message is "ICD0019: Communications:  Failed to open port (COM1)" or COM2, respectively.
 
I bought the TrendNet cable as it had great reviews for implementation.  Has anybody gotten MPLAB IDE to work with a Win 7 64-bit OS over a USB-RS-232 cable to ICD2?  The first email to this I got from Monica implied this was possible, but further phone support from Michael indicated that while possible, it is not a Microchip supported solution.
 
#41
srhiggins
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2014/02/13 13:38:26
  • Location: 0
  • Status: offline
Re: Troubleshooting MPLAB ICD 2 Problems 2014/08/21 14:46:08 (permalink)
+1 (1)
OK I have solved the problem.  Issue was the TrendNet USB-to-RS-232 cable with PL-2303 chipset was a big fail.  Amazon didn't even take it back, they just credited my account.  So more research, looked into the FTDI chipset, found the "Sabrent USB 2.0 TO SERIAL CABLE ADAPTER / USB A-MALE & SERIAL 9-PIN MALE"
 and after messing with the COM ports IT WORKED!!!
 
MPLAB IDE is set to COM1.  Tested at 19200, have not tried faster.  Control Panel / System / Device Manager / Ports / USB Serial Port / Port Settings  set to 19200/8/None/1/None.  Advanced Settings for COM1 set to COM1/4096/4096/16/0/0 and only Serial Enumerator checked.
#42
frpr
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2010/05/13 11:59:35
  • Location: 0
  • Status: offline
Re: Troubleshooting MPLAB ICD 2 Problems 2014/10/04 05:25:37 (permalink)
0
WIN XP; MPLAB v8.92; Debugger ICD2 grayed out; Programmer grayed out;
Hello,
I was using ICD2 without any problems for years and than after one year pause I have got a problem with the connection. The ICD2 is attached on USB port.
The ICD2 in MPLAB IDE menu is grayed out and unavailable. At the same time in windows manager everything seems normal. Device Manager|MicrochipTools|MPLAB ICD2 Firmware Client is present and with no errors.
 
I've tried two different ICD2 pods and three different PC with o.s. win. XP.
I noticed that on every PC the MPLAB crashed at the first time run (first after 1 year pause), then it runs without any problems except the ICD2 choice is grayed.
I think that win XP (after some automatic updates) blocks connection between the ICD2 pod and the MPLAB.
I wonder if someone has the same problem.
Thank you in advance.
Martin


#43
NKurzman
A Guy on the Net
  • Total Posts : 17719
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: Troubleshooting MPLAB ICD 2 Problems 2014/10/04 18:44:29 (permalink) ☄ Helpfulby frpr 2014/10/07 11:53:43
0
I assume you set up the connection to be ICD2 in the Programmer options.  If so:
 
Try connecting the ICD2 with a hardware serial Port to the PC (not USB to serail, and I know that maybe a tall order)
Then force a connect and an F/W update to the ICD2.
 
That was a fix back in the day.
#44
frpr
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2010/05/13 11:59:35
  • Location: 0
  • Status: offline
Re: Troubleshooting MPLAB ICD 2 Problems 2014/10/07 12:01:09 (permalink)
+1 (1)
@NKurzman: You've helped me a lot Sir. Problem is fixed. Smile: Smile Connecting with RS232 and automatic firmware upload was the key. USB communication works now. Many thanks...
#45
Page: < 123 Showing page 3 of 3
Jump to:
© 2019 APG vNext Commercial Version 4.5