AVR Pocket Programmer -> V3 ISP cable header pinout avrdude -c usbtiny (when using this programmer device: instead of -c bsd or -c stk200, as might appear in instructions) AVR Pocket Programmer ISP header: _______________ |01 03 05 07 09| |02 04 06 08 10| |_____|--|_____| 1 VCC 2 MOSI 3 GND 4 NC 5 GND 6 RST 7 GND 8 SCK 9 GND 10 MISO IMPORTANT: the "AVR Pocket Programmer" has a small SMD switch. A) Switch programmer to "NO-POWER" so that it does NOT try to supply the target device VEMS v3. B) NOTE: remove the SD-card if installed (take a picture or take note how it was installed). C) plug in correctly (see pinouts; see picture on URL below if uncertain), verify D) power up programmer, by plugging into USB E) power up v3 from EC36/pin25 +12V (do this soon after D; preferrably within 1-2 seconds) F) start the programming, verification, lock: avrdude -c usbtiny ... Supply voltage should be stable during these operations (~3 minutes). G) power down v3, unplug programmer from USB Z) when all is good: unplug from the ISPI connector Note: other programmers, like DSUB25 parallel port programmers are also possible (often can be built from PC-scrap in the basement, only 5 wires: GND, RST, SCK, PDI=ISP MOSI, PDO=ISP MISO), See the DSUB25 side pinout, the parallel-pins about the "stk200" or "bsd" cable in avrdude docs. ================== VEMS V3 ISP pinout (v3.x including v3.0 - at least v3.8 ) also called ISPI connector. IMPORTANT: VERIFY (before connecting) that the cable of your AVR Pocket Programmer has been modified to match this pinout. | | uC | atmega128 |_______ 6 unused, 6 used pins ___________________ |01 03 05 07 09 11| |02 04 06 08 10 12| |_________________| 1 NC 2 NC 3 NC 4 NC 5 NC 6 NC 7 RST (RESET) 8 GND (on v3 mainboard, this pin has some patch around it, "ground-fill", verify) 9 SCK 10 PDI = ISP MOSI 11 PDO = ISP MISO 12 VCC (or NC with AVR-ISP switched to "NO-POWER", as recommended with V3) ; VCC when AVR-ISP switched to "POWER TARGET", which is NOT recommended as V3 is powered from EC36/pin25 +12V) ====== useful URL-s : Image shows an ISP cable-connector plugged in VEMS v3 : 6 NC pins (=3*2 Not Connected, unused) : http://vems.hu/vt/help/v3/general/bootloader_upgrade.html https://shop.vems.hu/catalog/cable-p-165.html Purchase the AVR-ISP USB device here (and URL of printable version of this paper).