Generic AT89S52
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 |
AT89S52 |
Frequency |
11MHz |
Flash |
8KB |
RAM |
256B |
Vendor |
Configuration
Please use AT89S52
ID for board option in “platformio.ini” (Project Configuration File):
[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
Uploading
Generic AT89S52 supports the following uploading protocols:
avrisp
usbasp
Default protocol is avrdude
You can change upload protocol using upload_protocol option:
[env:AT89S52]
platform = intel_mcs51
board = AT89S52
upload_protocol = avrdude
Debugging
Debugging currently does not support Generic AT89S52 board.