Content originally posted in LPCWare by Albert on Fri Feb 11 12:37:33 MST 2011
How can I see If the linker that already allocated that area of SRAM for global data?
I intend to save some data on specific place on SRAM (0x10000000 - 0x10008000) and use the MPU for protect this area. Its possíble?
I need to create a global variables on specific area, this is my subject.
I tried the code below, but it doesn't work:
volatile unsigned int *p = (unsigned int *)0x10000300;
main( )
{
*p = 0x33;
...
}
Do you know why?
Thanks