Tool/software: Code Composer Studio
Hello, I have a question.
In evmAM 572x, I am trying to create an SBK file according to the following site.
processors.wiki.ti.com/.../Creating_a_CCS_Project_for_SBL_on_AM572x_GP_EVM
In CCS build, Then I get the following error
Description Resource Path Location Type
com.out section `.stack' will not fit in region `SBL_MEM' com C/C++ Problem
gmake: *** [all] Error 2 com C/C++ Problem
gmake[1]: *** [com.out] Error 1 com C/C++ Problem
recipe for target 'all' failed makefile /com/Debug line 160 C/C++ Problem
recipe for target 'com.out' failed makefile /com/Debug line 164 C/C++ Problem
region `SBL_MEM' overflowed by 17225 bytes com C/C++ Problem
section SBL_MMU_TABLE VMA [40370000,4037404b] overlaps section .stack VMA [40354348,40374347] com C/C++ Problem
redeclaration of memory region `DDR0' .ccsproject /com line 44, external location: c:\ti\ccsv8\tools\compiler\gcc-arm-none-eabi-7-2017-q4-major-win32\arm-none-eabi\bin\ld.exe:C:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\board\evmAM572x\build\linker.cmd C/C++ Problem
redeclaration of memory region `OCMC_RAM1' .ccsproject /com line 45, external location: c:\ti\ccsv8\tools\compiler\gcc-arm-none-eabi-7-2017-q4-major-win32\arm-none-eabi\bin\ld.exe:C:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\board\evmAM572x\build\linker.cmd C/C++ Problem
redeclaration of memory region `OCMC_RAM2' .ccsproject /com line 50, external location: c:\ti\ccsv8\tools\compiler\gcc-arm-none-eabi-7-2017-q4-major-win32\arm-none-eabi\bin\ld.exe:C:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\board\evmAM572x\build\linker.cmd C/C++ Problem
redeclaration of memory region `OCMC_RAM3' .ccsproject /com line 51, external location: c:\ti\ccsv8\tools\compiler\gcc-arm-none-eabi-7-2017-q4-major-win32\arm-none-eabi\bin\ld.exe:C:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\board\evmAM572x\build\linker.cmd C/C++ Problem
The memory seems to overflow, but is the setting of Linker file correct?
BOARD:evMAM572x
RTOS_PDK:pdk_am57xx_1_0_13
CCS: Version: 8.3.0.00009