The ram memoy is define in the MEMORY block from the begining like this:
MEMORY
{
flash_rchw : org = 0x00F98000, len = 0x04
cpu0_reset_vec : org = 0x00F98004, len = 0x04
m_text : org = 0x00F98408, len = 288K - 0x4 - 0x04
ROM_ADDR: org = 0x01000000, len = 0x10
m_data : org = 0x40000000, len = 384K
RAM_ADDR: org = 0x50800000, len = 0x10
local_dmem : org = 0x50800010, len = 64K - 0x10
}
This section is properly initilize in the startup. And when I'm debugging the error is always came when i try to reads or write the variable that I define in my_section like this:
uint32_t __attribute__((section(".my_section " ))) variable;
Thanks for the help