Skip to content

Latest commit

 

History

History
88 lines (62 loc) · 2.35 KB

AT89S52.rst

File metadata and controls

88 lines (62 loc) · 2.35 KB

Generic AT89S52

Platform :ref:`platform_intel_mcs51`: 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 AT89S52
Frequency 11MHz
Flash 8KB
RAM 256B
Vendor Microchip & Atmel

Please use AT89S52 ID for :ref:`projectconf_env_board` option in :ref:`projectconf`:

[env:AT89S52]
platform = intel_mcs51
board = AT89S52

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

[env:AT89S52]
platform = intel_mcs51
board = AT89S52

; change microcontroller
board_build.mcu = at89s52

; change MCU frequency
board_build.f_cpu = 11059200L

Generic AT89S52 supports the following uploading protocols:

  • avrisp
  • usbasp

Default protocol is avrdude

You can change upload protocol using :ref:`projectconf_upload_protocol` option:

[env:AT89S52]
platform = intel_mcs51
board = AT89S52

upload_protocol = avrdude

:ref:`piodebug` currently does not support Generic AT89S52 board.