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.

AWR6843AOP: CAN SBL Stuck at Image Loading

Part Number: AWR6843AOP
Other Parts Discussed in Thread: AWR1843

Tool/software:

Hi, 

I adapted the can sbl example from Radar Toolbox on AWR1843 to AWR6843AOP. Everything works fine while debugging in CCS with ccsdebug binary flashed. However when I flash the same application and try to run it in functional mode, it cannot complete parsing the image. I debugged the issue using log prints and found that it gets stuck at a for loop inside the SBL_ImageLoad function below: 

 

The log inside the loop lastly prints loopCnt as 80 and then the app never responds. I could not debug it further because simply it never occurs while debugging. It is able to parse the whole binary image and start the application. I also experimented with other mmWave SDK versions, the problem persists. 

Here are my CCS project settings:

Post-build steps are as below:

${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/out2rprc/out2rprc.exe ${WORKSPACE_LOC}/can_sbl18xx_mss/Debug/${ProjName}.xer4f ${WORKSPACE_LOC}/can_sbl18xx_mss/Debug/${ProjName}.tmp
${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x02000006 xwr18xx_sbl_demo.bin 0x35510000 ${WORKSPACE_LOC}/can_sbl18xx_mss/Debug/${ProjName}.tmp
${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe xwr18xx_sbl_demo.bin xwr18xx_sbl_demo.tmp
${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe xwr18xx_sbl_demo.bin

Do you have any idea what might be causing this problem?

Thank you.

  • I just solved my problem. Here is my solution for those who are encountering the same issue:

    I compared my sbl_xwr68xx.c file with the one under mmWave SDK SBL utility. I noticed a difference in configuring the MPU settings for BSS section outlined here:

                 

    After adding SOC_ungateClock() function to my sbl_xwr68xx.c source file, the application worked as expected in functional mode. It was able to successfully complete parsing and booted the application image sent over CAN.

  • Thanks for sharing!