How can I make my application read the unique id i wrote with fdt during programming?

First of all, with IAR (on a microcontroller of the RL78 family) I can do this by reserving a location for the unique id in the .xcl file, and using (in the source code) #pragma location to define a __no_init variable on the address where I put my ID.

 

The problem is that in HEW I can't find an alternative for __no_init, so I don't know how to define a variable in the location where i will put my unique id whithout initialize it and lose the data.

Do you guys have an alternative solution?

 

thanks,

Parents Reply Children
No Data