From Silicon Labs
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.
Product Announcements
|
|
||||||
|
Topics of Interest
This application note describes how an AVR with the Store Program Memory (SPM) instruction can be configured for Self-programming. The sample application communicates via the UART with a PC running...
Overview Flash memory is quickly becoming the standard non-volatile memory choice in embedded systems. Flash memory s versatility, price per byte, and density fall in the right range to make it a...
At this point, the monitor design has enough features to complete a basic shell around the hardware. I have the boot-up, serial port, and flash drivers and a solid command-line interface. The next few...
Among the many features built into Microchip's Enhanced FLASH Microcontroller devices is the capability of the program memory to self-program. This very useful feature has been deliberately included...
A UART code loader provides in-system reprogrammability of program code space (FLASH) through the serial port. This application note gives an overview of in-application code loading on Silicon Labs...