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.

Linux/CC1312R: tools issue: updating firmware for debug probe

Part Number: CC1312R
Other Parts Discussed in Thread: UNIFLASH, CC1352R, LAUNCHXL-CC1352R1

Tool/software: Linux

This is a question form a customer:

Tried to debug collector_cc1312lp and were request to update firmware for the debug probe.  However, after I click the “Update” button to upgrade, my CC1312R launchpad “Green LED” went off and CCSv7 can not communicate with CC1312R.launchpad.

 

Attached Console log:

 

Cortex_M4_0: GEL Output: Memory Map Initialization Complete.

Cortex_M4_0: Warning: A firmware update is required for the debug probe. Click the "Update" button to update the firmware and connect to the debug target. DO NOT UNPLUG THE DEBUG PROBE DURING THE UPDATE. (Emulation package 7.0.100.1) 

IcePick_C: Warning: A firmware update is required for the debug probe. Click the "Update" button to update the firmware and connect to the debug target. DO NOT UNPLUG THE DEBUG PROBE DURING THE UPDATE. (Emulation package 7.0.100.1) 

IcePick_C: Error: (Error -265 @ 0x0) The firmware updater encountered an error and could not finish. Unplug and re-plug the XDS110, and try again. If the problem remains, try updating the firmware using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of the CCS installation. View the ReadMe.txt file there for instructions. (Emulation package 7.0.100.1) 

Cortex_M4_0: Error: (Error -265 @ 0x0) The firmware updater encountered an error and could not finish. Unplug and re-plug the XDS110, and try again. If the problem remains, try updating the firmware using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of the CCS installation. View the ReadMe.txt file there for instructions. (Emulation package 7.0.100.1) 

  • Hi,

    Unfortunately there is an outstanding issue with newer releases of launchpads and the utility that performs the firmware update.

    The only solution at this moment is to update the firmware using a Windows host. Sorry.

    I apologize for the inconvenience,
    Rafael
  • Hi,

    I just did a test here with an ancient firmware on Linux so I could purposely brick my CC1352 launchpad.

    In my case even Windows was unable to recognize the CC1352 board plugged into USB - if that is happening to you, then check the document shown in section 7.1 of the XDS110 page below:

    http://processors.wiki.ti.com/index.php/XDS110 

    The simplest procedure to bring the debug TM4C device back to DFU mode (and thus to allow updating the firmware on a Windows host) is to ground the JTAG TDO pin of the debug device (not the one in the header) and plug the USB cable. 

    After doing that, you can follow the procedure shown in section 7 of the page below but skipping step 3 (as the device will be in DFU mode already). 

    Hope this helps,

    Rafael

  • Hi Rafael,
    is there any progress on the issue? I'm fine with NOT updating the debugger firmware, just need to get the software into the device (CC1352R) one way or another. I've got no windows machine available unfortunately. Some earlier version of uniflash or something?

  • Hi,

    The recently released TI Emulators package 7.0.188.0 seems to handle this issue. I just downgraded the firmware on my LAUNCHXL-CC1352R1 and was able to successfully upgrade it using this version.

    You can either install CCSv8.0.0 or update your existing CCSv7.x version. 

    Hope this helps,

    Rafael

  • Great, thank you. I couldn't make CCS see my device yet, but I will try. Do you know if it is also run firmware update with Uniflash under Linux? And if yes, then what is the earliest working version?

  • Hi,

    Differently than CCS, Uniflash version 4.x does not usually pick updates to its components, requiring an entirely new version to be released.

    I imagine this new TI Emulators component will be picked up when the next release will become available, which will happen soon - I don't have an exact date, though.

    Regards,
    Rafael
  • Great, thank you. Now I can blink my LEDs =)