본문 바로가기
전자/임베디드 시스템

[CCS] 변수 메모리 부족 에러

by Begi 2023. 4. 2.
반응형

Code Composer Studio 에러 메세지

program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment/blocking fails for section ".bss" 

 

cmd 파일을 다음과 같이 설정하면 RAM 공간은 충분한데도 위의 에러 메세지가 뜬다.

 

   RAMLS0           : origin = 0x008000, length = 0x000800
   RAMLS1           : origin = 0x008800, length = 0x000800

   .bss             : > RAMLS0 | RAMLS1

 

다음과 같이 설정해야 한다.

 

   RAMLS0_1          : origin = 0x008000, length = 0x001000

   .bss             : > RAMLS0_1

 

반응형

'전자 > 임베디드 시스템' 카테고리의 다른 글

[CCS] C2000의 sin 함수  (0) 2023.04.10
[CCS] fp_moode와 fp_reasonoc 설정  (0) 2023.04.10
[CCS] 자동 괄호 삽입 하지 않기  (0) 2023.03.28
C2000 DSP 데이터 타입  (0) 2023.03.27
[CCS] 한글깨짐 해결  (0) 2023.03.26

댓글