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
Is there any way to avoid this?
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.