Hi all,
I'm developing a bootloader for TMS570LC4357.
At the moment I have a working bootloader that allows me to write flash memory and an application.
When switching on the bootloader has to start, it has to recognize that a poweron reset has occured and jump to the application.
The application while running has to set a RAM variable to jump to the bootloader; this variable resides into a shared RAm between the bootloader and the application.
The jump from the application to the boot is done setting : systemREG1->SYSECR = 0x8000;
The problem is: this reset is not recognized as a sowtware reset but as a "NO_RESET"; this causes a RAM initialization that deletes the information stored into the shared RAM; as a consequence the bootloader will jump back to the application.
How is it possible to avoid the RAM initialization?
I did this following this thread:
Any help will be appreciated.
Thanks
Valentina