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.

CCS/LAUNCHXL-CC26X2R1: firmware upgrade problem

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

Tool/software: Code Composer Studio

Hi,

I'm trying to upgrade the firmware for this board but so far I was unable to do it. CCS hangs trying to upgrade. Manual upgrade is also unsuccessful. After switching into DFU mode Tthe tool is trying forever to find device. 

➜  xds110 ./xdsdfu -e

USB Device Firmware Upgrade Utility

Copyright (c) 2008-2015 Texas Instruments Incorporated.  All rights reserved.

Scanning USB buses for supported XDS110 devices...

<<<< Device 0 >>>>

VID: 0x0451    PID: 0xbef3

Device Name:   XDS110 Embed with CMSIS-DAP

Version:       2.3.0.8

Manufacturer:  Texas Instruments

Serial Num:    L110029Q

Mode:          Runtime

Found 1 device.

➜  xds110 ./xdsdfu -m

USB Device Firmware Upgrade Utility

Copyright (c) 2008-2015 Texas Instruments Incorporated.  All rights reserved.

Scanning USB buses for supported XDS110 devices...

<<<< Device 0 >>>>

VID: 0x0451    PID: 0xbef3

Device Name:   XDS110 Embed with CMSIS-DAP

Version:       2.3.0.8

Manufacturer:  Texas Instruments

Serial Num:    L110029Q

Mode:          Runtime

Switching device into DFU mode.

➜  xds110 ./xdsdfu -f firmware.bin -r

USB Device Firmware Upgrade Utility

Copyright (c) 2008-2015 Texas Instruments Incorporated.  All rights reserved.

Scanning USB buses for supported XDS110 devices...

^C

I tried it on Mac/Linux and windows for manual and CCS for Mac.

Any idea how to proceed?

-- 

m

  • Maybe try to use Flash Programmer 2.
  • YiKai Chen said:
    Maybe try to use Flash Programmer 2.

    Which version? Latest I found is 1.7.5. I don't think it works with this board. It does work with 2650 version of launchxl not 2652

    Also, I want to upgrade XDS110 firmware not to MCU itself. That works with uniflash on Mac.

  • SmartRF Flash Programmer 2 version 1.7.5 will not work with the "CC26x2" devices. That is correct.

    You could try SmartRF Studio 7. The latest version (2.8.0) can be downloaded from here: www.ti.com/.../SMARTRFTM-STUDIO

    SmartRF Studio will check the FW version of your XDS110 debug emulator. If a FW update is required it will say so in the list of connected devices at the bottom of the startup window.

    Double click the entry in the device list. Then a dialog to do FW update will popup. Answer yes to do the update and see if that will work out. 

    Regards,

    Øyvind

  • Hi,

    I tried SmartRF studio but it seems to be ok with current FW version of XDS :(

    Anyone got CCS working with LAUNCHXL-CC26x2R1 on Mac?

    -- 

    m

  • I installed ccs on a windows VM but this only got me one step further ;)
    Now, I'm able to get DFU_ERR_UNSUPPORTED error while trying to upgrade the XDS firmware.

    c:\ti\ccsv7\ccs_base\common\uscif\xds110>xdsdfu -e

    USB Device Firmware Upgrade Utility
    Copyright (c) 2008-2015 Texas Instruments Incorporated. All rights reserved.

    Scanning USB buses for supported XDS110 devices...


    <<<< Device 0 >>>>

    VID: 0x0451 PID: 0xbef3
    Device Name: XDS110 Embed with CMSIS-DAP
    Version: 2.3.0.8
    Manufacturer: Texas Instruments
    Serial Num: L11002KP
    Mode: Runtime

    Found 1 device.

    c:\ti\ccsv7\ccs_base\common\uscif\xds110>xdsdfu -m

    USB Device Firmware Upgrade Utility
    Copyright (c) 2008-2015 Texas Instruments Incorporated. All rights reserved.

    Scanning USB buses for supported XDS110 devices...


    <<<< Device 0 >>>>

    VID: 0x0451 PID: 0xbef3
    Device Name: XDS110 Embed with CMSIS-DAP
    Version: 2.3.0.8
    Manufacturer: Texas Instruments
    Serial Num: L11002KP
    Mode: Runtime

    Switching device into DFU mode.

    c:\ti\ccsv7\ccs_base\common\uscif\xds110>xdsdfu -f firmware.bin -r

    USB Device Firmware Upgrade Utility
    Copyright (c) 2008-2015 Texas Instruments Incorporated. All rights reserved.

    Scanning USB buses for supported XDS110 devices...

    Downloading firmware.bin to device...
    Error DFU_ERR_UNSUPPORTED (-5) reported during file download
  • Question somewhat on the side: Which CCS version do you use? 7.4?
  • Hi,

    When macOS High Sierra was released I filed a bug under the number DBGTRC-3789 that addressed this case. This affects standalone XDS110 Debug Probes and the newest Launchpads which share the same HW/FW design with the standalone XDS110. The only solution is to perform the update on a Windows or Linux host.

    However, today I tried to reproduce this issue on the same HW (the standalone XDS110 and my CC1352 launchpad) but the update process went through without any issues, both from inside CCS and from the command line. I used multiple versions of firmware and CCS.

    The only difference between the two is the macOS build: the bug was filed against build 10.13.2 and I currently have 10.13.3 installed.

    Therefore I ask: what is the build you have?

    Regards,
    Rafael
  • yes, it's 7,4
  • Hi,

    I'm using mac os x 10.13.3. I already tried it on linux but it also doesn't work. After switching int dfu mode the utilities fails to find the device even though it's visible on the usb device list.

    aron@nuc:~/ti/ccs_base/common/uscif/xds110$ ./xdsdfu -e

    USB Device Firmware Upgrade Utility
    Copyright (c) 2008-2015 Texas Instruments Incorporated. All rights reserved.

    Scanning USB buses for supported XDS110 devices...


    <<<< Device 0 >>>>

    VID: 0x0451 PID: 0xbef3
    Device Name: XDS110 Embed with CMSIS-DAP
    Version: 2.3.0.8
    Manufacturer: Texas Instruments
    Serial Num: L110029Q
    Mode: Runtime

    Found 1 device.
    aron@nuc:~/ti/ccs_base/common/uscif/xds110$ ./xdsdfu -m

    USB Device Firmware Upgrade Utility
    Copyright (c) 2008-2015 Texas Instruments Incorporated. All rights reserved.

    Scanning USB buses for supported XDS110 devices...


    <<<< Device 0 >>>>

    VID: 0x0451 PID: 0xbef3
    Device Name: XDS110 Embed with CMSIS-DAP
    Version: 2.3.0.8
    Manufacturer: Texas Instruments
    Serial Num: L110029Q
    Mode: Runtime

    Switching device into DFU mode.
    aron@nuc:~/ti/ccs_base/common/uscif/xds110$ ./xdsdfu -f firmware.bin -r

    USB Device Firmware Upgrade Utility
    Copyright (c) 2008-2015 Texas Instruments Incorporated. All rights reserved.

    Scanning USB buses for supported XDS110 devices...

    The requested device was not found on the bus.

    aron@nuc:~/ti/ccs_base/common/uscif/xds110$ lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 003: ID 8087:0a2b Intel Corp.
    Bus 001 Device 015: ID 1cbe:00ff Luminary Micro Inc. Stellaris ROM DFU Bootloader
    Bus 001 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    aron@nuc:~/ti/ccs_base/common/uscif/xds110$ uname -a
    Linux nuc 4.8.2-040802-generic #201610161339 SMP Sun Oct 16 17:41:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
    aron@nuc:~/ti/ccs_base/common/uscif/xds110$ ./xdsdfu -e

    USB Device Firmware Upgrade Utility
    Copyright (c) 2008-2015 Texas Instruments Incorporated. All rights reserved.

    Scanning USB buses for supported XDS110 devices...


    Found 0 devices.
    aron@nuc:~/ti/ccs_base/common/uscif/xds110$
  • Hi,

    That is interesting. I will see if someone here has a 10.13.2 or 10.13.3 to try to reproduce this issue on their launchpad. I will also see if someone around here has a LAUNCHXL-CC26X2R1 that I could borrow.

    One question: after you updated the firmware, did you unplug and re-plug it from the USB port? Under certain host configurations and FW, the new firmware did not start unless there is a complete power cycle on the XDS110 probe.

    Another question: do you have a different launchpad or XDS110 probe that you could try to test the update firmware procedure? I just want to try to isolate the issue to this particular combination of tools.

    Also, can you try this procedure on a Windows host? Although our report indicates a Linux host should work, your scenario looks a bit different.

    Regards,
    Rafael
  • Hi,

    I got the confirmation someone was able to reproduce this issue but on 10.13.2 and using the exact same configuration and software versions as both of us. I can't necessarily tell what can be possibly happening in this case.

    Given the firmware version you are using is somewhat older, perhaps the bootloader may be equally old. Therefore there is one additional step that could be tested - update the boot code of the XDS110.

    To do that, make sure the pod is fully operational by issuing xdsdfu -e, then xdsdfu -m and after that you can issue xdsdfu -b boot_loader.bin -r

    Just be mindful there is a larger risk of bricking the pod when compared to the process of updating the firmware; also, it is not guaranteed this will allow you to update the firmware on macOS. At last, to update this you will forcefully need a Windows host.

    Regards,

    Rafael

  • Hi,

    I tried to update bootloader using windows VM but it also didn't work :(

    c:\ti\ccsv7\ccs_base\common\uscif\xds110>xdsdfu -e

    USB Device Firmware Upgrade Utility
    Copyright (c) 2008-2015 Texas Instruments Incorporated. All rights reserved.

    Scanning USB buses for supported XDS110 devices...


    <<<< Device 0 >>>>

    VID: 0x1cbe PID: 0x00ff
    Device Name: <<Unknown>>
    Manufacturer: <<Unknown>>
    Serial Num: <<Unknown>>
    Mode: DFU

    Found 1 device.

    c:\ti\ccsv7\ccs_base\common\uscif\xds110>xdsdfu -f firmware.bin -r

    USB Device Firmware Upgrade Utility
    Copyright (c) 2008-2015 Texas Instruments Incorporated. All rights reserved.

    Scanning USB buses for supported XDS110 devices...

    Downloading firmware.bin to device...
    Error DFU_ERR_UNSUPPORTED (-5) reported during file download

    c:\ti\ccsv7\ccs_base\common\uscif\xds110>xdsdfu -b boot_loader.bin -r

    USB Device Firmware Upgrade Utility
    Copyright (c) 2008-2015 Texas Instruments Incorporated. All rights reserved.

    Replacing the bootloader may render the XDS110 unusable.
    Do you want to continue (Y/N) ? y
    Scanning USB buses for supported XDS110 devices...

    Downloading boot_loader.bin to device...
    Error DFU_ERR_UNSUPPORTED (-5) reported during file download

    c:\ti\ccsv7\ccs_base\common\uscif\xds110>

  • Marcin,

    We have a beta version of our XDS110 stack that should address this issue. Would you be willing to give it a try? We are still working out when the release would be but we would like to get you past this.

    Regards,
    John
  • John,

    Sure, I'm happy to give it a try.

    -- 

    m

  • Marcin,

    I sent you a friendship request. Please accept it so I can send you a link to the beta emulation pack.

    Regards,
    Rafael
  • For others following this thread, the beta emulation pack worked for the OP.
  • Rafael,

    it looks like I ran into the same issue. Can you give me access to the beta emulation pack, too?

    Thanks
    Arno
  • Just for the record: using the beta emulation pack supplied by Rafael solved the issue for me.
  • Hi there,

    I´m having the same problem but in my case with 2 LP CC1352R1. I´ve tried with the new version CCS v8 and the same problem continues.

    Error DFU_ERR_UNSUPPORTED (-5)

    Please, Can you send me the link to solve the problem.

    Thank´s in advance

    Best Regards

    MGG

  • I've accepted your friendship request

    Thanks in advance
    Regards
  • This patch was released in version 8.0.27.9 of the TI Emulators Software Package.

    Simply go to menu Help --> Check for Updates to install the latest release of this component.