Tech Papers

Writing to Flash from Firmware

Silicon Laboratories

Application Note

February 2008

External URL

The Flash memory on all Silicon Labs microcontroller (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 application note covers the basics of accessing Flash from application code on any device. It also discusses advanced routines that can be developed using basic routines and precautions to take when writing to Flash. Example code is provided.





Please sign in to post comment

Navigate to related information

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Jobs sponsored by

Feedback Form