Hi everyone
Currently im working in a modbus table map. Formed by a big array of structs.
I initialize this array of structs in a .c file and extenalize it in a .h file extern modbus_map_t hr_map[NUMERO_HOLDING_REGISTERS_SLAVE];
The struct is the following
This big array belongs to .ebss, and im currently storing this at GSRAM, joining 4 sectors .ebss : > RAMGS0_4, PAGE = 1,
The problem comes before run the code, its possible see the values of the structs with the debugger and many of them are correctly initialized but some of them are wrong, are not pointing to the correct variables, and values.
Anyone know how to solve this?
Many thanks in advance