AnsweredAssumed Answered

1MB Flash part rom overflow error

Question asked by Sean Dowell on Jul 28, 2014
Latest reply on Jul 29, 2014 by Sean Dowell

I'm attempting to use a 1MB K60 (MK60FN1M0VLQ15) because I have a rather large webpage I would like to store internally using TFS. However when I compile I get an error saying I have a rom overflow. I'm using the twrk60F120M BSP which I believe is a 1MB flash BSP. I'm also using MQX 4.1 and CW 10.5. I probably don't have something setup correctly. Any idea what that might be?

 

c:/freescale/cw mcu v10.5/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: HW_Test_1MB.elf section `.text' will not fit in region `rom'

c:/freescale/cw mcu v10.5/cross_tools/arm-none-eabi-gcc-4_7_3/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/bin/ld.exe: region `rom' overflowed by 227488 bytes

 

I got CW to printout the size of what I'm building. Adding all that up I got 753,606 bytes which is under the 1MB flash size I have.

   text   data    bss    dec    hexfilename
    324     64      0    388    184Sources\main.o
   2532      8      6   2546    9f2Sources\NetworkManager.o
533512      0      0 533512  82408Sources\tfs_data.o
      0      0     12     12      cSources\usb_classes.o
216060    480    608 217148  3503cHW_Test_1MB.elf

 

Thanks,

Sean

Outcomes