2051 Serial Programmer Software

2051 Serial Programmer Software Rating: 5,7/10 342 votes

Python & Arduino-based AT89C2051 programmer

  1. 2051 Serial Programmer Software 2017

Software requirements

2051 Serial Programmer Software 2017

Figure 2: Circuit Diagram of the ISP Programmer. Assemble the circuit and burn the firmware into an AT89C2051(you will need a conventional parallel Programmer to Program the AT89C2051). Jan 22, 2018  but i want to change the software on a AT89C2051 wich contains an 'HORLOGE 7 segm Program '. I know it is a very old MCU, but that is. ( else i could use a PIC MCU!) I have a new AT89C2051, and want to program it, with this interface using a PIC16F877 ( i know well PIC MCU) i can modify the programer if needed.

  • Python3 with pip
  • Arduino IDE
2051

Hardware requirements

  • Aruino UNO board
  • Optocoupler (strongly recommend MOSFET-pair output)
  • 12V nominal power supply (actual voltage required ~13.5V)
  • (recommended) ZIF socketThe schematic is included as schematic/schematic.pdf.

Flashing the programmer

  1. Open AT89_prog/AT89_prog.ino in Arduino IDE
  2. Flash onto the Arduino board
2051

Installing the programmer software

  1. (recommended) Create a python virtualenv
    1. python3 -m venv venv
    2. . venv/bin/activate
  2. Install from PyPI pip install at89overlord

Programming

  1. Place chip in socket
  2. Connect the Arduino board to the computer
  3. Connect the 12V power supply
  4. On the computer run at89overlord -f PATH_TO_INTEL_HEX_FILE

Other functionality

Run at89overlord -h for the full list of commands and flags

Upgrading from an older version

  • Check for changes in the schematic
  • Reflash the Arduino board
  • Reinstall the programming software

Running on Windows

It should be possible to use this programmer on Windows.

  • Install cygwin with python3 and pip
  • When running the at89overlord append -p COMn to the arguments list,where n is the number of Arduino board's serial port.