| Author |
Message |
ravimarcus
Joined: 09 May 2005 Posts: 204 Helped: 19 Location: Bangalore, INDIA
|
26 May 2006 17:11 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
manuel1139,
Like Namqn mentioned there is information in this topic.
I can give you a solution this instant but I will not. I have students coming for training on PICmicro. I do not provide solutions, I let them think and use their resources. That way they will learn and be able to do things on their own. You too will thank me for this. "Rome was not built in a day". I am harsh, but I am pratical.
Cheers
Ravi
|
|
| Back to top |
|
 |
Andy_123
Joined: 11 Apr 2005 Posts: 76
|
26 May 2006 18:25 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
I agree with Ravi,
This topic has all info you need to build ICD2: schematics, USB boot and 877A firmware.
I strated reading when topic was over 12 pages and I was able to find all info here.
People here made great job analyzing and adopting FW.
Excellent job.
I am planning to design board to fit in a small box exactly same as we used for FTDI version.
See here :http://www.edaboard.com/ftopic97955-0-asc-120.html
It will be SMD for ICs (TQFP) and hole-through for all other components - best for the home-made devices.
I may order factory boards if people interested.
|
|
| Back to top |
|
 |
jptg
Joined: 27 May 2006 Posts: 1
|
27 May 2006 20:43 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Hello,
very good job in only 1 month,
I am very impressed about what have been done,
It took 3 hours to me to read all your post
I will try to make my own ICD2 USB.
|
|
| Back to top |
|
 |
wizpic
Joined: 23 May 2004 Posts: 380 Helped: 26
|
27 May 2006 20:43 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Here is my version of the ICD2 clone I've only drawn the schematic so far and just started to transfer very thing over to th PCB,
Could some one have a quick check for me as i have joined 2 together and poniters or improvements welcome
cheers
wizpic
|
|
| Back to top |
|
 |
potyo
Joined: 16 Apr 2006 Posts: 181 Helped: 10 Location: Ada, Vajdaság
|
27 May 2006 20:54 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| wizpic wrote: |
Here is my version of the ICD2 clone I've only drawn the schematic so far and just started to transfer very thing over to th PCB,
Could some one have a quick check for me as i have joined 2 together and poniters or improvements welcome |
I think, using ext. vpp source is not a good idea, but works, so this is your choice. I suggest u placing R16 after the voltage divider, and R17 should be 6k8(not 8k8).
|
|
| Back to top |
|
 |
manuel1139
Joined: 16 Apr 2006 Posts: 33 Helped: 3
|
27 May 2006 22:17 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
You are all right - Its been a long time that I read that 4550 datasheet - However my first test with driving the core with 20MHZ failed. But will need some more testing here.
I also want to provide you the work I have done so far and put my testboard built in eagle on this board.
Its not yet finished but will others allow not to start from scratch over and over again...
Best Reagard,
Added after 3 minutes:
sorry, forgot the attachment... here it is
|
|
| Back to top |
|
 |
potyo
Joined: 16 Apr 2006 Posts: 181 Helped: 10 Location: Ada, Vajdaság
|
28 May 2006 1:19 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
At last i have finished my board. Have added 2 jumpers to change the vpp voltage. I hope, the building will start on the next weekend.
Attachment removed. You can find the latest schematic and pcb here: http://www.edaboard.com/viewtopic.php?p=690966#690966
Last edited by potyo on 20 Sep 2006 1:11; edited 2 times in total |
|
| Back to top |
|
 |
ZerroCode
Joined: 27 Mar 2006 Posts: 4
|
28 May 2006 12:50 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Can somebody atach the entire project ???
- right schematic (becouse i see too many schematic and i dont know witch one to build)
- pcb (Eagle or Protel)
- right hex for 18F4550 and 16F877
Thanks in advance ....
|
|
| Back to top |
|
 |
fms
Joined: 13 Mar 2005 Posts: 46 Helped: 2
|
28 May 2006 18:23 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
zerrocode, i guess it's better for u to start off reading now before u get f@%# @* here.. ok? most ppl read the 13 pages here. most of it is already gathered. u can EASILY find them yet u r still requesting to make life much EASIER. We r already leeching. Plss do ur homework. PPl who has worked hard here will get p!$$*d off if u dont. PLS READ b4 posting. sorry if i sound rude.
Anyway, to those who worked hard, Thanks for the great job. Really appreciate it.
Take Care ya alll...
|
|
| Back to top |
|
 |
ZerroCode
Joined: 27 Mar 2006 Posts: 4
|
28 May 2006 19:57 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
@fms ... belive me .. i read all posts from page 1 to 14 and i save all information , schematics and hex atached here ....
I appreciate hard work of people from here ... i allways apreciate their works
I dont want to make my life EASIER ... but i dont want to give my money on my window ... if i have a schematic (and the people who make this schematic say it's a working one) i make a pcb (its not a homemade pcb ... i give money on a company to make this pcb) ...
i hope you understand my reason for asking an entire project .... i make this asking probably for other people who will see this thread and they want to make an USB ICD2... for me is enough to tell me what shematic is working.
And Finaly ... i dont think somebody will be angry if one man collect all the information from this thread and put together.
I dont want to angry somebody with my words ... please excuse me!!!
|
|
| Back to top |
|
 |
manuel1139
Joined: 16 Apr 2006 Posts: 33 Helped: 3
|
28 May 2006 22:36 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Zerocode,
the most schematics I have seen in this thread are ok... however different goals have been met in this schematics - so it depends on your requirement which one you choose.
If you are willing to spent money without spending too much effort I would suggest you go and buy a ICD2.
If you are willing to spend less to none money take one of the schematics/PCBs in this thread and decide on which components you already have available and how your ICD should work (i.e. you must not have the target drivers if your ICP cable is less than 10cm.
Also you don't need the SPI pot for most of the general PICs and if you don't mind about using an external PSU you can also leave out the charge pump to pump the 5VUSB to 12V Vpp.
Last but not least - the software is still missing the first 128 bytes as they have not been made avialable to the public. So there might be issues...
Best Regards,
Manuel
|
|
| Back to top |
|
 |
Andy_123
Joined: 11 Apr 2005 Posts: 76
|
28 May 2006 22:37 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
ZerroCode
You will not see a "final" silver bullet solution here.
All you see here are clones.
As clone will never be exactly the same as the original, you will never see a final version.
It is a work in progress and just show a great appriciation to the people who started this thread.
People trying different approaches to archive different goals.
They using different ideas based on the components they have handy and the form factor they trying use.
Look through the thread, search google for ICD clone, pick ideas and make your own.
As I can confirm, this thread has all info necessary to build ICD2 clone with multiple variations of target control and Vpp voltage source.
For people who like small form factor, I am almost done with simplified version using
TQFP ICs, hole through components on SINGLE SIDED board 2.9" x1.3" (75x33mm).
So far it has only 7 air wires and it may have one more if I add target Vdd control. It will look like this:
|
|
| Back to top |
|
 |
Gobol
Joined: 29 Sep 2005 Posts: 37 Location: PL
|
28 May 2006 23:01 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
For those people who asking for the complete project : Here is all you need... If you don't know how to complete the project with the information gathered on this topic, you probably will have a serious problems making it from the pcb & sch files.
You should be in touch with PIC's to successfully complete this programmer.
I've used schematic with 74125,74126, pic10F200 charge pump for Vpp. I've placed it on one schematic, spend few hours routing the double-sided pcb and used my old icd2-rs232 to program 4550 with icd24550_ntwp and 877A with the bootloader provided on this topic.
There is no problem with first 128 bytes of 4550 bootloader, because these bytes are in mentioned file (*_ntwp).
Greetz.
|
|
| Back to top |
|
 |
Andy_123
Joined: 11 Apr 2005 Posts: 76
|
28 May 2006 23:08 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Here is a preliminary board layout
|
|
| Back to top |
|
 |
hcker2000
Joined: 16 May 2005 Posts: 7
|
29 May 2006 9:03 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| Brem wrote: |
I agree with Soad85 about the single chip ICD. It allows a very simple hardware design, and developing the software is fun. I dont care to much about the firmware updates. When it works for a chip, it works. If it doesn't i'll dive into the prog specs and a disassemled firmware, and make it work.
Here's a picture of my latest attempt. It's basicly PICKIT hardware with ICD emulating software. It can use the ICD USB driver (thx to this thread), or RS232 using a virtual com port driver. This way you can have multiple USB ICD's on your PC, but maybe that's only usefull when developing a programmer. |
Ok so I'v read threw alot of this forum and there is a ton of info here.
I'm wondering if a single chip icd2 clone exists (for ease of assembly). If so what chip is used? If its surface mount is there a dil of the same chip? Also what code is used on it?
Sory if this information is in this thread. There is just so much info a figured I would ask some specific questions as it seems like there are alot of icd2 clones being designed all in this one thread.
|
|
| Back to top |
|
 |
Gobol
Joined: 29 Sep 2005 Posts: 37 Location: PL
|
29 May 2006 17:02 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
One question to those who completed the task:
Are the 877 & 4550 (TQFP versions) getting warm during operation (even idle) ?
Warm - I mean about 40-50*C.
Thanks
|
|
| Back to top |
|
 |
Zedman
Joined: 13 Oct 2003 Posts: 312 Helped: 2 Location: Hungary
|
29 May 2006 19:16 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| Gobol, they should not get warm, somethings wrong there... (a dsPIC @30mips can get warm, but a 4550 @20MHz not.)
|
|
| Back to top |
|
 |
Andy_123
Joined: 11 Apr 2005 Posts: 76
|
29 May 2006 19:38 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| Quote: |
| Are the 877 & 4550 (TQFP versions) getting warm during operation (even idle) ? Warm - I mean about 40-50*C. |
No, they should not. Check to make sure you have enough decoupling capacitors on all power lines
|
|
| Back to top |
|
 |
Zedman
Joined: 13 Oct 2003 Posts: 312 Helped: 2 Location: Hungary
|
30 May 2006 14:14 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
hcker2000,
Brem has developed a single chip ICD2, but for specific chips only, because he had to rewrite the code for a 2250.
(Brem correct me if Iam wrong)
|
|
| Back to top |
|
 |
wizpic
Joined: 23 May 2004 Posts: 380 Helped: 26
|
31 May 2006 0:55 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Well here is my vesrion of the icd2 clone, the pcb is fully checked against my schematic but this version is uncheck as a working version but there is no reason why it should not work i have used Lothers ICD2 clone and replaced the FT232 chip with this design from here using the pic18f4550, the only think that i have got to go over is the resistor vaules, the voltage booster i got from rapid electronics and it should be fom RS components to,
I plan to build it over the next few days, just got to await PIC18F4550 beast then i'm fully rock and rolling,
any comments/improvements welcome
regards
wizpic
|
|
| Back to top |
|
 |
hcker2000
Joined: 16 May 2005 Posts: 7
|
31 May 2006 4:27 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Any idea what chips the single chip ICD2 clone works with?
I'm hoping to build some thing that will suport a good bunch of pics and some dsPics.
I don't have to have the debuging but unless some one knows a super simple USB programer to build.
|
|
| Back to top |
|
 |
wizpic
Joined: 23 May 2004 Posts: 380 Helped: 26
|
31 May 2006 10:17 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
hacker read all threads on this subject and also read the icd2 on microchip web site and you will get to understand what it will program and what it won't
I learnt the hard i tried to cheat and be checky but has people say you will not have it handed to you ona plate so i decided to study the thread and hopefully have built one from all the info on here the next few days i shall find out
wizpic
|
|
| Back to top |
|
 |
hcker2000
Joined: 16 May 2005 Posts: 7
|
31 May 2006 10:39 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
I'v read threw alot of the data. Have not had a chance to check out alot of the board layouts and such sence I'm on 56k at work.
I'm many hoping to gather more info about the Single Chip ICD2 clone. If it programs all the pics that the normal ICD2 then that would be a sweet solution.
|
|
| Back to top |
|
 |
predrage
Joined: 23 Jul 2005 Posts: 132 Helped: 5
|
31 May 2006 11:25 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| hcker2000 wrote: |
I'v read threw alot of the data. Have not had a chance to check out alot of the board layouts and such sence I'm on 56k at work.
|
Just to let you know I'm on 14k.
|
|
| Back to top |
|
 |
Gobol
Joined: 29 Sep 2005 Posts: 37 Location: PL
|
31 May 2006 14:35 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| hcker2000 wrote: |
I'm many hoping to gather more info about the Single Chip ICD2 clone. If it programs all the pics that the normal ICD2 then that would be a sweet solution. |
It is rather not worth playing in... It isn't very expensive to create ICD-2 with both 877 & 4550. It's even time-cheaper, because you don't need to create by yourself new firmware which will support any PIC. (It is hard to do, because of MPLAB protocol & programming protocol which is different for almost all PIC family.)
|
|
| Back to top |
|
 |
PiCS
Joined: 16 Dec 2002 Posts: 31 Helped: 2 Location: romania
|
31 May 2006 16:57 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
icd2 with Pic16F877a+Pic18F4550+Firmware work ok
Thanks for all
|
|
| Back to top |
|
 |
martinisonline
Joined: 24 Apr 2005 Posts: 48 Location: Portugal
|
31 May 2006 18:23 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Nice work PICs.
I think that in the files is missing the information about the credits of the firmware.
I believe some users in this forum worked very hard to get the firmware working, so a txt in the archive given the proper credits will be nice.
my 2 cents with my bad english....
|
|
| Back to top |
|
 |
Chamera
Joined: 09 May 2006 Posts: 6
|
01 Jun 2006 16:12 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Nice work!
Being stuck with a proper PicStrart and not being able to program about half the PICs I want, and having to remove the ones I can for every change, a clone ICD2 sounds like heaven.
Is it possible to replace the 18F4550 with a 18F2550 (fewer pins) or a 18F4455 (12kbytes less program memory) without any change in the sourcecode?
|
|
| Back to top |
|
 |
Google AdSense

|
01 Jun 2006 16:12 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
Gobol
Joined: 29 Sep 2005 Posts: 37 Location: PL
|
01 Jun 2006 16:38 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| Chamera wrote: |
Nice work!
Being stuck with a proper PicStrart and not being able to program about half the PICs I want, and having to remove the ones I can for every change, a clone ICD2 sounds like heaven.
Is it possible to replace the 18F4550 with a 18F2550 (fewer pins) or a 18F4455 (12kbytes less program memory) without any change in the sourcecode? |
There is no possibility changing 4550 to 2550 because 2550 hasn't SPP (streaming parallel port) which is in use as a comm channel to 877. 18F4455 - is there no difference in pins count to 4550, so why don't 4550 which will be 100% suitable.
|
|
| Back to top |
|
 |
Chamera
Joined: 09 May 2006 Posts: 6
|
01 Jun 2006 16:55 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
If people can be difficult, they will be
I'm in the ZA and the M-chip Freebees (samples) can sometimes take months to arrive. At the moment there is no stock available, whatsoever, on the 4550 anywhere in this country. Thay do have 2550 and 4455 in stock....
|
|
| Back to top |
|
 |