Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

Regarding issue variable reinitialization after reset

$
0
0
Hello Neal,

My name is Nayan Patel and I am new to this forum. I am facing the similar issue with Tricore Aurix TC23x.

I am writing some variable value and then performing micro internal WD reset. I want to NOT initialize this variable after this reset and want it retain its value from before the reset.

For doing that I used the pragma that you referred in the previous answer and also modified the .lsl file. I can see in the map file that the variable is placed at desired location (0x70002000) in dspr but still after WD reset, the variable value goes zero. I have checked the FLASH0_PROCOND register and the RAMIN value is init_all. Is it the problem? When I placed the variable to dspr location, still do I need to change RAMIN value?

Thanks for your help in advance.

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>