Rules | Recent posts | topic RSS | Search | Register  | Log in

Project to replace CY7C64613 in the ICD2


Goto page Previous  1, 2, 3 ... , 60, 61, 62  Next
Jump to page:
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Project to replace CY7C64613 in the ICD2
Author Message
IchKG



Joined: 01 Feb 2009
Posts: 3


Post24 Feb 2009 21:45   

Re: Project to replace CY7C64613 in the ICD2


where do you buy your components?
for example:
www.farnell.com
http://export.farnell.com/jsp/search/browse.jsp;jsessionid=OZ3VEWXUQYETKCQLCISZKBQ?N=1000291+294294+459175&_requestid=321859

mfG
IchKG
Back to top
KXLU



Joined: 21 Mar 2007
Posts: 8


Post25 Feb 2009 12:15   

Re: Project to replace CY7C64613 in the ICD2


Thanks.I soldered 0.47ohm resistor and now i have in status:
Target Vdd:pass
Module Vpp:pass
MCLR Gnd:pass
MCLR Vdd:low
MCLR Vpp:pass

in power:
Target Vdd:2.62
Target Vpp:11.42
MPLAB ICD2 Vpp:11.82

Invalid target device id (expected=0x21, read=0x0)
error comes

Added after 8 minutes:

what part of programmer i need to check for errors?

Added after 2 hours 23 minutes:

As i understand MCLR signal can be 0 +5 +12V.MPLAB performs Self-test to check is it possible to set MCLR line to theese tree signals.In my case MCLR Vdd :low,it means that MCLR line can't be set to +5V.

Now I'm trying to understand how ICD2 v2 clone works.MC34063 is a transformer which can generate +5,+12,+0V.MCP41010 is a digital potentiometer which is conducted by 16F877.Depending on the DPOT1 level MC34063 will generate +5,+12, +0V.
Am I right?
Back to top
KXLU



Joined: 21 Mar 2007
Posts: 8


Post25 Feb 2009 22:15   

Re: Project to replace CY7C64613 in the ICD2


I selected dspic30f2010 and everything works fine,although in status I have MCLR Vdd:low.Also in power checkbox "Power taget circuit from MPLAB ICD2" is grayed.It is written that it is a tool setting not a project setting.What does this mean?
Back to top
crazyduck



Joined: 03 Sep 2001
Posts: 278
Helped: 5
Location: France


Post26 Feb 2009 0:02   

Re: Project to replace CY7C64613 in the ICD2


hi,
you can force power mode in icd2.ini file.
I've the same problem, I've modify this file, and it works. If you change target, with another OS, you must redo this manipulation.
The original icd2 must have external power with dspic.
CD:D
Back to top
ARMAN_23



Joined: 23 Feb 2009
Posts: 2


Post26 Feb 2009 14:46   

Project to replace CY7C64613 in the ICD2


I AM NEW IN THE FORUM AND I DO NOT SPEAK WELL ENGLISH PODRIAN PLEASE TO SAY TO ME THAT MODEL I CAN UNLOAD OF THE ICD2 TO PROVE IT THANKS
FROM PERU
Back to top
KXLU



Joined: 21 Mar 2007
Posts: 8


Post26 Feb 2009 20:23   

Project to replace CY7C64613 in the ICD2


>>you can force power mode in icd2.ini file.
I can't find icd2.ini file,my MPLAB version is 8.20
Back to top
roykyn



Joined: 15 Sep 2006
Posts: 254
Helped: 7


Post04 Mar 2009 5:02   

Re: Project to replace CY7C64613 in the ICD2


Is it possible to replace 18f4550 with 18f2550 because 18f2550 is readily available.
Back to top
crazyduck



Joined: 03 Sep 2001
Posts: 278
Helped: 5
Location: France


Post04 Mar 2009 13:43   

Re: Project to replace CY7C64613 in the ICD2


Hi
Search icd2.ini on "documents and settings"

CD:D
Back to top
lucafus



Joined: 28 Apr 2006
Posts: 11


Post04 Mar 2009 17:29   

Re: Project to replace CY7C64613 in the ICD2


@ roykyn

No, you can't.
ICD2 clone needs Parallel Port interface and 18F2550 doesn't have this function.

Luca.
Back to top
Gobol



Joined: 29 Sep 2005
Posts: 37
Location: PL


Post08 Mar 2009 12:14   

Re: Project to replace CY7C64613 in the ICD2


For all those people who can't read or being too lazy to get through ~60 pages of this topic

Some basic thesis :
1. If you don't have some advanced skills in electronics - don't do this project !!! (make some easier programmer)
2. If you have only multimeter & soldering iron - don't do this project !!!
3. If you don't want to debug your code via ISP - don't do this project...

Why ?
Because, for 99.99%, you'll fail...

What you should have in your equipment :
1. Good soldering iron (decent hotair for TQFP smd work)
2. Good multimeter
3. Any kind of logic analyzer, oscilloscope, etc... (it don't have to scope 20MHz signals....)
4. Reliable simple programmer for 18F PICs (Lothar's Stolz JDM (check his site), SCHAER, etc...)

What next ? :

1. Choose your project - potyo2 or some PiCS
or
1a. Get the schematics and create your own PCB (the harder way)
2. Get the parts
- Yes, there are 0.47 Ohm resistors ... (smd and thru-hole are available)
- No, you can not use 18F2550 instead of 4550 (Parallel Port is needed)
- Yes, you can solder manual potentiometer instead of MCP41010 digpot
- the inductance of VPP generator's coil may be about 100-200uH
3. Make the PCB
- using your favourite method (toner transfer or UV varnish)
- if you created your own PCB :
- check the connections
- check them again
- now get the original schematic and check your routes again
- and again... (most errors comes from erratic layout)
4. Make vias or jumpers
- Yes, it is possible to create doublesided PCB at home with vias
- Yes, it is possible to create doublesided PCB at home with under-IC vias (you need some 0.5-0.6mm copper wire and this kind of tool : http://www.sklepmotonet.pl/photo/product_big/4/f/0/1_4f0348703bd1.jpg)
- No, you don't have to solder the vias
- Yes, you should have 0.5mm drill in your equipment

5. Solder ICs (TQFPs and SOICs)
5a. Check shorts twice
6. Depending on your project you should program your 4550 & 877(A) now, or you can do it later

7. Solder remaining parts
7a. Check shorts and major connections (power rails for shorts, D+, D-, PSP0-7 lines, RD, CS, WR, 877_MCLR)
8. Connect to USB port

If Windoze detects it & driver installation is ok & MPLAB recognizes it clearly, download the OS & be happy - you're very lucky guy (chick Smile )

But, for 99.99%, something went wrong...

Troubleshooting:
1. Unknown Device :
- there may be problem with power rails - check for shorts
- there may be problem with D+,D- rails
- there may be problem with 4550 programming - reprogram it
- there may be problem with 4550 config fuses :
4550 configuration most important settings:
a) HS+PLL oscillator
b) 96MHz prescaler - divide by 5 (20MHz input)
c) CPU system clock postscaler - PLL/2 (48MHz CPU clock)
d) FullSpeed USB clock source - PLL/2
e) USB Voltage Regulator - Enabled
f) Watchdog disabled
- there is not enough of bypass capacitors (VUSB to GND)
- there is too big capacitance between VUSB & GND (10uF should be max) - check capacitors you've soldered

- of course there can be some more stupid errors...

2. If device is recognized by WinXX then the driver should be installed without problems - if not - you might have problem with your PC/windoze

3. If device is visible in Device Manager as MicrochipTools then MPLAB should detect it - if not - reinstall MPLAB, reinstall ICD2 USB drivers

4. Select ICD2 as PROGRAMMER & Setup ICD2 in MPLAB - communication:USB, DO NOT CONNECT AUTOMATICALLY, DO NOT UPLOAD OS AUTOMATICALLY !!!! (at least for the first time)

5. There should be enabled Download ICD2 Operating System command in Programmer menu - try it
- Unable to communicate with ICD or Product ID (0) - COMMUNICATION FAIL between 4550 & 877x !!! : - check PSP lines, RD, WR, CS, check 877_MCLR, check 877(A) programming, check 877(A) fuses, 877(A) power rails bypass capacitors
877(A) configuration FUSES :
a) HS oscillator
b) WDT off
c) PUT off
d) BOD off
e) LVP disabled
f) all code protection OFF !!!

- framing errors - read general problems troubleshooting (comes next in this post)

- first time you get connected ok, then after Reset&Connect you have Unable to connect : CHECK 1MCLR line - 877 isn't resetted properly by 4550

6. OS Downloaded OK, but ICD2 Self Test Failed : go into Programmer/Settings/Status
- MCLR Vdd : Low - enable Power Target from ICD & run Self Test again - if it pass then it is normal behavior
- MCLR Vdd : Low/ Target Vdd : Low - check 1RA1 line, VDD metering resistors , switching transistors (those PNP ones)
- Module Vpp / MCLR Vpp High/Low - check VPP generator for output voltage, VPP metering resistors (1RA0 line, 1RA3 line)
- MCLR Gnd : HIGH - connection problem with 1RA0 line - 1RA0 pin is floating...


GENERAL FAILURES TROUBLESHOOTING :
- check VPP generator's filtering capacitors - IT IS CRITICAL for ICD2 - if it's too low, then the spikes from generator would kill any USB & inter-IC transmittions by spreading via power lines
- scope power lines for spikes & check bypass capacitors
- recheck again for short-circuits
- reprogramm 4550 and/or 877(A) with proper HEX
- install earlier version of MPLAB (Yes, it sometimes cures the thing)
- IC's shouldn't get hot or even warm - check for shorts and check for proper voltages on terminals - if 4550 is getting warm, but ICD is working then you have not enough bypass capacitors on it's power rails... the same may be applied to 877(A)

Of course, there can be more problems, but if you can not overcome them, then you should drink some coffee and let this great programmer to be made for you by someone else...
Back to top
glicos



Joined: 13 Feb 2009
Posts: 1


Post14 Apr 2009 13:01   

Re: Project to replace CY7C64613 in the ICD2


Hi,

I have a little question regarding the 18F4550. Since this is not available in our place, can i use one of it's variant the 18LF4455? They are in the same datasheet when i download the 18f4550. I really love to build this ICD2 clone. As of now, i'm using a serial ICD2 clone but my laptop have no serial port. Commercial available USB converter is unstable.

Hope for your reply.

BR
Back to top
funnynypd



Joined: 09 May 2007
Posts: 916
Helped: 21
Location: USA & Canada


Post14 Apr 2009 13:14   

Project to replace CY7C64613 in the ICD2


probably not. There are some hardware difference between the chips.
Back to top
Gobol



Joined: 29 Sep 2005
Posts: 37
Location: PL


Post14 Apr 2009 16:40   

Project to replace CY7C64613 in the ICD2


LF4455 may not work, it has smaller amount of code memory - probably you would have to adjust firmware to fit in new code area conditions (ICD-USB firmware should fit, but there is also bootloader - there may be some address problems...)
Back to top
medvonok



Joined: 15 Jun 2006
Posts: 14
Location: Romania


Post17 Apr 2009 10:41   

Re: Project to replace CY7C64613 in the ICD2


I can`t instal the drivers. I use Win XP SP3. When I try to instal the drivers (XP drivers or Microchip) I see a blue screen.
Back to top
Gobol



Joined: 29 Sep 2005
Posts: 37
Location: PL


Post17 Apr 2009 12:45   

Project to replace CY7C64613 in the ICD2


So, you've got a problem with your OS - reinstall windoze, try your ICD on another PC...
Back to top
ilhuns



Joined: 29 Mar 2009
Posts: 1


Post18 Apr 2009 15:41   

Re: Project to replace CY7C64613 in the ICD2


Hi

Sorry my bad English. i build potyo2 but i live some problem module vpp and mclr vpp in self test write low not run usb power led and icd2 vpp is low

Target Vdd:5.0
Target Vpp: 3.99
Mplap Icd2 Vpp : 4.39

and i can't find and solve problem please help me for run it

Best Regards:cry:Crying or Very sad



Sorry, but you need login in to view this attachment

Back to top
hartfelder



Joined: 26 Nov 2008
Posts: 5


Post19 Jun 2009 15:19   

Re: Project to replace CY7C64613 in the ICD2


Hey guys, I made a PiCS REV.B and works perfectly! But now i have some troubles, suddenly my 18F4550 stopped to work, and it's damaged, don't work anymore in my ICD2. But if I verify the 18F4550 in the MPLAB, I can read the pic, program, everything, but doesn't work in the ICD2. I bought a new one, and my ICD2 started to work again, but somedays from now, it happends again this trouble, the 18F4550 stops to work in the ICD2, but works in the MPLAB, and if I put a new one, works again my ICD2... What can be to sometimes my 18F4550 stay damaged?? I lost two 18F4550, and now I want to know why they don't work anymore in the ICD2, where the MPLAB say that his OK.

thanks for any help, and sorry for my english!
Otto Hartfelder
Back to top
hooyahung



Joined: 22 Jun 2009
Posts: 2


Post22 Jun 2009 10:22   

Project to replace CY7C64613 in the ICD2


sorry for asking silly questions
where can i find potyo2's ICD2 schematics
Back to top
hooyahung



Joined: 22 Jun 2009
Posts: 2


Post24 Jun 2009 10:03   

Project to replace CY7C64613 in the ICD2


did any one follow crazyduck's schematics
can anyone tell me what is MG411

Added after 3 minutes:

can anyone tell me is MG411 = DG411???
Back to top
microtoad



Joined: 29 Mar 2008
Posts: 6


Post29 Jun 2009 21:59   

Project to replace CY7C64613 in the ICD2


hi everyone !!

first good job here!!!
so i have a question i want to realise this version of ICD2 clone :
Project to replace CY7C64613 in the ICD2

Project to replace CY7C64613 in the ICD2

do this shematic work well? is he have mistake again??
do this clone work with MPLAB 8.20??

thank
Back to top
blueroomelectronics



Joined: 17 Sep 2006
Posts: 1681
Helped: 99
Location: Toronto, Canada


Post29 Jun 2009 22:02   

Project to replace CY7C64613 in the ICD2


As said before it's much easier to build a PICkit2 clone.
Back to top
microtoad



Joined: 29 Mar 2008
Posts: 6


Post29 Jun 2009 22:54   

Re: Project to replace CY7C64613 in the ICD2


blueroomelectronics wrote:
As said before it's much easier to build a PICkit2 clone.


why ?? there is more powerful??
Back to top
blueroomelectronics



Joined: 17 Sep 2006
Posts: 1681
Helped: 99
Location: Toronto, Canada


Post30 Jun 2009 0:13   

Project to replace CY7C64613 in the ICD2


About the same as an ICD2 plus a logic tool & uart tool. Single ic design 18F2550
Back to top
Google
AdSense
Google Adsense




Post30 Jun 2009 0:13   

Ads




Back to top
funnynypd



Joined: 09 May 2007
Posts: 916
Helped: 21
Location: USA & Canada


Post30 Jun 2009 4:16   

Re: Project to replace CY7C64613 in the ICD2


Not only that.
Due to the fact, its schematic and source code are all open to the public, You have the freedom to modify both the software and hardware.
Plus, it got many other feature which is not so easy to find, such as serial tool, programming EEPROM, programmer-to-go, etc.

Here is a tutorial on understanding PICKit 2 hardware:
http://augroups.blogspot.com/2009/05/understanding-microchip-pickit-2-rev.html

A step by step tutorial on Programmer-to-go (Program a PIC without a PC!!!):
http://www.auelectronics.com/UserManual-PICKit2ProgrammerToGo.htm

A step by step DIY assembly guide:
http://www.auelectronics.com/pdfs/CB0703_AssemblyDrawing.pdf

An enhanced PICkit 2 schematic:
http://www.auelectronics.com/pdfs/CB0703_PICKit2_Schematic.pdf

For more information on hardware enhancement, such as buck/boost USB voltage regulator, RJ12 Cable, Pogo-pin programming cable, etc., please visit:
http://www.auelectronics.com/Hardware-CB0703.htm
http://www.auelectronics.com/products/system/bb0703.html
Project to replace CY7C64613 in the ICD2
Project to replace CY7C64613 in the ICD2
Project to replace CY7C64613 in the ICD2
Project to replace CY7C64613 in the ICD2

Programmer-to-go video, program a PIC without a PC!!!

Link
Back to top
microtoad



Joined: 29 Mar 2008
Posts: 6


Post30 Jun 2009 10:26   

Project to replace CY7C64613 in the ICD2


thank for your response ! it's true that pickit2 seem to be very powerful !
is a debugger too?

but the reason of my choice about icd2 realisation is that there exist a "PDIP" version of this debug / programmer.
is exist a "PDIP" version of pickit2 ??
Back to top
blueroomelectronics



Joined: 17 Sep 2006
Posts: 1681
Helped: 99
Location: Toronto, Canada


Post30 Jun 2009 12:33   

Re: Project to replace CY7C64613 in the ICD2


My Junebug kit is a PDIP version of the PICkit2 and yes the PICkit2 supports debug. Download the Junebug manual from my site.
Project to replace CY7C64613 in the ICD2
Back to top
markdem



Joined: 16 May 2006
Posts: 33


Post02 Jul 2009 12:11   

Re: Project to replace CY7C64613 in the ICD2


HI All, I feel really bad about posting this question as I feel it has been answered before, but I just can't find the answer. Could someone please tell me on the potyo v2, what is the X5 jumper for? Is it to choose whether the ICD provides power to the target? if so, which pads should be shorted for with mode??

Thanks

Mark
Back to top
CMOS



Joined: 06 Jan 2004
Posts: 808
Helped: 39
Location: USA


Post02 Jul 2009 17:11   

Re: Project to replace CY7C64613 in the ICD2


KXLU wrote:
Hm,I think there is no resistor which hase 0.47ohm resistance.In potyo2.pdf there is R41 0.47 resistor.Can I change it to jumper(short)?

Check this
http://www.newark.com/jsp/search/browse.jsp?N=500003+1001644+102307+132111+197190&Ntk=gensearch_001&Ntt=resistors&Ntx=&No=0&getResults=true&appliedparametrics=true&locale=en_US&prevNValues=500003+1001644+102307&originalQueryURL=http%3A%2F%2Fwww.newark.com%2Fjsp%2Fsearch%2Fbrowse.jsp%3FN%3D500003%2B1001644%26Ntk%3Dgensearch_001%26Ntt%3Dresistors%26Ntx%3D%26No%3D0%26getResults%3Dtrue%26appliedparametrics%3Dtrue%26locale%3Den_US
Back to top
chrisp2



Joined: 01 Apr 2009
Posts: 3


Post04 Jul 2009 5:01   

Re: Project to replace CY7C64613 in the ICD2


Gents

I had constructed the ICD2 clone posted somewher on this forum.....so far this is running okey in programming chips, updating its own software & etc. So far the one mode that I didnt tested yet is the debugger mode.

My question upon voltage test the bMPLAB gives 4.5 & 11.38 respectively.
Is there any unforseen side effects on this.

The PIC I am using is PIC16F877A with com2 connectivity.
The software I initially loaded is the one from Blue of Canada
Back to top
blueroomelectronics



Joined: 17 Sep 2006
Posts: 1681
Helped: 99
Location: Toronto, Canada


Post04 Jul 2009 6:02   

Project to replace CY7C64613 in the ICD2


If it programs it'll debug. The 4.5 and 11.38 are fine.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Project to replace CY7C64613 in the ICD2
Page 61 of 62 All times are GMT + 1 Hour
Goto page Previous  1, 2, 3 ... , 60, 61, 62  Next
Jump to page:
Similar topics:
Project to replace CY7C64613 in the ICD2 (4)
project to replace 89s51 (4)
icd2 problem.....replace 18f4550 (5)
How to replace designware cells in the netlist (4)
No one know how to make our own ICD2 like ICD1 in the past?? (38)
ICD2 (clone?) protocol details / or app to send hex to ICD2 (1)
Opamp ADC circuit to replace the ADC0820? (3)
how do I replace the reg to block ram? (1)
how to replace lumped elemts with microstrip in amplifier?? (1)
How to decrease the affect of noise in my project. (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS