Tool/software:
Hi Team,
My customer is developing on their custom board and using the OSPI SBL included in SDK 10.1.0.31.
C:\ti\mcu_plus_sdk_am263px_10_01_00_31\examples\drivers\boot\sbl_ospi\am263px-cc\r5fss0-0_nortos
They came across an issue where their custom application would stop during application initialization (not in the SBL).
They made the changes below in the SBL, which resolved the application stopping.
main()
Bootloader_rprcImageLoad()
imgReadFxn() (function pointer to Flash_imgRead() )
CacheP_wb() <- There was no processing (floor, ceil) against the input addr and size to match the cache line.
At the end of the SBL before the last Bootloader_runSelfCpu(), they called CacheP_wbAll(CacheP_TYPE_ALL), which resolved any issue they had.
Are the changes above OK?
Best regards,
Mari Tsunoda