Hi all
I want to store my data used in the code at a particular specific address in RAM of the chip how can i do it .
i tried to this but got data abort error #define test ((*volatile unsigned int *)(0x00400001)
test = 0x55;
can any one help me to guide me how to go about it .
You can specify this in scatter loading file for the linker. Define the varaible to be put in fixed location as a section or in a diffrent file . Describe the section or the object file to have data region at the location you want in the sctter loading file.
Suvidh