ICD2 clone project (completed)

I know Microchip ICD2 is obsolete and we can buy a ICD3 at less than $200 now. BTW, I needed to debug my code on 16F1827 and most of parts were on hand, I had decided to build a ICD2 clone and a Vpp limitter. It took a few days from etching PCB to soldering, now it works fine with old PICs like 16F877A.

The thing I added to the original of potyo REV.B.
1) Add SMT 0.1uF caps between VCC & GND of 4550/877A
2) Add SMT 0.1uF and 47uF electro between 5V USB line.
  (This made the circuit very stable. Before adding these two caps, USB-LED became off when I touch 4550)
3) Add 10K to MCLR of 4550. (no changes)


Before working, I did several test as followings;
1) Removed 4550, then jumper the 36pin of 4550 to VCC, and measured the voltage of MCLR of 877A. (reset of 877a)  It was 0.1V, so the reset from 4550 should work.
2) Made a small test program for 877A. 
This program blinks leds (BUSY and ERROR that connected to 877A), so I can see 877A have correct voltage line & signal from X'tal. Also when I press "connect" of MPLAB, I can see 877A restart blinking. (You need to insert 4550, since both PICs share X'tal.)
3) Verified connection between 4550 & 877A at least 5 times. (8 data lines, 3 control lines, X'tal and reset line)


Used firware
1)icd24550-woCP_by_Zedman.hex for 4550
2)ICD2_16F877A_boot.hex for 877A
After starting MPLAB, I need to download OS "ICD01020706.hex" manually.

Zedman firmware.zip (added 2020.11.24)

 
However the problem happened the debugger (both MPLAB and CCS) stays at 0x0000 (NOP) when I debug an Enhanced mid-range PIC like 16F1827. I have searched and found a post that says ICSPCLK needs to be fixed. So I am still looking for a solution for this.












コメント

Joáo Paulo さんの投稿…
Hello
Please Send Me The Firmware
icd24550-woCP_by_Zedman.hex for 4550
ICD2_16F877A_boot.hex for 877A
Joáo Paulo さんの投稿…
Hello
Please Send Me The Firmware
icd24550-woCP_by_Zedman.hex for 4550
ICD2_16F877A_boot.hex for 877A
Joáo Paulo さんの投稿…
Hello
Please Send Me The Firmware
icd24550-woCP_by_Zedman.hex for 4550
ICD2_16F877A_boot.hex for 877A
Jay さんの投稿…
Joao, please let me know where to send SW. Jay
Jay さんの投稿…
Firmware link is added

https://mega.nz/file/2Q8yHayb#2IRHMJr2aR8f4ef09kOI8S8X6YbVL9WWcWOn5hDa2qo

このブログの人気の投稿

オンボード・グロープラグヒート製作(On-board glow plug heat circuit)①構想編

回路シミュレータ LTSPICE