Hi!
I am using IAR compiler for my project
I declare global variable
__no_init u32 uPowernResetSignature;
in my code I assign value to this variable
uPowernResetSignature=0x11223344;
After that I perform software reset using
NVIC_SystemReset();
After that I check uPowernResetSignature variable.
I expect to see value 0x11223344 because according to datasheet software reset should not change RAM.
I also expect that compiler will not init this variable because __no_init declaration.
But after reset I see in debugger 0.
Can somebody explain why and help how to solve it?
Thank you