Blinking LEDs using Atmel AT89S52. Arduino Uno R3 was used as ISP (In-System Programmer).
$ sudo apt install sdcc make
$ make
In Arduino IDE (2.3.0):
- File | Examples | 11.ArduinoISP | ArduinoISP
- Tools | Programmer | Arduino as ISP
$ avrdude -C avrdude-AT89S52.conf -c stk500v1 -P /dev/ttyACM0 -b 19200 -p AT89S52 -U flash:w:"main.ihx":a
$ avrdude -C avrdude-AT89S52.conf -c stk500v1 -P /dev/ttyACM0 -b 19200 -p AT89S52 -D -U flash:r:"flash.bin":r