picnoobie said:Yes, I made one based on info I gather from this forum. Check the attached. You need to somehow derived 5v from PiCs RevB to VCC of this pcb. I've only tried using it to debug for a little while, but I use it mostly for programming. I'm using MPLAB7.61
blueroomelectronics said:I came across this in another thread, not sure if it'll work but it looks interesting.
picnoobie said:Yes, That's the one I built.
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to MPLAB ICD 2
ICDWarn0020: Invalid target device id (expected=0x21, read=0x0)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Well, my problem is that the VDD led is always ON. When I check "power from ICD2" it goes brighter and when I uncheck that option I goes less brigh but it keeps ON. Does anyone why is that? I used 3mm leds. Maybe I should try with 5 mm?
Kova said:alunaro said:Then use 2x10K resistors in serial, could put them in vertical saving space and re-using the existing holes for 1 unique resistor. It is not nice but... works xD
I have builded your scheme...but it seems that it doesnt work
All solders are ok.
On the MC34 there is a 12.5V
On the PICs there are 5V
I have flashed the 877A and 4550 with the firmwares included in the ICD2_Clone_4550_-_PiCS.zip file
When I'm connecting to the ICD2, WINXP recognize the device and install the driver...OK (in the System setting there is the label "Microchip.....Client").
Then I open the MPLAB IDE 7.52:
-Select Programmer--->Mplab ICD2
-Programmer--->Connect
This is the log:
Auto-connect not enabled - Not connecting (Try enabling auto-connect on the ICD2 settings pages.)
Connecting to MPLAB ICD 2
...Connected
ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect?
Connecting to MPLAB ICD 2
...Connected
ICD0286: Unable to communicate with ICD
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready
But there is a strange fact:
When i put a finger on the first pin on 4550 (MCLR) the "USB Led" flash (ON to OFF and OFF to ON) :|
Then I have re-flashed the PIC 4550 firmware with MCLRE flag disable.
I have reconnected and the USB Led stopped to flash but ICD2 lost communications and it doesnt work
Why MCLR is not connected to VCC with a 10K ohm?
The solders are all ok...I'm sure!
All components seems to be ok
PLEASE HELP ME
Edit:
I have solder a 10Kohm resistor to 4550 MCLR and it seems work
Guys for you work?
This is a picture:
**broken link removed**
I can't try the ICD because I haven't still made the icsp cable
One question:
I have selected a 18F2550 pic (I hope that it has 0x92 id), if I select a 16F877 PIC Mplab ask me to flash a new firmware...Is it normal?
I have click ok and i have made the flash but the icd it's crashed and I have re-flashed the pics with my external programmer.
Thanks for all
HiGonzakpo said:When VDD is disabled and nothing is connected to ICD2 (no target board) the VDD is 2.5V...is this normal?
folks said:Well, my problem is that the VDD led is always ON. When I check "power from ICD2" it goes brighter and when I uncheck that option I goes less brigh but it keeps ON. Does anyone why is that? I used 3mm leds. Maybe I should try with 5 mm?
Hi
This is because you miss put a diode (1n4148) in the hc126 power to prevent the reverse current introduced by hc126 input signals.
Regards
potyo said:It doesn't make any problem, only that led lights slightly.
But is this normal? or should I try to fix that?....
-----------------------------------------------------------------------------------------------
Another info. When I just connect the ICD2 to the PC the led is OFF. It turns on (and continues like that) only when I connect from the MPLAB.
This is normal. You don't need to fix anything, except if this light makes problem for YOU. For your circuit it makes no problem.Gonzakpo said:But is this normal? or should I try to fix that?...
Gonzakpo said:ahhhhhhhhhhhhhhhhhhhhhh now I understand what folks said about the reverse current! Thank you so much.
I'll try with a target device, if everything goes fine I'll let you know. Do you think I should add a 1n4148 between ISP-VDD and HC126 power? Could it work?
Thanks.
ICDWarn0052: MPLAB ICD 2 cannot validate a target device. Please make sure that the target device is connected and properly powered. Select "OK" to continue, or "CANCEL" to abort the operation
alunaro said:I have at home the exact secuence of steps to follow. I repeated them (also reprogramming pics), and worked perfect all times, with all MPLAB versions I installed (7.40, 7.60). When arrive at home and if i remember it, i'll post it.
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to MPLAB ICD 2
Target Device PIC18F4550 found, revision = a3
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Erasing Target Device...
...Erase Succeeded
MPLAB ICD 2 Ready
Blank Checking...
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x48, Expected Val = 0xFFFF, Val Read = 0xFF)
...Device not blank
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?