LP-CC1352P7: SBL firmware update not working

Part Number: LP-CC1352P7
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hello!

I am currently trying to figure out how the SBL works (using this PDF). I use UniFlash to upload over serial to the SBL. But whenever I try, it somewhat indicates a success, but when exiting the SBL it does not run my program. I do the following steps:

  • I select the binary file in UniFlash
  • I select the right comport
  • I reset the device with the GPIO enabled to enter the SBL
  • I load the program
  • I power cycle the device

The console output seems to indicate a success, but I do get an error. After uploading I power cycle the device (without the backdoor GPIO enabled) but it does not run the program. I checked the memory after flashing and it seems to have uploaded the firmware, but I don't know if everything is correct. Any ideas?

With kind regards,
Job Meulenbeld

[9/1/2025, 11:56:04 AM] [INFO] Cortex_M3_0: CC1352R1F3(Bootloader)
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Auto baud detection is successful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Ping command is successfully received by target!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x0 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x2000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x4000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x6000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x8000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0xA000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0xC000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0xE000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x10000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x12000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x14000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x16000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x18000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x1A000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x1C000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x1E000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x20000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x22000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x24000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x26000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x28000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x2A000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x2C000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x2E000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x30000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x32000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x34000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x36000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x38000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x3A000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x3C000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x3E000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x40000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x42000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x44000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x46000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x48000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x4A000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x4C000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x4E000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x50000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x52000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x54000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x56000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x58000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x5A000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x5C000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x5E000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x60000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x62000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x64000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x66000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x68000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x6A000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x6C000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x6E000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x70000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x72000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x74000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x76000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x78000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x7A000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x7C000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x7E000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x80000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x82000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x84000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x86000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x88000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x8A000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x8C000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x8E000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x90000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x92000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x94000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x96000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x98000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x9A000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x9C000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0x9E000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0xA0000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0xA2000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0xA4000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0xA6000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0xA8000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0xAA000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0xAC000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erase sector on address :0xAE000 is succesful!
[9/1/2025, 11:56:05 AM] [INFO] Cortex_M3_0: Erasing memory time elapsed: 0.6959s
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Programming memory time elapsed: 37.12s
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Number of bytes programmed: 720896 bytes
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Programming speed: 18.96kByte/s
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x0 for 0x2000 bytes, is match with the expected CRC : 0xD87C95F4
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x2000 for 0x2000 bytes, is match with the expected CRC : 0x6C51A444
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x4000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x6000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x8000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0xA000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0xC000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0xE000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x10000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x12000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x14000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x16000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x18000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x1A000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x1C000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x1E000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x20000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x22000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x24000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x26000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x28000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x2A000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:42 AM] [INFO] Cortex_M3_0: Verify memory at address :0x2C000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x2E000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x30000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x32000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x34000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x36000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x38000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x3A000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x3C000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x3E000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x40000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x42000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x44000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x46000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x48000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x4A000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x4C000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x4E000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x50000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x52000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x54000 for 0x2000 bytes, is match with the expected CRC : 0xD8F49994
[9/1/2025, 11:56:43 AM] [INFO] Cortex_M3_0: Verify memory at address :0x56000 for 0x1FD8 bytes, is match with the expected CRC : 0xCBC39AFF

  • Hi Job,

    When the devices boots, it has three choices:

    a) If a debugger is attached, it will halt in boot (this is what happens if you use CCS to start a debug session)

    b) If the bootloader backdoor is activated or there is no valid image, go to the serial bootloader and wait to receive an image

    c) Start the application image.

    If you load an image where bootloader is enabled and bootloader backdoor is defined, then restart the device while activating bootloader backdoor (typically by holding a button), the device will go into serial bootloader where it's waiting for an image, i.e. not running the application. Is this the scenario you are describing?

    Cheers,
    Marie H