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-CC1352R1: host_cc13xx-sbl fails to download host_test application

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

Hello!
I have cc1352R launchpad. I need to program it with sbl over UART. 


When I try to program host test application from ble stack examples, it always fails at the end. 

Using Two wrire SBL Interface
./host_cc13xx-sbl ccDnld-v1.00.00 -- Jul 15 2020 11:28:50

Device set to: cc13x2
Opening serial port /dev/ttyACM0
Open binary file /home/serhii/temp/ble5_host_test_cc13x2r1lp_app.bin
Binary file size = 360448
Connecting:
Connected
Erasing: 
[==================================================] 100% 
Downloading: 
[==================================================] 99% 
Error during download
Abnormal termination, port close successful

Then, any attempts to reprogram it fails at the beginning:

Using Two wrire SBL Interface
./host_cc13xx-sbl ccDnld-v1.00.00 -- Jul 15 2020 11:28:50

Device set to: cc13x2
Opening serial port /dev/ttyACM0
Open binary file /home/serhii/temp/ble5_host_test_cc13x2r1lp_app.bin
Binary file size = 360448
Connecting:
Connected
Erasing: 
[=                                                 ] 0% 
Flash erase failed error status 1
Abnormal termination, port close successful

Any other firmware (rfEasylink etc) programs without any issue. 
TI SDK 4.20.00.35 is used.

How can I program host test application with host_cc13xx-sbl tool?

  • Hi,

    I will look into this and will get back with you in a couple of days.

    You mentioned you are using SDK 4.20.00.35 for the images you are downloading to the device. Could you clarify however the host_cc13xx-sbl tool you are using? Are you using the cc13xx-sbl tool from the TI 15.4 Linux Gateway SDK by any chance?

    Regards,
    Michael

  • Hello, thanks for your reply!

    I have already figured out the reason. 
    Binary file that was generated in host test application had invalid CCFG area despite of valid configuration in syscfg file.
    I have copied 4 bytes from rfEasylink firmware starting from address 0x00057FD8 and everything works fine now. 

    So, there is an issue somewhere in build system of host_test application. It ignores Bootloader options from syscfg. 

  • Glad to hear you resolved the issue!

    Yes, unfortunately the host_test project is not updated for configuring the CCFG using SysConfig yet. You can directly add the bootloader configuration defines in the Startup/ccfg_app_ble.c for the project.  

    Regards,
    Michael