Other Parts Discussed in Thread: OMAP-L138, SYSBIOS
I'm running SYS/BIOS-6.35 on an OMAP-L138 and would like to be able to use SYSBIOS's Power_sleepDSP(). I'm running into issues with placement of code/data in on-chip memory so that when the system comes out of SLEEP mode it does't try to execute any code that is in DDR until the DDR controller has been reenabled.
The Wiki (http://processors.wiki.ti.com/index.php/Power_Module_for_C6748_and_OMAP-L138#Constraints_for_Power_SLEEP_and_Power_DEEPSLEEP) recommends putting pretty much everything (.text, .stack, .far, .vecs) in L2 or L3. For large programs, this obviously isn't a viable solution. Power provides a mechanism for putting the critical PMI code on chip (Power.onChipRegion), but this doesn't address any of the HWI handlers that will get invoked. I tried to explicitly move everything Hwi related on-chip , but at this point I have a few items that I haven't been able to move there (e.g. ti_sysbios_family_c64p_Hwi_Module__state__V). As a result, the Hwi handler fails coming out of SLEEP mode. It seems to me like I must be missing something. Is there a simple way to get all of SYS/BIOS's Hwi related code/data to link on-chip?
Thanks,
John Filo