variable in data segment of external memory are not getting initialized when done with declaration

when a variable is declared and initialized along with it globally, it should be going to data segment of external memory( as per linker script provided). the variable gets stored at the expected location in the external ram, but it is not getting initialized with the provided value. some junk value is found in the location. but when we change the location of data segment to internal ram(in the linker script), it works fine. I'm using softcore of Cortex, M-1.

More questions in this forum