This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR1642BOOST: Error when trying to use flash programming command line utility

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642, UNIFLASH

Hi,

my customer is looking for a command line flash programming utility that allows automated and remote programming of QSPI flash on AWR1642BOOST. When trying to use "mmwaveprog_cmdline.exe" that comes along with device firmware package, following error was displayed:

=======mmWave Flash Programmer 01.01.00.00=======
Connecting Com Port
connect to device
port opened
set break signal
--- please restart the device ---
connection succeeded
process batch
file awr1642_mmw_demo_batch.txt--
Execute Line 1 - Format SFLASH
erase storage [SFLASH]
port opened
erase storage ok
file awr1642_mmw_demo_batch.txt--
Execute Line 2 - Download META_IMAGE1 (C:\ti\mmwave_sdk_01_02_00_05\packages\ti\demo\xwr16xx\mmw\xwr16xx_mmw_demo.bin) Storage(SFLASH)
downloading [META_IMAGE1] size [466692]
port opened
Downloading file to AR1XXX device..
Traceback (most recent call last):
  File "mmwaveprog_cmdline.py", line 48, in <module>
  File "mmwaveprog.pyc", line 345, in download_file
  File "mmwaveprog.pyc", line 212, in _send_start_download
KeyError: 'META_IMAGE1'

The used batch file and the command line is shown here.

Batch file:

FORMAT,SFLASH
C:\ti\mmwave_sdk_01_02_00_05\packages\ti\demo\xwr16xx\mmw\xwr16xx_mmw_demo.bin,META_IMAGE1,SFLASH

Command line:

mmwaveprog_cmdline.exe -c -p 16 -b awr1642_mmw_demo_batch.txt

What is the reason for above error and how can it be avoided? Note that Uniflash is not an adequate workaround, or can Uniflash be also invoked via command line?

Thanks,

Peter.