USB In-Circuit Debugger

USB-In-Circuit-Debugger for MPLAB-6 and higher

Tests with FT232-chips have been successfull and my pcb copper etching machine is now ready for production, so here is a complete revision of the ICD. The description is a little bit preliminary, you must apologize that I didn't have had much time for this at the moment. So please see the guestbook/forum, too!

new ICD

I used SMD parts, thus PCB size is nothing more than 5cm x 5cm. The design features an USB interface (FTDI FT232BM) and is completely USB bus powered. Vpp is obtained by an easy-to-use monolitic 5V to 15V DC-DC-converter (in Germany: e.g. at Reichelt, 8EUR). The circuitry of the TARGET_PGM signal has been simplified. It is now generated by an OpAmp and a poti (you can adjust Vpp to your needs), no need for lots of discrete transistors confusing all the people (especially when using replacements) any more. The PCB is single sided (so you can etch it easily at home, too...), but you can use a second copper side as ground plane. SMD resistors and capacitors type 1206 are used. You will have to add 3 signal wire connections (yellow in photo above) and 3 ground connections by wires (white wires) or connection to the gnd plane to the PCB layout - see air wire lines at layout pictures below (dark yellow). The FT232BM appears as a virtual COM-port when installed, so don't select USB but the FT232's COMx-Port in MPLAB!

new ICD

The picture above shows the new ICD getting firmware flashed by the old style ICD. I think the main advantage is that you don't need a heavy external power supply any more. Perhaps it might be speeded up as PL mentioned in the forum, too. Here are the schematics and the PCB. But be aware of a design fault concerning the pinning of the USB connector and the test pin of the FT232(tie this pin to ground!!)!!! In both cases, see the FTDI datasheet!!! I will try to correct this as soon as possible.


Parts used:
R1, R2: 27R
R3: 1k5
R4: 470R
R5: 1M
R6, R15: 100k
R7: about 56R for opamp-current limiting
R8, R9, R11: 330R
R10, R12 4k7
R13, R19: 6k8
R14: 2k2
R16, R17, R18: 4k7
R20, R21: 0R
R22, R23: 1K (depending on how bright you LEDs should be)
C1, C2: 22p
C3, C5, C6, C8, C10: 100n
C4: 3n3
C7: 10u@16V
C9: 4u7@35V
Trimmer: 100k
IC1: FT232BM
IC2: PIC16F876@20MHz
IC3: LM358 or similar OpAmp
DCDC-Modul: 5V to 15V
L1: some uH or just leave it
XTAL: 20MHz

The schematic:
icd2usbv6b.png

The board (see design fault notes above!!!):
icd2usbv6b_n.png
icd2usbv6b_c.png

See the guestbook/forum!