Tool/software:
I'm using the MSPM0C1104 chip, and I'm needing to have the program write to it's own flash.
I found the examples in the New Project window of CCS that show how to write using the DL_FlashCTL_{...} functions.
The information that I can't find is: How do I manage the memory map to prevent the flash writes from accidentally overwriting program memory?
Ideally, I'd like to:
- Designate a block of flash that the build tools won't write to
- Raise an error in case my compiled program won't fit into the smaller flash space now that the block has been designated
Thanks,
Seth