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.
HI,
I am working on secondary bootloader (SBL) implementation with CANFD. I have done normal initialization for CANFD communication.The entire code is working fine with code composer studio(CCS).
But if I do it by burning the image with uniflash it is not working.The CAN interrupt is not registering.
From other source I got to know that I need to set up the MPU(memory protection unit ) configuration for CANFD peripheral.I tried with following configuration but still not working.
Can you please provide me the correct MPU configuration for CANFD.
Used configuration:
#if ((SOC_XWR18XX_MSS_MCAN_BASE_ADDRESS & (128U - 1)) != 0)
#error SOC_XWR18XX_MSS_MCAN_BASE_ADDRESS not aligned to 128 bytes
#endif
SOC_MPUSetRegion(SOC_MPU_REGION12);
SOC_MPUSetRegionBaseAddress(SOC_XWR18XX_MSS_MCAN_BASE_ADDRESS);
SOC_MPUSetRegionTypeAndPermission(SOC_MPU_STRONGLYORDERED_SHAREABLE, SOC_MPU_PRIV_RW_USER_RO_NOEXEC);
SOC_MPUSetRegionSizeRegister(SOC_MPU_REGION_ENABLE | SOC_MPU_128_BYTES);