+ Reply to Thread
Page 1 of 2
1 2 Last
Results 1 to 15 of 18

Thread: Help with ICD2 clone!!!!!!!!!!!!

  1. #1
    juanbbv Newbie
    Join Date
    Mar 2008
    Posts
    10

    Default Help with ICD2 clone!!!!!!!!!!!!

    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!!


  2. #2
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,711
    Blog Entries
    5

    Default

    Are you using a USB to RS232 adapter?
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  3. #3
    Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent
    Join Date
    Oct 2006
    Location
    Colombo
    Posts
    1,664
    Blog Entries
    1

    Default

    Quote Originally Posted by juanbbv
    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??)
    That will be one of your problem.You must program the PIC successfully without any verify failed errors.

    For the time being try this programmer to load your hex into 877.

    http://www.semis.demon.co.uk/uJDM/uJDMmain.htm

  4. #4
    Funny NYPD Okay
    Join Date
    Oct 2007
    Location
    USA
    Posts
    177

    Default

    If you still cannot solve the issue, you can try the junebug or a full PICkit2 on my site.
    Best wish,
    F.N.

  5. #5
    juanbbv Newbie
    Join Date
    Mar 2008
    Posts
    10

    Default

    Quote Originally Posted by blueroomelectronics
    Are you using a USB to RS232 adapter?
    I´m using RS232 adapter

  6. #6
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,711
    Blog Entries
    5

    Default

    Quote Originally Posted by juanbbv
    I´m using RS232 adapter
    Do you mean a USB to RS232 adapter?
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  7. #7
    juanbbv Newbie
    Join Date
    Mar 2008
    Posts
    10

    Default

    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.

  8. #8
    Krumlink Excellent Krumlink Excellent Krumlink Excellent Krumlink Excellent Krumlink Excellent
    Join Date
    Aug 2007
    Location
    Michigan, USA
    Posts
    2,093
    Blog Entries
    1

    Default

    Is it a usb to rs232 adapter? if so thats your problem.
    IF YOU WANT TO HELP FINE IF NOT PLEASE DON"T PEE IN MY CHEERO'S

  9. #9
    juanbbv Newbie
    Join Date
    Mar 2008
    Posts
    10

    Default

    Quote Originally Posted by blueroomelectronics
    Do you mean a USB to RS232 adapter?
    I´am conecting the pic to a max 232 chip. From it to the db9 cable to the PC in com1
    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.

  10. #10
    BronzeG3 Newbie
    Join Date
    Jan 2007
    Posts
    22

    Default

    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:31 AM.

  11. #11
    Krumlink Excellent Krumlink Excellent Krumlink Excellent Krumlink Excellent Krumlink Excellent
    Join Date
    Aug 2007
    Location
    Michigan, USA
    Posts
    2,093
    Blog Entries
    1

    Default

    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
    IF YOU WANT TO HELP FINE IF NOT PLEASE DON"T PEE IN MY CHEERO'S

  12. #12
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,711
    Blog Entries
    5

    Default

    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.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  13. #13
    Kryten Newbie
    Join Date
    Oct 2007
    Location
    Stavern, Norway
    Posts
    292

    Default

    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)
    The best is yet to come

    Good enough - its perfect !!

    2 Gig of free online backup space

    cq cq de LA3BNA

  14. #14
    juanbbv Newbie
    Join Date
    Mar 2008
    Posts
    10

    Default

    Quote Originally Posted by BronzeG3
    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.

    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:47 AM.

  15. #15
    juanbbv Newbie
    Join Date
    Mar 2008
    Posts
    10

    Default

    Quote Originally Posted by Krumlink
    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
    I would like, but i don´t have much money.In my country uss dollars are expensive, and the shipment is too. (maybe it will cost to me 100 dollars or more...)
    Thanks
    Last edited by juanbbv; 5th April 2008 at 02:14 AM.

+ Reply to Thread
Page 1 of 2
1 2 Last

Similar Threads

  1. ICD2 Clone and dsPIC
    By javilon in forum Micro Controllers
    Replies: 51
    Latest: 12th January 2009, 01:48 PM
  2. PCMCIA to RS232 for ICD2 clone
    By clockdoctor in forum Micro Controllers
    Replies: 6
    Latest: 7th April 2008, 10:10 PM
  3. ICD2 vs PICKit 2
    By noptical in forum Micro Controllers
    Replies: 26
    Latest: 22nd March 2008, 08:45 PM
  4. Olimex ICD2 Broken!
    By HerbertMunch in forum Micro Controllers
    Replies: 43
    Latest: 5th February 2008, 02:39 AM
  5. A great ICD2 problem
    By airtonsena in forum Micro Controllers
    Replies: 1
    Latest: 3rd February 2008, 02:20 PM

Tags for this Thread