Other Parts Discussed in Thread: HALCOGEN, TMS570LS1227
Hi all,
How can I assign data to absolute addresses?
For example, How can I assign "unsigned int xxx" global variable to 0x08002000 address?
And How can I read the value of global variable before that it is initialized?
In starup code,I should read the value of the global variable before it is initialized, and then assign it a patter of data.
This allows me to differentiate the power on reset and the porrst.
My code should be:
unsigned int xxx;
_c_int00()
{ ....
if xxx==123 then porrst;
else power on reset;
xxx=123;
......
main();
}
Thank you