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.

CC2640R2F: Loading .bin file with UniFlash from the command line

Part Number: CC2640R2F
Other Parts Discussed in Thread: UNIFLASH

Following the instructions for on-chip OAD here:

https://software-dl.ti.com/simplelink/esd/simplelink_cc2640r2_sdk/3.30.00.20/exports/docs/blestack/ble_user_guide/html/ble3-stack-oad/creating-a-production-image.html

It instructs to use Uniflash to load the .bin file - this works fine with the Uniflash GUI

However when using the Uniflash CLI I get this error when I run:

> dslite.bat --config=<snipped>.ccxml -f <snipped>.bin

Failed: Encountered a problem loading file: D:\<snipped>\simple_peripheral.bin
Could not determine target type of file

I need to flash this .bin automatically using the CLI as part of a Jenkins job - how can I flash it from the command line?