Other Parts Discussed in Thread: SYSBIOS, AWRL1432
Tool/software:
Hi,
My customer is using SBL+APP. They want to init .bss section of APP to all zero value after APP is copied from flash to RAM.
I tried to add fill=0 in cmd file, but it will fill zero to .bss in link time and will erase the memory range of .bss to 0 when copying from flash to RAM. This is not what customer wants. Customer wants the value of .bss to zero after APP copy to RAM and run.
I found --zero_init=on build option but it seems it can only work in rom mode, but ram mode is used currently.
I searched in forum and found in sysbios, it will init .bss to zero by default in statup.c. (+) Initializing BSS Section - Processors forum - Processors - TI E2E support forums
Would you pls kindly advise how to init .bss (APP) to zero after loading APP for AWRL1432 (freertos/TI CLANG complier)?
Thanks,
Chris