Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 5th April 2006, 05:26 PM   (permalink)
New Member
clockdoctor is on a distinguished road
Default PCMCIA to RS232 for ICD2 clone

Hello,

I was wondering if anyone has managed to get an ICD2 clone (RS232 only) to work with a PCMCIA to RS232 converter. If so, which brand?

I've tried USB to RS232 converters and they don't work. MPLAB returns the error "Non-existant port", despite the port being listed in its own ICD2 connection settings menu. I think the problem might be the lack of an IRQ / IO address. HyperTerminal works over the USB to RS232 converter.

Thus far, I've only been able to use my ICD2 clone with the RS232 port on my desktop computer, but I'm eager to take it on the move with my laptop.

Thanks for any advice you can offer
clockdoctor is offline   Reply With Quote
Old 8th April 2006, 07:51 PM   (permalink)
New Member
fargonaz is on a distinguished road
Default

You'll need to go into the device manager (windows) and change the port settings of the usb/232 adapter. MPLAB will only accept the next unused serial port, I imagine in your case that would be com1. So you'll select com1 even if it says it's in use. Then unplug and plug back in, should be (windows should now assign com1 to the adapter every time you plug it in) recognized by MPLAB now.

Good luck!
__________________
Coyote has to eat, same as the worm
fargonaz is offline   Reply With Quote
Old 9th April 2006, 05:46 PM   (permalink)
New Member
clockdoctor is on a distinguished road
Default

Dear fargonaz,

Thanks for the tip. I never would have worked that out. I have yet to establish a connection to the ICD2, but MPLAB is now able to open the COM port and attempts communication. Major progress.

The problem might lie in the chipset in the USB to RS232 adaptor. It is SemiTech, which I have read elsewhere might be fraught with problems. I'll try and borrow another converter with a different chipset, or even buy a PCMCIA to RS232 adaptor. I'll let you know how I get on.

Thanks again for the advice. A major step towards a solution.
clockdoctor is offline   Reply With Quote
Old 9th April 2006, 05:57 PM   (permalink)
New Member
fargonaz is on a distinguished road
Default

What kind of errors does MPLAB give during the attempted connection?
__________________
Coyote has to eat, same as the worm
fargonaz is offline   Reply With Quote
Old 25th April 2006, 09:12 PM   (permalink)
New Member
clockdoctor is on a distinguished road
Default

Hello,

Sorry for the long delay in replying. MPLAB just sort of gave up trying to communicate with the ICD2 when using the USB to RS232 cable, although it was able to open the port. I forget the error number. Google revealed by adaptor used the SemiTech chipset, which is apparently not very good compared to the competition.

I bought a PCMCIA to RS232 converter on eBay (branded BBL) and it seems to work okay - but there wasn't any documentation with it and the driver doesn't use standard Windows settings, so anyone going down this route may require some basic knowledge of RS232.

Best regards,

CD
clockdoctor is offline   Reply With Quote
Old 7th April 2008, 09:43 PM   (permalink)
New Member
manzx is on a distinguished road
Default

Hi everyone,

I also face the same problem. I have a cloned ICD2 (with only RS232 connection) and my USB-to-Rs232 converter seems to have some problems.

It's from BAFO technology.

When I try to connect to ICD2, the MPLAB failed to download new OS. The warning is ICD0082.

Anyone face the same problem here?
manzx is offline   Reply With Quote
Old 7th April 2008, 10:09 PM   (permalink)
Experienced Member
 
Blog Entries: 4
blueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to behold
Send a message via Skype™ to blueroomelectronics
Default

Not all USB to RS232 adapters are created equal, the I/O networks units work perfectly but cost $$. Try locating different drivers, and also you must disable the FIFO buffers (and reboot)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 02:57 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.