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.

CC1312R: bootloader question

Part Number: CC1312R
Other Parts Discussed in Thread: UNIFLASH

Team, My customer is seeing an issue described below, I hope you can help address:

We have been hitting an issue while using the backdoor bootloader to update the firmware for our CC1312 SoCs. 

After sending all frames of data successfully, the CC1312 bootloader responds to the final frame with 0x44 (CMD_RET_FLASH_FAIL). Everything beforehand looks correct, and the bootloader responds to all other frames with 0xCC (ACK) and 0x40 (CMD_RET_SUCCESS). We have had plenty of success with this operation in the past, but do see failures sometimes without much of an obvious pattern.

Logic analyzer capture can be provided. 

Thanks

Viktorija

  • Hi Viktorija,

    1) One reason this could happen is if they program an incomplete image. Can you ask them to verify that it's the full image?

    2) Can they also program the image with SmartRF Flash Programmer 2 (or Uniflash) and verify that the device runs as expected?

    3) If the image is ok, the third test is to read out the flash from the device after this CMD_RET_FLASH_FAIL happens. They can use Flash Programmer 2 to read it out, then I would like for them to compare it to the original image.