cancel
Showing results for 
Search instead for 
Did you mean: 

SPC5_Studio_LoadAddress

baskar
Associate II
Posted on August 17, 2016 at 10:51

We are in completing stage of the project and our application size is 122K.

We want to load new application in different sector 5 or 6,so how to generate the code using spc5 studio.

I am getting the following Error:

warning: 1.incompatible section flags c:/spc5studio/eclipse/plugins/com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32_1.0.0.201512011622/toolchain/bin/../lib/gcc/ppc-ht-eabi/4.6.3/../../../../ppc-ht-eabi/lib/vle/nof\libc.a(lib_a-impure.o):

 input section'.sdata' = 'awsl' 

 output section '.data' ='awl'

c:/spc5studio/eclipse/plugins/com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32_1.0.0.201512011622/toolchain/bin/../lib/gcc/ppc-ht-eabi/4.6.3/../../../../ppc-ht-eabi/bin/ld.exe: build/Telematics.elf section `.boot0' will not fit in region `flash'

c:/spc5studio/eclipse/plugins/com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32_1.0.0.201512011622/toolchain/bin/../lib/gcc/ppc-ht-eabi/4.6.3/../../../../ppc-ht-eabi/bin/ld.exe: region `flash' overflowed by 1670592 bytes

collect2: ld returned 1 exit status

make: *** [build/Telematics.elf] Error 1
1 REPLY 1
procolo
Senior
Posted on August 17, 2016 at 14:37

Hi,

It seems that the elf size does not fit the flash, starting from another sector.

Before deeply investigate could you please:

- Update to spc5studio 5.0 version

- try with both compilers (hightec and free)

could you also specify which spc56 microcontroller are you using?

Thanks,

Procolo