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.

UNIFLASH: CLI (Linux) -> Failed: Target must be connected before calling the function

Part Number: UNIFLASH
Other Parts Discussed in Thread: CC2640R2F, CC2340R5

Tool/software:

Hi,

I'm facing the issue "Failed: Target must be connected before calling the function".

This issue occurs when using Uniflash CLI to flash a device in testbench by connecting target CC2640R2F with a TI Launchpad.

It is not connection issue as I'm able to use the Uniflash GUI and flash/read target without problems. Below is the command line used (Ubuntu 22):

<path to dslite.sh> --mode noConnectFlash --config=<path_to_ccxml file> --flash <path_to_FW> --verbose

Note: I tried both with power supply from Launchpad and with external power supply but I got the same error message

Does somone already faced this issue ? Is there something i can do to fix it ?

Best regards,

Antoine Bricard