![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | Thread Tools | Display Modes |
| | (permalink) |
| New Member | Hi guys!!! I need your help because I’ve been trying to make my icd2 form Lothar Soltz web work, but I’ve failed. It seems to be annoyed with me!!!! I revised the circuit many times but I didn’t found any problems with it. I’m using PIC 16F877 and I loaded the file BL01010101.hex form the Mplab into it. As a target pic I’ve been using the pic 16F88 When I try to connect the ic2 to mplab, it always gives me errors, for example: Connecting to MPLAB ICD 2 ...Connected ICD0082: Failed MPLAB ICD 2 operation MPLAB ICD 2 Ready Connecting to MPLAB ICD 2 ...Connected ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect? Connecting to MPLAB ICD 2 ...Connected ICD0286: Unable to communicate with ICD ICD0082: Failed MPLAB ICD 2 operation MPLAB ICD 2 Ready Connecting to MPLAB ICD 2 ...Connected ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect? Connecting to MPLAB ICD 2 ...Connected ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect? ICD0286: Unable to communicate with ICD ICD0082: Failed MPLAB ICD 2 operation MPLAB ICD 2 Ready I’ve taken all the special cares, like disabling the FIFO buffers, using the correct com port with 19200 baud rate. I’ve even test the cable and the rs232 chip by making a loopback test but it always work fine. Then I tried to rewrite the pic 16f877 but using Low voltage Programming and something strange happened. Icprog gave me and advice that there was a error in writing address 0000f. (Could be it the wrong thing that doesn’t let my icd2 work??) I didn’t pay attention to it and tried again but it didn’t work. (I made the correction to the circuit putting a 10k pulldown resistor in PGM after using lvp) Many times I measured the Vpp voltage when I was trying to connect the icd2 to mplab and it always was in 0v, is this ok? I Know my post is not short, but I’m trying to describe you all the things. I really need the icd2. I hope that someone of you help me, I will appreciate any kind of help thanks!! |
| | |
| | (permalink) |
| Experienced Member | Are you using a USB to RS232 adapter? |
| | |
| | (permalink) | |
| Experienced Member | Quote:
For the time being try this programmer to load your hex into 877. http://www.semis.demon.co.uk/uJDM/uJDMmain.htm
__________________ Gayan Forum Supporter | |
| | |
| | (permalink) |
| Experienced Member | If you still cannot solve the issue, you can try the junebug or a full PICkit2 on my site. Best wish,
__________________ Funny N., Au Group Electronics, USA, www.AuElectronics.com |
| | |
| | (permalink) | |
| New Member | Quote:
| |
| | |
| | (permalink) | |
| Experienced Member | Quote:
| |
| | |
| | (permalink) |
| New Member | Guys, I ve tried to download again the file bl010101.hex with the uJDM programmer and something uncommon happened, i couldn´t download the file into the pic, i dont know why... is something like the bootloader isn´t the correct to the PIC16f877, but i´ve taken it form the file Mplab/ICD2/Bl01010101.hex like all the explanations says.(i tried to write the pic with another program and it worked fine) Another thing is that my cable to connect the icd2 to the PC (rs232 cable) is 1.5 meter lenght, is it too long? i´ve read that in some cases the length could be a problem... I am in a big big problem!!! please help!! Last edited by juanbbv; 4th April 2008 at 02:10 AM. |
| | |
| | (permalink) |
| Moderator | Is it a usb to rs232 adapter? if so thats your problem. |
| | |
| | (permalink) | |
| New Member | Quote:
Sorry, maybe i did not explain very well. English is my second language. Thanks Last edited by juanbbv; 4th April 2008 at 02:10 AM. | |
| | |
| | (permalink) |
| New Member | I've made an ICD clone from his page, but used a 876a, so I'm not sure this will help. To get it working on my computer, I had to enable the FIFO buffers, but set them both to low (1). With them completely disabled, I was having communication errors. Last edited by BronzeG3; 4th April 2008 at 03:30 AM. |
| | |
| | (permalink) |
| Moderator | hmmmm Would you be able to purchase a inchwom+ from Canada? Its definately worth it, at only 45$, get one. No substitution. http://www.blueroomelectronics.com/inchwormplus.htm |
| | |
| | (permalink) |
| Experienced Member | That's a fix I've heard before, setting the fifo to 1 might work. Make sure you've got a 16F877 as the 16F877A uses different firmware. The length of the RS232 cable can be long, 2m is common. If the MAX232 isn't hot it's fine. Also it should be COM1 or COM2. |
| | |
| | (permalink) |
| Experienced Member | So the clones wont work with a USB to RS232 ?? I was kind of hoping for that (but i guess i can make it to work with USB direct see www.stolz.de.be)
__________________ Simplicity rules Good enought - its perfect ?? 2 Gig of free online backup space Are you a Chemist? |
| | |
| | (permalink) | |
| New Member | Quote:
Thanks i´m going to try your solution, maybe it works! But before this I have to solve the problem of writing the pic 16f877 with the file Bl010101.hex becouse i always have errors independentely of the programmer I use... I don´t now why... All the sites I´ve readed says that this is the correct file for this pic16f877 and PIC16F876 (there isn´t disponibility for the last here in my country) The error is always related o address 0000f, is like the file is not compatible with the pic... help!!!! Last edited by juanbbv; 5th April 2008 at 01:46 AM. | |
| | |
| | (permalink) | |
| New Member | Quote:
Thanks Last edited by juanbbv; 5th April 2008 at 02:14 AM. | |
| | |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Latest |
| ICD2 Clone and dsPIC | javilon | Micro Controllers | 46 | 11th June 2008 02:48 AM |
| PCMCIA to RS232 for ICD2 clone | clockdoctor | Micro Controllers | 6 | 7th April 2008 10:09 PM |
| ICD2 vs PICKit 2 | noptical | Micro Controllers | 26 | 22nd March 2008 08:45 PM |
| Olimex ICD2 Broken! | HerbertMunch | Micro Controllers | 43 | 5th February 2008 02:39 AM |
| A great ICD2 problem | airtonsena | Micro Controllers | 1 | 3rd February 2008 02:19 PM |