DC2N3: bootloader porting to 128kB flash MCU

The porting of the DC2N3 bootloader to a different MCU with 128kB of flash has revealed a few challenges, mostly in the low level string access utilities I use for strings stored in flash memory. In fact the 16-bit pointers I used to use for 32/64kB flash MCUs cannot address the bootloader area in the far end of the 128kB flash MCU!

For the time being I managed to get around the issue by simply disabling debug messages on the console. Luckily, the flash area used by DC2N3 itself is at the beginning therefore the DC2N3 firmware will not require any substantial change to work on the 128kB flash MCU 🙂

This entry was posted in Retrocomputing, Technical and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s