| Author |
Message |
usman_star2
Joined: 06 May 2006 Posts: 72
|
17 Apr 2008 5:23 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Blueroomelectronics
:arrow:Yes the Microchip ICD2 manual has lots of info on connecting to target PICs.
Bro i ask you please send me some document of microchip site. i have nothing got from microchip site about the target system .ok
i want to put PIC16F84A at my target system
so plz send me the useful data about target system on
usmanstar2(at)gmail.com
as soon as possible.
Thankyou
|
|
| Back to top |
|
 |
funnynypd
Joined: 09 May 2007 Posts: 715 Helped: 19 Location: USA & Canada
|
17 Apr 2008 14:15 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
enter your control panel->performance and maintenance->system->hardware->Device Manager
and drop down to the unknow usb device, manually force a driver update.
It is doable.
|
|
| Back to top |
|
 |
xiaokang1027
Joined: 05 Dec 2006 Posts: 16
|
18 Apr 2008 2:26 Re: Project to replace CY7C64613 in the ICD2 |
|
| tags: mcdrv48f.dll icd2w2k.sys mcusbicd2 |
|
|
| funnynypd wrote: |
enter your control panel->performance and maintenance->system->hardware->Device Manager
and drop down to the unknow usb device, manually force a driver update.
It is doable. |
Thanks,but i have tryed , it is inform "this file don't have hardware information". i don't know how to do?
the .inf file :
; ICD2W2K.INF for Windows 2000 and XP
;
; 03 Jan 2005 : new group
;---- Class Info ------------------------------------------------------------
[ClassInstall32]
CopyFiles=DLLDestDir,DLLDestDirB
AddReg=MicrochipClass
[MicrochipClass]
HKR,,,,"MicrochipTools"
HKR,,EnumPropPages32,,"MCDRV48F.DLL,MCINSTLSProp"
HKR,,Icon,,"0"
;---- Common ----------------------------------------------------------------
[Version]
Signature="$Chicago$"
Class=MicrochipTools
ClassGUID={DEB97E2C-8B0F-446F-B280-7CFAC41C3BD9}
Provider=%Microchip%
DriverVer=05/28/2002,1.0.0.0
[Manufacturer]
%Microchip%=Microchip
[Microchip]
; This device is bound to the client driver for the loaded MPLAB ICD 2.
%USB\VID_04D8&PID_8001.DeviceDesc%=MCUSBICD2.Dev, USB\VID_04D8&PID_8001
[PreCopySection]
HKR,,NoSetupUI,,1
[DestinationDirs]
MCUSBICD2.Files.Ext = 10,System32\Drivers
MCUSBICD2.Files.Inf = 10,INF
DLLDestDir=10
DLLDestDirB=11
[SourceDisksFiles]
icd2w2k.inf=1
icd2w2k.sys=1
MCDRV48F.DLL=1
[SourceDisksNames]
1=%gid%
[DLLDestDir]
MCDRV48F.DLL
[DLLDestDirB]
MCDRV48F.DLL
;---- Client Driver Items -------------------------------------------------
[MCUSBICD2.Dev]
CopyFiles=MCUSBICD2.Files.Ext, MCUSBICD2.Files.Inf
AddReg=MCUSBICD2.AddReg
[MCUSBICD2.Dev.NT]
; Copyfiles commented out for Win2K to avoid user intervention during install
CopyFiles=MCUSBICD2.Files.Ext, MCUSBICD2.Files.Inf
AddReg=MCUSBICD2.AddReg
[MCUSBICD2.Dev.NT.Services]
Addservice = MCUSBICD2, 0x00000002, MCUSBICD2.AddService
[MCUSBICD2.AddService]
DisplayName = %MCUSBICD2.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 2 ; SERVICE_AUTO_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\icd2w2k.sys
LoadOrderGroup = Base
[MCUSBICD2.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,icd2w2k.sys
[MCUSBICD2.Files.Ext]
icd2w2k.sys
[MCUSBICD2.Files.Inf]
icd2w2k.inf
;---- Strings -------------------------------------------------------------
[Strings]
Microchip="Microchip Technology, Inc."
USB\VID_04D8&PID_8001.DeviceDesc="Microchip MPLAB ICD 2 Firmware Client"
MCUSBICD2.SvcDesc="Microchip MPLAB ICD 2 Firmware Client Driver (ICD2W2K.SYS)"
gid="ICD2W2K Windows 2000/XP Installation Disk"
|
|
| Back to top |
|
 |
funnynypd
Joined: 09 May 2007 Posts: 715 Helped: 19 Location: USA & Canada
|
18 Apr 2008 2:38 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Would you please also post the issue to Microchip Forum?
There are many experts there can help you handle this issue.
Regards,
|
|
| Back to top |
|
 |
usman_star2
Joined: 06 May 2006 Posts: 72
|
20 Apr 2008 20:18 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Blueroomelectronics HI
Yes the Microchip ICD2 manual has lots of info on connecting to target PICs.
Bro i ask you please send me some document of microchip site. i have nothing got from microchip site about the target system .ok
i want to put PIC16F84A at my target system
so plz send me the useful data about target system on
usmanstar2(at)gmail.com
as soon as possible.
Thankyou
|
|
| Back to top |
|
 |
compasscard
Joined: 04 Jun 2007 Posts: 4
|
20 Apr 2008 21:56 Re: Project to replace CY7C64613 in the ICD2 |
|
| tags: potyo icd2 |
|
|
Hello,
I want to share my WORKING !!!! ) ICD2 based on
Potyo's ICD2 rev C. design.
I had just some issues with bad contacts due to the fact that I hadn't my pcb correctly mirrored.
The firmware are the originals and were programmed by a homemade serial pic programmer (JDM2) and Winpic800 soft. I also have a homemade USB programmer (GTP Summer 2005 design). For both I can upload the schematic and pcb in P*otel or @ltium designer format.
Firmware:
http://www.icd2clone.com/w/images/e/e9/Icd2_4550_Firmwares.zip
Schematic and eagle board:
http://www.icd2clone.com/w/images/6/6a/Potyo2-2006.12.07.zip.zip
The images of the final assembly can be found here:
http://picasaweb.google.be/david.thijs/ICD2PicProgrammerDebugger
Thank you for the excellent support from this forum and many thanks to Potyo for all the effort he put in this project !
David Thijs
Lembeek
Belgium
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1302 Helped: 65 Location: Toronto, Canada
|
|
| Back to top |
|
 |
marizo
Joined: 16 Nov 2007 Posts: 1
|
24 Apr 2008 17:36 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Hello, Everyone!
I built ICD2 Clone RevB with PIC18F4550 and 16F877A some days ago, but not get it working yet.
PICs are programmed with *.hex from http://www.icd2clone.com/wiki/Main_Page, but something going wrong - yesterday the computer recognizes the new hardware and I install drivers, but MPLAB 8 can't download a operating system to programmer, the connection losts. Today my computer even not recognizes new hardware, but sometime when I touch the board PC says could not recognize the hardware.
Whats going wrong?
I don't know much about PIC programming, but my friend who help me with PIC programming says, that there are not enough information about PICs configuration. Could anyone show me the way to right hex files and PIC configuration info? I think there may be something wrong with it.
|
|
| Back to top |
|
 |
jmaurin
Joined: 30 Nov 2007 Posts: 8
|
01 May 2008 6:03 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Hi All
I've build potyo lastest board and i have 2 questions:
1) What's L1 component? It's just saying 170u, but it's a capacitor or inductor? I think it's 170uH, right?
2) Where can i find a layout for adapter board?
Thanks!
|
|
| Back to top |
|
 |
Pappe
Joined: 06 Apr 2008 Posts: 1
|
03 May 2008 18:31 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| L1 is a 170uH inductor as you can see in the eagle schematic
|
|
| Back to top |
|
 |
usman_star2
Joined: 06 May 2006 Posts: 72
|
04 May 2008 17:01 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
hi,
Blueroomelectronics,
how are you?
Can you please send me the source code of the Hex file named "InchwormPlus_16F877A.hex" in C-language or in Assembly language .
if you have kindly upload it or send me through mail.
usmanstar2(at)gmail.com
thank you in advance
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1302 Helped: 65 Location: Toronto, Canada
|
04 May 2008 23:16 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| I don't have the source code, it's Microchips product you'd have to ask them for it. What would you need it for?
|
|
| Back to top |
|
 |
mee48025
Joined: 23 Mar 2008 Posts: 5
|
11 May 2008 7:27 Re: Project to replace CY7C64613 in the ICD2 |
|
| tags: potyo icd2 |
|
|
i have built icd2-usb potyo version . i can use it as programmer but in debugger mode it can't not . mplab shown message
Programming Target...
...Validating configuration fields
...Erasing Part
...Programming Programming Executive
...Verifying Programming Executive
...Programming Program Memory (0x0 - 0x1FF)
Verifying...
...Program Memory
...Verify Succeeded
...Loading DebugExecutive
...Programming DebugExecutive
...Debug Executive
...Programming Debug Vector
...Debug Vector
...Programming Configuration Bits
.. Config Memory
Verifying configuration memory...
Connecting to debug executive
ICD0083: Debug: Unable to enter debug mode. Please double click this message for more information.
MPLAB ICD 2 Ready
How I fix this problem !!! please help me
Added after 6 minutes:
one thing that i miss is all resister value 4.7k in potyo schematic i replace with 5k because the shop don't have this value..
resister 5k that i used cause a problem in debug mode?
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1302 Helped: 65 Location: Toronto, Canada
|
11 May 2008 16:29 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| 5K is fine, your target PIC is the problem. It needs to have a working oscillator for debug to function.
|
|
| Back to top |
|
 |
Ivoi
Joined: 07 Feb 2006 Posts: 8 Helped: 2
|
14 May 2008 15:14 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| Have the problem. Sometimes, after connecting to the computer, the device is not defined and LED on the device does not burn. The study shows that erased 18F4550. BOR tried to include, but are not working. What could be the reason?
|
|
| Back to top |
|
 |
Microtronic
Joined: 10 Jun 2007 Posts: 10 Location: Venezuela
|
16 May 2008 4:20 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| mee48025 your version is the potyo2 now there is a new one with some improvements with mclr internal and is potyo2rev1
|
|
| Back to top |
|
 |
usmanstar2
Joined: 14 May 2008 Posts: 18
|
18 May 2008 17:01 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Dear,
I recently make ICD2. And i got some problems in it.
|
|
| Back to top |
|
 |
usmanstar2
Joined: 14 May 2008 Posts: 18
|
18 May 2008 17:04 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
I also got this type of problems when i attach my ICD2 with PC
Target<>icd2<>mplab
|
|
| Back to top |
|
 |
usmanstar2
Joined: 14 May 2008 Posts: 18
|
18 May 2008 17:10 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
PLZ give me some solution to these problems
And when i try at 3rd time this shows the attaches problems.
|
|
| Back to top |
|
 |
usmanstar2
Joined: 14 May 2008 Posts: 18
|
18 May 2008 17:15 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
this is my ICD2 attached picture.
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1302 Helped: 65 Location: Toronto, Canada
|
19 May 2008 1:59 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| What firmware did you put on the PIC? Which PIC are you using? Are you using a real RS232 port or a USB to RS232 adapter.
|
|
| Back to top |
|
 |
usmanstar2
Joined: 14 May 2008 Posts: 18
|
20 May 2008 15:02 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Sir ,
I am using PIC16F877A and firmware is Inchworm+ hex file. with simple RS232 port.
Now kindly help me out. Why this problem is occur?
Thanx in advance.
|
|
| Back to top |
|
 |
mee48025
Joined: 23 Mar 2008 Posts: 5
|
24 May 2008 16:18 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Thank for all . Now I can debugging target board. The problem is my fault in schematic.
|
|
| Back to top |
|
 |
darik
Joined: 04 May 2008 Posts: 2
|
26 May 2008 21:37 Re: Project to replace CY7C64613 in the ICD2 |
|
| tags: potyo icd2 |
|
|
Hi,
I just wanted to say thanks to all of you guys who helped make the ICD2clone. It works !!
I've build "potyo2 (09/18/2006)" from http://icd2clone.com/wiki/Main_Page.
At first using MPLAB 8.10 I had problems connecting to the ICD2.
| Code: |
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready.
|
I had to go down to MPLAB 7.40 before my ICD2 was recognized and a firmware downloaded.
Now it works with all versions of mplab (7.40 and up).
|
|
| Back to top |
|
 |
alunaro
Joined: 15 Jan 2002 Posts: 87 Location: Another world
|
30 May 2008 13:07 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| marizo wrote: |
Hello, Everyone!
I built ICD2 Clone RevB with PIC18F4550 and 16F877A some days ago, but not get it working yet.
PICs are programmed with *.hex from http://www.icd2clone.com/wiki/Main_Page, but something going wrong - yesterday the computer recognizes the new hardware and I install drivers, but MPLAB 8 can't download a operating system to programmer, the connection losts. Today my computer even not recognizes new hardware, but sometime when I touch the board PC says could not recognize the hardware.
Whats going wrong?
I don't know much about PIC programming, but my friend who help me with PIC programming says, that there are not enough information about PICs configuration. Could anyone show me the way to right hex files and PIC configuration info? I think there may be something wrong with it. |
Hello, i wrote some posts about it. If you follow exactly it must work, at least works for me each time i tried (yes, i reprogrammed the icd2 clone from scracth several times to test if steps were correct)
Build and programming steps:
http://www.edaboard.com/ftopic161641-0-asc-1410.html
About "debug" mode errors:
http://www.edaboard.com/ftopic161641-0-asc-1440.html
And i found today this post about firmawares:
http://www.edaboard.com/ftopic288717.html
Ciao
|
|
| Back to top |
|
 |
sjerr4u
Joined: 15 Jun 2007 Posts: 15 Helped: 1
|
30 May 2008 18:43 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
hi,
a question to all developers of icd 2 clone
is it legal to build and sell icd 2 clone based on designs from icd2clone.com ??
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1302 Helped: 65 Location: Toronto, Canada
|
30 May 2008 23:39 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| sjerr4u wrote: |
hi,
a question to all developers of icd 2 clone
is it legal to build and sell icd 2 clone based on designs from icd2clone.com ?? |
Well icd2clone is an unauthorized copy of the Microchip ICD2...
|
|
| Back to top |
|
 |
usmanstar2
Joined: 14 May 2008 Posts: 18
|
31 May 2008 12:35 Project to replace CY7C64613 in the ICD2 |
|
|
|
|
Sir Blueroomelectronics,
I am using PIC16F877A and firmware is Inchworm+ hex file. with simple RS232 port.
Now kindly help me out. Why this problem is occur?
Thanx in advance.
Plz reply me
Added after 1 minutes:
I also send a mail to your support Blueroomelectronics website.
But nobody reply me.
|
|
| Back to top |
|
 |
Computerman29
Joined: 23 Jul 2006 Posts: 129 Helped: 4 Location: Valparaiso, IN USA
|
31 May 2008 13:11 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| Quote: |
funnynypd wrote:
enter your control panel->performance and maintenance->system->hardware->Device Manager
and drop down to the unknow usb device, manually force a driver update.
It is doable.
Thanks,but i have tryed , it is inform "this file don't have hardware information". i don't know how to do?
the .inf file :
; ICD2W2K.INF for Windows 2000 and XP
;
; 03 Jan 2005 : new group |
Right-click the .inf file
select install
restart computer
|
|
| Back to top |
|
 |
blueroomelectronics
Joined: 17 Sep 2006 Posts: 1302 Helped: 65 Location: Toronto, Canada
|
31 May 2008 18:25 Re: Project to replace CY7C64613 in the ICD2 |
|
|
|
|
| usmanstar2 wrote: |
Sir Blueroomelectronics,
I am using PIC16F877A and firmware is Inchworm+ hex file. with simple RS232 port.
Now kindly help me out. Why this problem is occur?
Thanx in advance.
Plz reply me
Added after 1 minutes:
I also send a mail to your support Blueroomelectronics website.
But nobody reply me. |
The kit, schematic & firmware on my site all function great. Since you built your own version using your own PCB layout I can't possibly know what you did wrong.
For the meager $9 I charge for the original Inchworm PCB why would anyone lay out and drill their own?
|
|
| Back to top |
|
 |