mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 21:29:49 +00:00
e6f2cd0b2a
$ git grep ' $' | grep -v ^test/ | cut -d : -f 1 | sort -u > /tmp/trailing $ for a in `cat /tmp/trailing` ; do sed -i -e 's/ *$//' $a ; done
654 B
654 B
AVR (arduino, atmega128, ..)
Install JTAG serial driver:
http://www.wch.cn/download/CH341SER_MAC_ZIP.html
Install SDK from Arduino:
https://www.arduino.cc/en/Main/Software
echo 'PATH="/Applications/Arduino.app//Contents/Java/hardware/tools/avr/bin/:$PATH"' >> ~/.profile
Install avarice, the gdbserver <-> jtag:
r2pm -i avarice
Run the proxy:
r2pm -r avarice --jtag /dev/tty.wch* --mkI :4242
Using GDB:
(avr-gdb) target remote :4242
In another terminal now run:
r2 -a avr -d gdb://localhost:4242
NOTE: Right now the avr debugger is pretty broken, the memory and register reads result in in correct data.