This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F280049C: how to unite two or more flash sectors into one section?

Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: BOOSTXL-K350QVG-S1, TMS320F280049C

HI

I try to port the GRLIB to the tms320F280049c MCU for using it with  BOOSTXL-K350QVG-S1 QVGA Display BoosterPack™

compiling the project I met the problem that the fonts and images were compiled in the .econst section that summary gets more than 1000 bytes

creating additional data sections like fonts works for one font only and not works for two or more fonts in the project. ( size greater than 100 again) 

How can I create a section that consists of two or more flash sectors? 


/* Flash sectors */
/* BANK 0 */
FLASH_BANK0_SEC0 : origin = 0x080002, length = 0x000FFE /* on-chip Flash */
FLASH_BANK0_SEC1 : origin = 0x081000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC2 : origin = 0x082000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC3 : origin = 0x083000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC4 : origin = 0x084000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC5 : origin = 0x085000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC6 : origin = 0x086000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC7 : origin = 0x087000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC8 : origin = 0x088000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC9 : origin = 0x089000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC10 : origin = 0x08A000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC11 : origin = 0x08B000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC12 : origin = 0x08C000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC13 : origin = 0x08D000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC14 : origin = 0x08E000, length = 0x001000 /* on-chip Flash */
FLASH_BANK0_SEC15 : origin = 0x08F000, length = 0x001000 /* on-chip Flash */

How should I correctly unite  (for example)FLASH_BANK0_SEC5, FLASH_BANK0_SEC6 and FLASH_BANK0_SEC7 in the section description:

.cio : > RAMLS0, PAGE = 0

.econst : > FLASH_BANK0_SEC5 | FLASH_BANK0_SEC6| FLASH_BANK0_SEC7, PAGE = 0, ALIGN(4)
grfonts : > FLASH_BANK0_SEC8 | FLASH_BANK0_SEC9, PAGE = 0, ALIGN(4)
#endif

uniting as above produces the error 

./28004x_GRLIB_flash_lnk.cmd", line 99: error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section "grfonts" size 0x10fe page 0. Available memory ranges:
FLASH_BANK0_SEC8 size: 0x1000 unused: 0x1000 max hole: 0x1000
FLASH_BANK0_SEC9 size: 0x1000 unused: 0x1000 max hole: 0x1000
"../28004x_GRLIB_flash_lnk.cmd", line 98: error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section ".econst" size 0x5295 page 0. Available memory ranges:
FLASH_BANK0_SEC5 size: 0x1000 unused: 0x1000 max hole: 0x1000
FLASH_BANK0_SEC6 size: 0x1000 unused: 0x1000 max hole: 0x1000
FLASH_BANK0_SEC7 size: 0x1000 unused: 0x1000 max hole: 0x1000