DolphinV4 API
1.6.1.0
|
Flash page from code addresses 0xFC00 to 0xFDFF where the application can store non volatile information. The configuration area can be always read with the programmer even if the CodeprotectionBit is set.
For instance the application can store firmware specific configuration values.
Upon a Flash erase the configuration area contents is also lost. Therefore prior erasing the Flash EOPX2 always reads out the contents of this area and merges the existing data with the application cfg file. For the exact process see ProgrammingFlow.
The following examples demonstrates how to access a constant stored in the configuration area.
The variable cfg needs to be global and the memory type specifier code is required.
To initialise the constants stored in the configuration area use the postbuild.txt file. The following example code shows how:
Be sure to have the postbuild tool script correctly set up. Refer to Post-buildTools.