Generic AT89S51

Hardware

Platform Intel MCS-51 (8051): The Intel MCS-51 (commonly termed 8051) is an internally Harvard architecture, complex instruction set computer (CISC) instruction set, single chip microcontroller (uC) series developed by Intel in 1980 for use in embedded systems.

Microcontroller

AT89S51

Frequency

11MHz

Flash

4KB

RAM

128B

Vendor

Microchip & Atmel

Configuration

Please use AT89S51 ID for board option in “platformio.ini” (Project Configuration File):

[env:AT89S51]
platform = intel_mcs51
board = AT89S51

You can override default Generic AT89S51 settings per build environment using board_*** option, where *** is a JSON object path from board manifest AT89S51.json. For example, board_build.mcu, board_build.f_cpu, etc.

[env:AT89S51]
platform = intel_mcs51
board = AT89S51

; change microcontroller
board_build.mcu = at89s51

; change MCU frequency
board_build.f_cpu = 11059200L

Uploading

Generic AT89S51 supports the following uploading protocols:

  • avrisp

  • usbasp

Default protocol is avrdude

You can change upload protocol using upload_protocol option:

[env:AT89S51]
platform = intel_mcs51
board = AT89S51

upload_protocol = avrdude

Debugging

Debugging currently does not support Generic AT89S51 board.