Storing data at Specific RAM address

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 .

More questions in this forum