CC2674P10: The __no_init qualifier does not work

Part Number: CC2674P10

Tool/software:

Hello,

I use the qualifier __no_init for several variables which shall keep their value after a reset of the micro (eg: harfault error, unexpected reset of the micro,...) because they are part of a context which shall be saved in an internal flash sector only when the device is switched off from the mains. But I observe that these variables are always initialized with the value 0. Normally this qualifier is an indication to the comiler (IAR) that it should not initialize these variables to 0 at startup. But it seems that this qualifier has no effect. Do you confirm this observation ? and if yes what workaround do you propose to avoid this problem? This feature is a very critical feature in our project as we cannot save the context in the internal flash sector each time the context is changed in runtime.

Thanks in advance