Tool/software:
Accoridng to AWRL6432 data sheet, there are three memory usages.
My question is that which one is the default memory usage when RBL starts SBL.
Thanks
Hello,
Thanks for posting this question on E2E. Please allow us one working day to respond.
Hello,
Thank you for reaching out over E2E regarding the default memory usage. The memory usage is determined based on the SH_MEM_CONFIG that is compiled into the appimage loaded onto the device SFLASH. During the RBL sequence, it will check the SH_MEM_CONFIG within the appimage and program certain shared memory registers based on the SH_MEM_CONFIG value to enable certain memory configurations.
The SH_MEM_CONFIG is compiled into the appimage during the post-build steps of a project and can be modified by opening up a project's makefile_ccs_bootimage_gen file and modifying SH_MEM_CONFIG.
Note: There is additional memory initialization that must be done during code initialization by using the SOC_memoryInit function. This is dependent upon the device variant. For AWRL6432, HWASS dedicated (160 KB) memory, TPCCA and TPCCB memory, and FECSS shared (96 KB) memory must be initialized before use.
Regards,
Kristien