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.

AWR1843BOOST: Stored configuration parameters are lost after update the firmware through CAN-SBL demo

Expert 2050 points
Part Number: AWR1843BOOST
Other Parts Discussed in Thread: AWR1843

I upload the sbl and the firmaware to the flash memory of my AWR1843 device. sbl is base on the automotive demo can-sbl, the firmware is base on the automotive demo mrr.

In the firmware, we set the configuration parameter's start address as 0x100000

#define RADAR_CONFIG_FLASH_OFFSET              0x100000

Then I write some configuration parameters to this address by using mmwDemo_flashWrite. 

The issue is that every time after I load a new firmware to the sensor by using sbl (CAN), these configuration parameters are lost while firmware update is succeeded. 

I suspect the sbl uploads the data which overwrites the configuration parameters at the address 0x100000, I tried the start address at 0x120000 and 0x130000, but it doesn't work.

Q1: Can you please check what probably causes this issue?

Q2: I could not find which function is used to write the data to the flash memory in can-sbl demo's source code. Can you please tell me which function is used use to write the data to the flash memory in the can-sbl demo?

Thanks

  • Hi,

    Please review the sbl documentation provided in the mmWave SDK. In the SDK the image was read through UART. However this information also applies to CAN. See section 6. Appendix.

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\utils\sbl\docs\SBL_design.pdf

    Thank you

    Cesar