Skip to content

MateuszJanda/blink-led-AT89S52

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Blinking LEDs using Atmel AT89S52. Arduino Uno R3 was used as ISP (In-System Programmer).

Setup

$ sudo apt install sdcc make
$ make

In Arduino IDE (2.3.0):

  • File | Examples | 11.ArduinoISP | ArduinoISP
  • Tools | Programmer | Arduino as ISP

Upload flash

$ avrdude -C avrdude-AT89S52.conf -c stk500v1 -P /dev/ttyACM0 -b 19200 -p AT89S52 -U flash:w:"main.ihx":a

Download flash

$ avrdude -C avrdude-AT89S52.conf -c stk500v1 -P /dev/ttyACM0 -b 19200 -p AT89S52 -D -U flash:r:"flash.bin":r

References