We are trying to invoke lmflash.exe programmatically as part of an automated manufacturing and test process. We are successfully programming FW and MAC addresses into the LM3S6965 but have found that to commit mac addresses, LMFlash.exe prompts for confirmation.
Here is the proof:
I:\TKSDevelopment\Sources\Ble.Components\bin\LmFlash>lmflash --debug-port=SWD --mac=00:22:23:58:00:03 --commit --interface=ICDI
Programming User Registers...
Committing User registers is permanent and cannot be reversed!
Do you wish to commit the data? (Y)es or (N)o
n
Aborting...
Is there any way to avoid this?
John,
I entered "lmflash --help" on the command line to display the list of valid arguments for lmflash. It looks like the --force option is what you want to use. Here is the description from lmflash help:
--force forces the user register programming operation to occur without confirmation. Also forces the specified combination of an erase and a program operation to occur even if the address range to be erased does not encompass the address range to be programmed.
Thanks!