This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

2837xS_Generic_RAM_lnk.cmd文件报错~~28377D

Other Parts Discussed in Thread: CONTROLSUITE

代码量大概60多K,估计是ram放不下了,如果修改能解决这个报错?

初次接触CCS和DSP,所以这个问题不知道如何解决。

Description Resource Path Location Type
#10099-D program will not fit into available memory. placement with alignment/blocking fails for section ".cinit" size 0x687 page 0. Available memory ranges: 2837xS_Generic_RAM_lnk.cmd /lab02_ram/cmd line 49 C/C++ Problem

  • 代码量大概60多K,估计是ram放不下了,如果修改能解决这个报错?

    初次接触CCS和DSP,所以这个问题不知道如何解决。

    Description Resource Path Location Type
    #10099-D program will not fit into available memory. placement with alignment/blocking fails for section ".cinit" size 0x687 page 0. Available memory ranges: 2837xS_Generic_RAM_lnk.cmd /lab02_ram/cmd line 49 C/C++ Problem

    Eric: 简单的方法就是换flash的cmd,然后在main中初始化flash,.

    复杂的就是修改CMD, 将.text 映射到更大空间的RAM。

    ERIC

  • 请问具体怎么操作,外扩的flash有用吗?

  • 内部flash60k应该没问题   

    如果用外扩flash的话  需要新建工程专门用来操作外扩flash

    然后将HEX转为.DAT     导入通过你的功能将可执行文件烧入

  • 请问具体怎么操作,外扩的flash有用吗?

    ERIC:

    不用外扩flash, 内部有一大片flash.

    你导入CONTROLsuite的例程,如下路径,在CCS里面右键工程>属性> build configuration, 选择flash的配置,这样就是将代码加在在flash里面啦。

    C:\ti\controlSUITE\device_support\F2837xS\v210\F2837xS_examples_Cpu1\blinky