Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Microchip ICD2 clone, won`t work?

Status
Not open for further replies.

elektryk

Advanced Member level 4
Joined
Apr 25, 2002
Messages
112
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
POLAND
Activity points
961
icd0082: failed mplab icd 2 operation

I have build ICD2 from diagrams by Lothar Stolz. Some of people wrote at his website it is working, but some of them stucked in same problem like me. MPLAB connects with ICD2 but cant communicate. I have build two version, have used A and nonA microcontroler with diffrent bootloaders from diffrent sources. I have changed few max232, uses 20MHz generator for change of 20MHz quartz oscilator, with no effect. Can anybody suggest solution? Mayby I have missed something critical.

After connecting:
Connecting to MPLAB ICD 2
...Connected
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready

During OS update:
Downloading Operating System
ICD0152: Failed to read all of requested bytes (0x0 of 0x8)
...Download Operating System Failed
ICD0152: Failed to read all of requested bytes (0x0 of 0x2)
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready
 

failed to read all of requested bytes

.
Read "MPLAB ICD2 Help".

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  • Serial Communications

    Make sure the power supply is connected and the Power LED on the MPLAB ICD 2 module is on.
    There may be a driver-hardware incompatibility; try changing Flow Control to Hardware and/or turning off the FIFO for the serial port.

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  • Changing Serial Port Settings


    Complete the following steps to change the Flow Control and FIFO settings for a serial communications port on a PC running the Windows operating system.


    Windows 98/ME

    On your PC, select Start>Settings>Control Panel.
    In the Control Panel, double-click the System Icon.
    In the Systems Properties dialog, click the Device Manager tab.
    If necessary, expand the Ports selection by clicking the "+" sign next to it.
    Double-click the I/O port to which the MPLAB ICD 2 is connected.
    In the Flow Control field, select Hardware.
    Click the Advanced button, deselect the "Use FIFO" box, and click OK.
    Reboot the PC to implement the change.

    Windows NT

    Note: You may need administrator privileges on your computer to change these settings.


    On your PC, select Start>Settings>Control Panel.
    In the Control Panel, double-click the Ports Icon.
    Double-click the I/O port to which the MPLAB ICD 2 is connected.
    Select the "Port Settings" tab.
    In the Flow Control field, select Hardware.
    Click the Advanced button, deselect the "Use FIFO" box, and click OK.
    Reboot the PC to implement the change.

    Windows 2000/XP

    Note: You may need administrator privileges on your computer to change these settings.


    On your PC, select Start>Settings>Control Panel.
    In the Control Panel, double-click the System Icon.
    In the Systems Properties dialog, click the Hardware tab and click the Device Manager button.
    Double-click "Ports (COM & LPT)" to expand the Ports selection.
    Double-click the I/O port to which the MPLAB ICD 2 is connected.
    Select the "Port Settings" tab.
    In the Flow Control field, select Hardware.
    Click the Advanced button, deselect the "Use FIFO" box, and click OK.
    Reboot the PC to implement the change.
 

    elektryk

    Points: 2
    Helpful Answer Positive Rating
icd2 operating system

Done, long time ago.
 

icd0152

replace your MAXRS232 -


diode or transitor try to analized the voltage & current before going into compilations

cyrix-cracker
 

    elektryk

    Points: 2
    Helpful Answer Positive Rating
icd 2 failed to read

I have this problem too.
MotherBoard: Gigabyte's GA-6VTXE Rev1.1, VIA ChipSet.
Win98SE.

I spend 3 days for researchin'. :(

And... i solve this problem by inserting ISA MultiCard (yeah! ooooldye ISA), and disable motherboard's integrated COM1.

Now, ICD2 downloadin' OS correctly.
 

failed to read all of requested bytes icd2

Without reason, it began to work!!!!, solution still unknown.
 

icd0082

Try another ICD2 CLONE by google , msn , yahoo with key word "icd2 clone"

There are lot of icd2 clone project in the internet but I like ICD2 by Lothar Stolz.
 

icd2 unknown

I got almost a similar problem w/ elektryk. Here are the messages that MPLAB displayed:

Connecting to MPLAB ICD 2
...Connected
Downloading Operating System
ICD0191; Unable to perform operation as hardware memories are locked. Try later.
...Download Operating System Failed
Setting Vdd source to target
ICD0152; Failed to read all of requested bytes (0x1 of 0x8)
ICD0082; Failed MPLAB ICD 2 operation
...Reading ICD Product ID
ICD0024; Failed to write to Com Port (<Unknown>) (MPLABCOM = 0x0) (USBCOM = 0x0) (0x461)
ICD0082; Failed MPLAB ICD 2 operation
Running ICD Self Test
ICD0082; Failed MPLAB ICD 2 operation
...Download Operating System Succeeded
ICD0024; Failed to write to Com Port (<Unknown>) (MPLABCOM = 0x0) (USBCOM = 0x0) (0x461)
ICD0082; Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready

I have checked the circuit connections often and have detected no mistake. These error messages appeared even if i had connected the target processor to the icd2.

Can anyone help me? Is the serial port the culprit? I have tried it on 2 PCs and both have same serial port built into the motherboard.

Thanks!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top