Short version of help for the ICD2

Status
Not open for further replies.
Test your Inchworm+ with a more basic PIC like the 16F628A as it only requires 5 connections, sounds like you have not connected all the GND & VDD pins on your dsPIC.
 


Hi ScratchBuild,

You said that there are three firmwares for the 4550. But I only find two version of bootload for 4550. One is ICD2_18F4550_boot.hex. Another one is ICD2_18F4550_boot_Mclr_dis.hex. Could you kindly advise if both of them can fix the firmware overwrite promble? Thanks!
 

I'm wondering why in the PICS ICD2 schematics PIC18F4550 MCLR is hanging and has no RC network. Any thoughts on this?
 

Hi guys,

First, sorry for my english whitch could be a pain...

I've built potyo v2 PCB, I use 16F877A & 18F4550 with the firmwares posted at the top of the topic.

I've tried the 2 versions of firmwares for 18F4550 (with and without MCLR), but since I have a resistor between Vcc and MCMR, it should be (and it is) equivalent.

My Vpp is working (11.3V), LED 6 is ON but all others leds off.

MCLR=5V on each PIC.


20MHz cristal is working on 18F, and signal goes from 18F to 16F perfectly (verified with scope).

WinXP recognize the USB devices, driver installation is done

But, when I launch mplab (8.10) and try to connect to potyo2, I get :

ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready

note that debug\download OS is unavailable.

Please help me, I don't now what to do. I'm debuging since a couple of hours, my card seems to be ok, I can't locate where is the problem.

Could the problem be between 18F and 16F, or only in 18F ?

Thank you so much !

PS : I also added 100nF capacitors on 16F & 18F supplies pins.
 

Yes !

I've replaced the 2 PIC by new ones : it's working ! I don't know what happened with the others PIC.

It's working (prog & debug) :
- PIC18F4550 @ 5V
- PIC24FJ48GA004 @ 5V
- dsPIC30F2010 @ 2.0V, 3.3V, 5V

I use MPLAB 8.10.



I'm going to route a SMD version of potyo v2 PCB and build 4-5 cards
I will place a document about it (listing of links, SMD-routing, maybe CAD design files - eagle) on the web, before 2009... I will post the link in this topic.

Thanks to potyo, and all the others ! Very good job !
 

Hi All,

Thanks ---. I have solved the problem. The Pics ICD2 clone is working now. A million thanks to Pics and all.


Hi Potyo,

I built ur ICD2 clone (the latest version) as well. The only different with ur schematic diagram is i'm using 180uH instead of 170uH. The inductor type i used is looked like a resistor.

Now I'm facing a problem where everytime plug in the usb connector, the USB LED will blink. Therefore, i decided to add a reset button follow by a 68ohm resistor to pin 1 at PIC18F4550 by referring to Potyo2 version.

After that, the USB LED will stop blinking after i press the reset button. Then the ICD2 will work as normal.

Can you tell me how to solve this problem? Will it caused by the inductor? Can anyone tell me how to solve it?

Thanks in advance.
 

hi all, i'm making ICD2 clone using PiCs design. Where can i get the EAGLE schematic and pcb layout?
 

Did someone notice that potyo2-rev2 use a 74HC4066 powered by Vpp (~11-12.5V), (instead of CD4066 powered by 5V in rev1), and that 74HC4066 must be powered with a Vcc <= 10V ?
 

Yes. That has been discussed. It may not have been on this thread. I think the general consensus was to replace it with a CD4066. A slower part, but fast enough and it can handle up to 15v.

Added after 3 minutes:

mz_fadhli said:
hi all, i'm making ICD2 clone using PiCs design. Where can i get the EAGLE schematic and pcb layout?

Go to this link: http://icd2clone.com/wiki/Main_Page

Good luck!
 

I haven't rev C but i have rev B schematics-pcb. I made the clone (Eagle) and it works perfectly.



You can have firmwares and notes for configuring it here:



Here you can find an example to use the ICD2 clone debugger:



And finally... (i found it in the main thread but i don't remember who was the author):

#Important tips NOT implemented in the previous board.
(I think you could add them to the board to avoid further problems although the board works as it is).



General advises:


I hope it's enough
bye
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…