Part Number: TMS320F28388D
Hello Experts,
I have a scenario, which is working intermittently.
I want to have a set of variables defined and uninitialized. These variables will be set during execution. Post that, the system would initiate an internal watchdog reset and expect the data be present and not erased in those memory locations.
I have used the below options to perform the same
Cmd file:
RAMD1 : origin = 0x00C800, length = 0x000800
ReservedRam :> RAMD1, type=NOINIT
Code:
#pragma DATA_SECTION(u32UninitRAM,"ReservedRam")
unsigned int UninitRAM;
Expectation:
If the variable is set with 30, then after a watchdog reset, it's expected to retain 30.
This works sometimes and sometimes not. I am not sure what i am missing here.
I have used this way in F28335 and it never failed.
Will this data be part of .bss section? if not where will it be allotted.?
Please guide
Thanks
Mohan