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
Running ICD Self Test
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
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
ICD0286: Unable to communicate with ICD
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready
Downloading Operating System
manuel1139 said:Hi!
I had similar problems with my clone and did not succeed until I removed the "OS available" check from the 4550.
Here is the HEX from zedman? that I have modified to skip the OS test and jump to it.
Best Regards,
Manuel
lyxer said:maybe there are some problem ocur.
(1)I think you should debugger your PIC16F877A's code.
maybe the PIC16F877A have not work
(2) you must debug your serial port cable,the cable must be pin2,pin3 pin7,pin8 and pin5 work.may be your cable is only the pin2,pin3 and pin5 work
(3)you must have the correcte bootloader in your pic16f877a or pic16f877,and these two chips have not the same bootloader.
C8, is it 220 nF or 22 pF ???ech said:2- Insert new pics into icd ( no target device connected, 20MHZ crystal C8 = 220nf)
Here ICD2 means 16F877A and not 18F4550. Check that the 877A circuit is working properly .... oscillator, MCLR, VCC etc.... The 4550 is equivalent to the cypress chip and not the ICD2. 4550 is a bridge between USB and 877A just like the cypress chip.ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?
Thanksravimarcus said:C8, is it 220 nF or 22 pF ???ech said:2- Insert new pics into icd ( no target device connected, 20MHZ crystal C8 = 220nf)
Here ICD2 means 16F877A and not 18F4550. Check that the 877A circuit is working properly .... oscillator, MCLR, VCC etc.... The 4550 is equivalent to the cypress chip and not the ICD2. 4550 is a bridge between USB and 877A just like the cypress chip.ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?
Cheers
Ravi
manuel1139 said:I would say you have an issue with the communication between 4550 and 877 then... are you able to add the parts for the serial type of programmer? Should only be a max232 + 5,1zener. Then you can test the 877 part of the circuit. About the 4550 I would say it is reprogrammed by MPLAB and then restart of the 4550 with OS and communication to 877 failed...
Best Regards,
Manuel
polymath said:I know this will be obvious and known to many but
have you got the correct Windows deriver installed?
I have run my Cypress ICD2 clone WITHOUT the 877A
USB Enumeration completes OK -- monitored by SniffUSB Version 1.7
MPLAB 7.40 returns:
...............................
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
...............................
showing a Cypress(4550)<-->877A fault and NOT a USB fault
Your error reports show a 4550<-->Windows comms failure
Windows will recognise ICD2-USB using its default driver but MPLAB
via Windows will not.
The ICD2 will ONLY work with the Microchip USB driver
It will NOT work with the default Windows USB driver
Microchip provide full details on installing ICD2 driver
For clarity:
Target <--(ICSP)--> 877A <--(Mchip parallel)--> 4550(Cypress) <--(USB)-->
PCHardware <--(MchipUSBDriver)--> Windows <--(Dlls etc.)--> MPLAB
hope this helps Polymath
polymath said:ech
it appears that you have got Microchip's driver installed.
I have just programmed a 4550 with OS from other thread - credit to all who
contributed to the reverse engineering.
reset my 4550 - plugged in USB - enumerated correctly
(faster than Cypress - no Loader)
opened MPLAB selected ICD2 Programmer
MPLAB responds:
..................................
Connecting to MPLAB ICD 2
ICD0289: Unable to re-program ICD2 USB OS firmware.
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
.................................
obviously MPLAB cannot reprogram my 877A which does not exist.
--------------
seems that your problem is USB on the 4550
can you remove your 877A and check that your 4550 enumerates OK
with above MPLAB response?
hope this helps Polymath
polymath said:I notice that both the PIC16F877 and the PIC16F877A are mentioned in this thread.
the 877 is nolonger listed by Microchip and is superceded by the 877A
the bootloader code is different for each device - refer to original thread
the 877A is a lot faster to re-programme as it writes 8 words at a time
(the silicon is also a lot faster - 877 fails at ~28MHz - 877A runs well at 40MHz)
this speed difference is a great advantage when using the 877A as a target device - (from experience)
- my best advice is to use an 877A in the ICD2 and 877A as a target device
... if you have spare 877s then develop code on 877A target and use the final code in an 877 application.
Remember the silicon differences between the two devices - see:
https://ww1.microchip.com/downloads/en/DeviceDoc/39591a.pdf
or
https://www.microchip.com/downloads/en/DeviceDoc/39591a.pdf
regards Polymath
selimt said:HI Ech
finaly i get a woekink icd with this files try it .the target is 16f873
Auto-connect not enabled - Not connecting (Try enabling auto-connect on the ICD2 settings pages.)
Connecting to MPLAB ICD 2
ICDWarn0059: About to re-program ICD2 USB Boot firmware code. Please do NOT disconnect the ICD2 or interrupt this operation!
...Connected
ICDWarn0031: MPLAB ICD 2 contains the incorrect operating system for the selected device. Would you like to download the correct operating system?
ICDWarn0030: MPLAB ICD2 is about to download a new operating system. If MPLAB IDE is just starting, it will appear to "hang" at the splash screen. Please be patient. MPLAB IDE will finish it's intialization after the OS is downloaded. (Note: You may wish to select to ignore this warning in the future.)
Downloading Operating System
ICDWarn0059: About to re-program ICD2 USB Boot firmware code. Please do NOT disconnect the ICD2 or interrupt this operation!
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?