I AM TRYING TO FILL the FIRST 10 BYTES OF RAM location with some default value(0xaa). But while debugging , in the memory view it is loading like AA 00 AA 00 AA 00..
volatile unsigned int *address = (volatile unsigned int*)(0x0060);
unsigned int count = 0;
*(volatile unsigned int*)(address) = 0xaa;
It is supposed to be AA AA AA AA ..
I use stk500. Any help to understand why?
Is there any other way to use section directives?