This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Program Memory Constants

Note: This was originally posted on 22nd July 2013 at http://forums.arm.com

I am using a Cortex-M0 with Keil uVision4.  How are constants located in program memory and how can these program memory constants be changed by code?
Parents
  • Note: This was originally posted on 24th July 2013 at http://forums.arm.com

    I want to store calibration constants for an external sensor in program flash since there is no onboard EEPROM. I have code that performs the calibration and determines the constants. Most MCU's that I have worked with have assembler commands that write directly to program flash.
Reply
  • Note: This was originally posted on 24th July 2013 at http://forums.arm.com

    I want to store calibration constants for an external sensor in program flash since there is no onboard EEPROM. I have code that performs the calibration and determines the constants. Most MCU's that I have worked with have assembler commands that write directly to program flash.
Children
No data