Other Parts Discussed in Thread: UNIFLASH, SYSCONFIG
Hi expert,
Customer reported issue on SBL code in mmwave SDK 5.3.0.2. Because the debug configuration for SBL is not work, it is suggested to use release configuration.
Default SBL works well on EVM but we found if add McSPI into syscfg SBL failed to boot the application. If we change the optimization option from -Os to -O0 then SBL works again.
Please help to check below information and let us know your suggestion. Thank you.
The test bench is
EVM: 6432 ES1.0
SDK: 5.3.0.2
SBL project: C:\ti\MMWAVE_L_SDK_05_03_00_02\examples\drivers\boot\sbl\xwrL64xx-evm
Uniflash
Meta Image 1: sbl.Release.appimage
Meta Image 4: C:\ti\MMWAVE_L_SDK_05_03_00_02\examples\mmw_demo\mmwave_demo\prebuilt_binaries\xwrL64xx\mmwave_demo.release.appimage
With -Os and McSPI added, SBL failed to boot image
**********************************************
Secondary Bootloader Application Start
**********************************************
Press CR key or Space key to stop auto boot and Update Meta Image...
Loading existing Meta Image from Flash in 10 9 8 7 6 5 4 3 2 1
Booting the Application.
No Valid application found. Booting backup factory default image...
No Valid Image found in flash. Try loading Valid Application...
Change to -O0, SBL works.
**********************************************
Secondary Bootloader Application Start
**********************************************
Press CR key or Space key to stop auto boot and Update Meta Image...
Loading existing Meta Image from Flash in 10 9 8 7 6 5 4 3 2 1
Booting the Application.
No Valid application found. Booting backup factory default image...
******************************************
xWRL6432 MMW Demo 05.03.00.02
******************************************
mmwDemo:/>
syscfg is
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/1023/example.syscfg