2016-08-17 01:51 AM
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 bytescollect2: ld returned 1 exit statusmake: *** [build/Telematics.elf] Error 12016-08-17 05:37 AM
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