PDA

View Full Version : meLabs Program Header aid



boroko
- 13th November 2009, 09:37
HI All,

This isn't monumental but it is something that makes cross checking easier for me when I'm prototyping. It opens easily from within MCS and saves me from having to find and open a reference when I want to verify things. Enjoy

'************************************************* ***************
'* Name : ICSP.BAS *

'************************************************* ***************
' layout for In Circuit Serial Programming header or pigtail
' for meLabs programmers

' 10) Ground
' 9) Ground
' 8) PGC: Program Clock or ICSPCLK
' 7) Reserved
' 6) PGD Program Data or ICSPDAT
' 5) reserved
' 4) Switched Vdd only for powering header adapters
' 3) reserved
' 2) Vpp to MCLR/Vpp pin
' 1) +5 from USB (limited to ~100mA)
'
' ------| / ------- Gnd
' o | / ------- Gnd
' | / ------- PGC
' 10 9 |== / -----x
' 8 7 |== / ------- PGD
' 6 5 |== -----x Gnd O O Gnd
' 4 3 |== \ -----x PGC O O x
' 2 1 |== \ -----x PGD O O x
' | \ ------- Vpp (5) O O x
' | \ ------- +5vdc Vpp O O +5
' o |
' ------|

Bo