modified Arduboy library

pinouts

Test Points (grouped, external access available through battery compartment)
TCK top left if oriented with SW1 on top of board
Layout: TCK   TMS   TDO    TDI
                 RST   MISO
        SCK   GND   VCC    MOSI
 TCK - ATmega128RFA1 pin 3 [PF4:ADC4:TCK]
 SCK - ATmega128RFA1 pin 37 [PB1:SCK:PCINT1]
 TMS - ATmega128RFA1 pin 4 [PF5:ADC5:TMS]
 GND - GND
 RST - ATmega128RFA1 pin 12 [RSTN]
 TDO - ATmega128RFA1 pin 5 [PF6:ADC6:TDO]
 VCC - VCC (3.3V)
MISO - ATmega128RFA1 pin 39 [PB3:MISO:PDO:PCINT3]
 TDI - ATmega128RFA1 pin 6 [PF7:ADC7:TDI]
MOSI - ATmega128RFA1 pin 38 [PB2:MOSI:PDI:PCINT2]
-------------------------------------------------------
Test Points (not in above group) SCL, SDA, CLK0
 SCL - ATMega128RFA1 pin 25 [PD0:SCL:INT0], U5 pin 6
 SDA - ATMega128RFA1 pin 26 [PD1:SDA:INT1], U5 pin 7
CLK0 - ATmega128RFA1 pin 53 [PE7:ICP3:INT7:CLKO], R29 to Display pin 6
-------------------------------------------------------
ISP Pads
Pin 1 top left if oriented with SW1 on top of board
Layout: 1 2
        3 4
        5 6
 1 - MISO, ATmega128RFA1 pin 39 [PB3:MISO:PDO:PCINT3]
 2 - VCC (3.3V)
 3 - SCK, ATmega128RFA1 pin 37 [PB1:SCK:PCINT1]
 4 - MOSI, ATmega128RFA1 pin 38 [PB2:MOSI:PDI:PCINT2]
 5 - RST, ATmega128RFA1 pin 12 [RSTN]
 6 - GND

from pastebbin, source

USBASP V2.0

eereta:

  • found here
  • does not support its tx/rx ports - see usbasp_tty for 2015 windows exe

#connect ISP lines between USBASP and XEresponder #connect USBISP V2 to pc

git clone https://github.com/bitbank2/SMART_bootloader
/bin/avrdude -C/etc/avrdude.conf -v -patmega128rfa1 -cusbasp -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0xF5:m -Uhfuse:w:0xD8:m -Ulfuse:w:0xFF:m
/bin/avrdude -C/etc/avrdude.conf -v -patmega128rfa1 -cusbasp -Pusb -Uflash:w:./SMART_bootloader/ATmegaBOOT_atmega128rfa1.hex:i -Ulock:w:0x0F:m