Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
EE Times-Asia > Memory/Storage

Writing to flash from firmware

Posted: 28 Jun 2008 ?? ?Print Version ?Bookmark and Share

Keywords:MCU devices? writing flash? firmware? EEPROM?

The flash memory on all Silicon Labs MCU devices is readable and writable from application code. This capability allows user software to store values to the Flash such as calibration constants or system parameters, and to implement a boot loading feature in which user firmware can be updated in-system from a remote site.

The Flash that is not used by application code can be treated like an EEPROM, thus negating the need to connect an external EEPROM to the device.

This document starts with the basics of accessing Flash from application code on any device, including device specific details. Then, it discusses advanced routines that can be developed using the basic routines. Finally, it describes precautions to take when writing to flash. Example code for the basic and advanced Flash access routines for all devices is included at the end of this application note.

View the PDF document for more information.

Article Comments - Writing to flash from firmware
*? You can enter [0] more charecters.
*Verify code:


Visit Asia Webinars to learn about the latest in technology and get practical design tips.

Back to Top