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.

LAUNCHXL-CC1352P: Uniflash / dslite CLI specify CC1352P launchpads

Part Number: LAUNCHXL-CC1352P
Other Parts Discussed in Thread: CC1352P, UNIFLASH

I have two CC1352P launchpads connected to my PC and am attempting to use the uniflash software to program with both launchpads. 

I can program a single device with the launchpad via the following command 

 dslite.bat -c \targetConfigs\CC1352P1F3.ccxml -f  myCode.bin,0x0

However, seems random in which launchpad it picks. I see both launchpads in device manager and with detect-devices.bat . Is there any way I can specify the usb-comm port (or something) via the uniflash CLI so I can select which launchpad to use? 

Doc reference:

http://downloads.ti.com/ccs/esd/uniflash/docs/latest_qsguide.html 

Similar forum post (though for another platform so I don't think the commands are directly applicable) 

https://e2e.ti.com/support/microcontrollers/other/f/908/t/840512 

  • Figured out a method of doing this via generating a unique CC1352P1F3.ccxml configuration for each launchpad which locks in the serial # of the launchpad. While that works, its a little bit more tricky to setup then being able to specify a comm port number 

  • Hi Nathan, 

    Thanks for sharing your progress.

    I'll check with the team if they have another suggestion, I will let you know as soon as I have an update.

    Thanks, 
    Elin

  • Hi again Nathan, 

    Just heard back from the team and unfortunately using the serial numbers is the only solution. 

    Thanks, 
    Elin

  • Hi Nathan,

    Note that if you start up the UniFlash GUI, our detection module will list out all your LaunchPads with the XDS serial number. If you click on one of them, it will take you to the main interface where you will be able to download the CCXML with the serial number included, or generate a fully portable command line package based on this configuration.

    Unfortunately, the ability to generate CCXML is not available from UniFlash CLI at this time, so starting the GUI is needed for this.

    We are also looking at improving the documentation on supporting multiple LaunchPads in the UniFlash documentation.

    Thank you,

    Ricky