8051 operating systems

202 views
Skip to first unread message

Andrew Lynch

unread,
Dec 5, 2023, 6:59:19 AM12/5/23
to Retro-comp
Hi

I've been working on an 8051-type project (SAB80535 dev board) and it seems to be working.  My initial software target was PAULMON2 which is a public domain 8051 debug monitor originally for the PJRC 8051 dev board.  The SAB80535 dev board is loosely based on the PJRC 8051 dev board but with some updates and other changes.  The main difference is the SAB80535 is ROMless so it depends entirely on external ROM which caused a change in the memory map compared to the PJRC 8051 which uses the internal ROM feature of the 87C52 MCU.

I can use SDCC for C and AS31 for assembler to make simple test programs on my Linux notebook.  The SAB80535 dev board, using PAULMON2, accepts program downloads using Intel Hex format and I can run them from there.  I am pretty happy with the system that works like this but am wondering what options exist to make the project less dependent on external PC or notebook to store and download programs.

My main concern is a lack of mass storage capability and/or file system.  The 8051 is an MCU so I am not expecting a full-blown operating system like CP/M or MS-DOS but is there a free/open-source operating system for 8051 MCU with mass storage and/or file system?  The SAB80535 has 512KB SRAM and 512KB Flash ROM organized in 32KB pages.  Maybe a stripped-down, ROMable subset of CP/M 2.2 for the 8051?

I've seen there are 8051 RTOS kernels like FreeRTOS which appears to be mostly a real-time scheduling kernel.  Are there any other options?  What have other people done?

Tom Storey

unread,
Dec 10, 2023, 11:26:43 AM12/10/23
to Andrew Lynch, Retro-comp
Wow, FreeRTOS on an 8051. People will take this thing to all kinds of places.

I thought I was crazy making a port for the Motorola 68000, and promised myself to never look at making a Z80 port lol (I think someone else may have already done this, however).

--
You received this message because you are subscribed to the Google Groups "retro-comp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to retro-comp+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/retro-comp/1810669322.220213.1701777538488%40mail.yahoo.com.
Reply all
Reply to author
Forward
0 new messages