Part Number: TMS320F28379S
Hallo,
I'm migrating system from COFF to EABI.
The last issue is data structure, which must be placed at the end of the second Flash Bank.
Linker command file (relevant part of it):
MEMORY {
FLASH_1 : origin = 0x080002, length = 0x040000 - 2 // no discontinued space for 1MB Flash, no prefetch gap with last 16 words (see Table 6, SPRZ422I)
FLASH_2 : origin = 0x0C0000, length = 0x040000
...
...
}
SECTIONS {
...
...
.buildinfo : > FLASH_2(HIGH)
}
Result (map file) for EABI, what is inacceptable, because some ending bytes after .buildInfo of Flash stays unused:
.buildinfo
* 0 000fff80 00000078
000fff80 00000078 buildInfo.obj (.buildinfo)
Result (map file) for COFF, what I do expect to get, and what already works for me:
.buildinfo
* 0 000fff88 00000078
000fff88 00000078 buildInfo.obj (.buildinfo)
The size of structure stays the same (0x78) but the placement is not. I would expect to see my structure at the same address (0x000fff88).
How can I get my structure at 0x0x000fff88 ?
Direct placement with ".buildinfo : 0x0x000fff88 " causes linker error. Why?