MCS-51

Tutorials

EX-F320

LED Timer
Serial

C8051F340/380

LED Timer
Serial

C8051F V2.1 (F020)

LED Timer
Serial

C8051F300 Dev. B. Mod.

LED Timer
Serial

C8051F V2.1 (F120)

LED Timer
Serial
Dhrystone Whetstone

51 MCU SCM

Serial

STC89 DEMO BOARD

LED Timer
Serial

EZ-USB FX2LP

LED Timer
Serial
Dhrystone

colecovision.eu

ColecoVision

STM8

MCS-51

LLVM+SDCC

Contact

Tutorials for 8051-derivatives development using free software

This is a collection of tutorials that show how to get started with MCS-51 development using free tools and various evaluation boards. The tutorials include an LED Timer, which shows a binary counter that increments exactly once per second using the board LEDs and the MCS-51 timers, RS232 output using the UART (or a software UART where no hardware UART is available), and standard benchmarks for embedded systems (both Whetstone and Dhrystone; Coremark is not included due to its license, but can easily be ported using the Whetstone and Dhrystone tutorials as examples).

The author used a Debian GNU/Linux system, but the tutorials should work for other Linux distributions, *BSD or other Unices.

All tutorials use:

C8051 Boards

These are boards for the 8051-derived SiLabs C8051.
EX-F320¹C8051F340/380¹RDM 6300²C8051F V2.1¹C8051F300 Dev. B. Mod.¹C8051F V2.1¹
EX-F320C8051F340/380RDM 6300C8051F V2.1C8051F300 Dev. Board Mod.C8051F V2.1
Controller
C8051F320C8051F340C8051F330C8051F020C8051F300C8051F120
Tutorials
LED TimerLED TimerNo LEDLED TimerLED TimerLED Timer
SerialSerialTODOSerialSerialSerial
Not enough RAMNot enough RAMNot enough RAMNot enough RAMNot enough RAMDhrystone Whetstone

STC Boards

These are boards for 8051-derived µCs made by STCmicro.
51 MCU SCM¹STC89 DEMO BOARD²STC15W4K56S4 SCM¹STC15L204 + NRF905¹STC15W4K56S4 4 Ser.¹
51 MCU SCM Minimum System Development BoardSTC89 DEMO BOARDIAP15W4K58S4 STC15W4K56S4 SCM DC5V ESP8266 Socket Development BoardSTC15L204 + NRF90 wireless interface wireless driver board development boardSTC15W4K56S4 C51 Development Board 4 Serial
Controller
STC12C5A60S2STC89C52RCIAP15W4K58S4STC15L204EASTC15W4K56S4
Tutorials
No LEDLED TimerTODONo LEDTODO
SerialSerialTODOTODOTODO
Not enough RAMNot enough RAMNot enough RAMNot enough RAMNot enough RAM

Various Boards

These are boards for various 8051-derived µCs.
EZ-USB FX2LP¹7 Buttons Application Kit¹
CY7C68013A EZ-USB FX2LP USB2.0 Development Board7 Buttons Application Kit
Controller
CY7C68013AXC822T
Tutorials
LED TimerTODO
SerialTODO
DhrystoneNot enough RAM

Footnotes

¹Bought using my own money.
²Donated by an SDCC user.

If you would like to see an additional board featured here and are willing to provide the board, please contact me.