Part Number: MSP430FR5994
Other Parts Discussed in Thread: UNIFLASH
Tool/software:
Hello,
Firstly I will show how we currently handling and then what we need to improve.
Currently we using CCS in order to program MCUs.
Our program has few running modes that can by set. Currently we just using hard-coded #defines (eg Params.h header file) in order to set a configuration, which is compiled to the binary *.out file.
We want to separate the programming of the MCUs to be independent from the CCS.
UniFlash is good practice for that, but using this way we need an *.out file for each configuration :/.
So we need to separate the programming of the MCU firmware from it parameters programming.
The UniFlash GUI at the "Memory" section, allow to write data to specific memory address byte(s). This can be useful in order to set the device parameters, that by setting a persistent variable (which will represent the a parameter), checking its memory address at the linker map file, and write to that location using the UniFlash memory util.
This is good but requiring manually using the UniFlash GUI.
How can we automate with UniFlash (or other tool) in order to program specific memory address?
Using CLI / scripting
Thanks