Good morning
Im using the SES for development, and I have trouble with the memory usage window. It does not display the ROM section used for initialized data n the ROM memory. My linker script is as follows:
....
.data : AT (__data_load_start)
{
. = ALIGN(4);
__data_start = .;
*(.data .data.*)
*(.gnu.linkonce.d.*)
__global_pointer$ = . + 0x800;
*(.sdata .sdata.*)
*(.gnu.linkonce.s.*)
. = ALIGN(4);
__data_end = .;
} > REGION_DATA
....
I am expecting to see an area of the ROM memory used for load data (in other projects it comes out as for example (.data (load image)). The data is in the output elf file, and it gets properly initialized, but it is not counted towards the amount of ROM used in the program. I am able to exceed existing ROM area without getting any warning from the linker.
What are the symbols that the memory usage window uses to detect the sections?
In my map file:
...
.data 0x000000002fbf0000 0x8 load address 0x000000002f8002a0
..
Im using the SES for development, and I have trouble with the memory usage window. It does not display the ROM section used for initialized data n the ROM memory. My linker script is as follows:
....
.data : AT (__data_load_start)
{
. = ALIGN(4);
__data_start = .;
*(.data .data.*)
*(.gnu.linkonce.d.*)
__global_pointer$ = . + 0x800;
*(.sdata .sdata.*)
*(.gnu.linkonce.s.*)
. = ALIGN(4);
__data_end = .;
} > REGION_DATA
....
I am expecting to see an area of the ROM memory used for load data (in other projects it comes out as for example (.data (load image)). The data is in the output elf file, and it gets properly initialized, but it is not counted towards the amount of ROM used in the program. I am able to exceed existing ROM area without getting any warning from the linker.
What are the symbols that the memory usage window uses to detect the sections?
In my map file:
...
.data 0x000000002fbf0000 0x8 load address 0x000000002f8002a0
..