Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Project to replace CY7C64613 in the ICD2

Status
Not open for further replies.
Oops, should have made the file extension .hex.
 

I'm making the Pyoto version on page 28, I have a 16F877 and a 16F877A, which should I use?

Thanks
 

Gandalf_Sr said:
I'm making the Pyoto version on page 28, I have a 16F877 and a 16F877A, which should I use?

Thanks

Use the 16f877a
 

I used 16F877A 'cause I can't find 16f877. I think that the A version reprograms itself faster than the old one, whicih means that it will faster download OS.
 

Beowolf said:
I used 16F877A 'cause I can't find 16f877. I think that the A version reprograms itself faster than the old one, whicih means that it will faster download OS.
I have tested both 16F877 and 16F877A, and the 16F877A's self programming is faster. But this is not critical, you need to change the OS rarely, only when you want to use a target device from another family.
 

Thanks guys. I'm making Potyo's (sorry about mis-spelling earlier) Vn2 board and have got as far as bare board with links - I use the iron from design laser-printed on photo paper method, it works really well. I ordered the parts today but I can't find any 0.47 ohm resistors though. Also, what is the max volts for VPP? I want to make sure that I get correct voltage rating for caps.
 

Gandalf_Sr said:
Also, what is the max volts for VPP? I want to make sure that I get correct voltage rating for caps.
Usually double what will be used. So in this case, 25V should do the trick.
Caps connected to VDD (5V) can be as low as 10V, but 16V is more common.
Get low ESR caps if the regulator you're using requires it. Some do. :!:

Daemons
 

Thanks Daemons, I assume from your post that VPP is about 12V.

I have another detail question, the LEDs that go to the +5v rail all use 330 Ohm resistors in series - I know my Ohms law but wondered if green, yellow, orange LEDs will still work OK with 330 Ohms or will I need to change the values? If you assume a 1.6 Vfwd on a red LED and Ifwd of 20mA then the resistor would need to be 170 Ohms to drop the 3.4 V (5 - 1.6) at 20mA.

I know I can wait and see but if y'all have tried this already...
 

Anyone may upload the 18f4550 OEM icd2's schematic ? Or even of the schematic of the USB => Parallel conversion module ( i.e. which shows *all* 18F4550's connections ).

Gandalf_Sr said:
I have another detail question, the LEDs that go to the +5v rail all use 330 Ohm resistors in series - I know my Ohms law but wondered if green, yellow, orange LEDs will still work OK with 330 Ohms or will I need to change the values? If you assume a 1.6 Vfwd on a red LED and Ifwd of 20mA then the resistor would need to be 170 Ohms to drop the 3.4 V (5 - 1.6) at 20mA.

I know I can wait and see but if y'all have tried this already...

I always use 180 ohms resistors with a 5 volts supply
 

Gandalf_Sr said:
Thanks Daemons, I assume from your post that VPP is about 12V.
Correct.

I have another detail question, the LEDs that go to the +5v rail all use 330 Ohm resistors in series - I know my Ohms law but wondered if green, yellow, orange LEDs will still work OK with 330 Ohms or will I need to change the values? If you assume a 1.6 Vfwd on a red LED and Ifwd of 20mA then the resistor would need to be 170 Ohms to drop the 3.4 V (5 - 1.6) at 20mA.
You can. But most leds nowadays are very efficient. I personally use 1K, and the led is bright enough to see, and I don't use more power than necessary. On my serial port ICD2 I used 1K resistors and it's bright enough to see clearly.
If you use SMD leds, you really have to lower the current, because they're VERY bright.

Daemons
 

Status so far in building the Potyo V2 clone.

On the LED (non) issue, I did some tests with a 330 Ohm resistor on 5V and various color LEDs (red, yellow, green) worked just fine so yes, it seems that LEDs are very efficient nowadays.

The parts list that Potyo supplies lists the RJ12 connector as part #520250-3 and when I found that exact part number as an RJ12 in Mouser I bought it without looking at the data sheet. Turns out that is not the right one for Potyo's board; detailed examination of another data sheet suggests that it's an FCI #67968-002 which I've ordered.

Someone called Jim from this forum kindly emailed me a note about having to use 'the 661.hex' file, I don;t understand where that comes from or goes! Where is the data on that please?

I'm struggling to find a 170uH inductor to fit the board, anyone know the max current that flows through it? I'm guessing it has to be less than 150mA cos it goes through a 1N4148 which is only good for that much current.
 

Gandalf_Sr said:
I'm struggling to find a 170uH inductor to fit the board, anyone know the max current that flows through it? I'm guessing it has to be less than 150mA cos it goes through a 1N4148 which is only good for that much current.
You dont need exactly 170uH. If you can find 180 or 220, use that. Max current is below 100mA.
 

Hi!

About potyo design with lt1172, it has a 50uH inductor. It is any problem if the inductor is 47uH inductor???

Thanks in advance...
 

This is a very good place!
I will do a ICD2 by myself,use the PICs an Potyo 's design.
Give thanks to everyone in this place!
 

Hello everybody,
I would like to thank everyone who contributed to this interesting project (first 10 pages are very interesting).
I'm trying to do my own Icd2.
Let's GO !
 

PIC16F877A boot loader with verifyication of programming

Please, can some one measure USB power consumption from his ICD-2 ? My unit consumption is about 100-120mA, scheme is at page 33 of this topic.

I am used PIC16F877A with zaphod42 boot loader, but some times MPLAB cannot download operating system. I found in file icd2.zip, which contain icd16F_6_40.asm. This asm file is disassembled boot loader version 01.01.00.02, zaphod42 boot loader version is 01.01.01.00. In zaphod42 boot loader verifycation of programming memory EEPROM is disabled, there is NOP instructions at place of verifycation in program at addresses 0x1C8F-0x1C97. In icd16F_6_40.asm verifycation is working. I'm change zaphod42 boot loader on the model of icd16F_6_40.asm and now verifycation of programming memory EEPROM is working and I already not longer have problems with Downloading ICD2 Operating System. Changes I was maded in hex file, so I don't have disassembled hex file.
 

I am having problems getting my Potyo Vn2 running and I'm looking for test ideas.

92_1169331445.JPG


I confess in advance that I've not read posts 8-26 in this thread. Here's what I tried...

- 16F877A and 18F4550 both programmed with success messages using Olimex PIC-MCP-USB
- disabled the 4550 MCLR in the hex file configuration
- changed all the BC327 transistors
- changed the 18F4550
- changed the 74HC4066
- reloaded MPLAB 7.51
- unloaded and reloaded the USB drivers

3 pin jumper on Potyo vn2 board is set to far corner of board (nearest 4066) No link on 2 pin 4550 MCLR jumper

Tested that Xtal is running at 20 MHz using frquency meter, it is and is very stable.
Tested 5v supply to 4550, it's 4.99v

Here's my Output log file...

Auto-connect not enabled - Not connecting (Try enabling auto-connect on the ICD2 settings pages.) Connecting to MPLAB ICD 2
ICD0021: Unable to connect with MPLAB ICD 2 MPLAB ICD 2 Ready Running ICD Self Test <== me trying to start a 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
ICD0082: Failed MPLAB ICD 2 operation
Connecting to MPLAB ICD 2 <== me clicking 'Connect' on menu under Debugger'
ICD0021: Unable to connect with MPLAB ICD 2 MPLAB ICD 2 Ready

I think that the PC is talking to the ICD-2 clone but the USB comms fail whenever I try to run the Self Test.

HELLLLLLLLLLLLLLLLLLLLLLLLLLLLLPPPPPPPPPPPPPPPPPPPPPPPPPPP!!!!!!!!!!!!!
 

Maybe: Debugger-->Download ICD2 Operating System. Pick the hex file, and Open
 

Actually I'm now wondering if I can connect at all.

Auto-connect not enabled - Not connecting (Try enabling auto-connect on the ICD2 settings pages.)
Connecting to MPLAB ICD 2
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready

Seems it never says that it IS connected

Added after 2 minutes:

Tried your suggestion Potyo...

Auto-connect not enabled - Not connecting (Try enabling auto-connect on the ICD2 settings pages.)
Connecting to MPLAB ICD 2
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Downloading Operating System
ICD0021: Unable to connect with MPLAB ICD 2
...Download Operating System Failed
ICD0029: Connected tool is not an MPLAB ICD 2: Product ID = 0x0 (MPLAB ICD (1))
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready

Ideas?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top