Other Parts Discussed in Thread: TM4C129XNCZAD, SYSBIOS
Tool/software: TI-RTOS
Hi all,
I hope you are doing fine.
I am working with TM4C129XNCZAD hibernation mode and am having issues with soft reset after waking up from hibernation. I have listed the details below. Please have a look at these.
In our project, we are using a Bootloader based on TI RTOS and it is assigned ROM adresses from 0x00000000 to 0x027FFF. The main application code, also based on TI RTOS, is present on ROM address from 0x00029000 to 0x000FAFFF. In main application code, the shutdown code puts MCU in hibernation mode and tamper events 0(PM7) and 1(PM6) are configured to wake the MCU from hibernation. After waking up from hibernation, in tamper event handler i am clearing the tamer events and after disabling the tamper module, i do a soft reset. I having problems waking up from hibernation and these are detailed below.
(i) When using bootloader, after waking up from hibernation the control does not return to bootloader. If , in shutdown function, instead of putting MCU to hibernation, i do a soft reset then the code starts execution from bootloader.
(ii )If i don't use the bootloader and configure my main application to start from 0x00000000, it works fine after waking up from hibernation.
If anyone has experience with using hibernation, please let me know what am i missing here that is causing issues with hibernation.
Thanks,
Muhammad Shuaib