DSP28379学习笔记 (二)——修改cmd文件 扩容.txt等ram flash

DSP28379学习笔记 (一)——GPIO基本操作

开发环境

软件:ccs11.1.0
硬件:LAUNCHXL-F28379D
日期:2022.8.16

问题及修改cmd文件

这段时间把工程移植到了dsp上,基于driverlib,在ti的例程上修改部分底层配置。在debug和 release模式下都遇到了 内存不够 ,需要修改 cmd文件的情况。

debug模式下

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. placement with alignment/blocking fails for section ".text" size 0x455e page 0.  Available memory ranges:	2837xD_RAM_lnk_cpu1.cmd	/0.28379_temp__CPU1/1.cmd	line 81	C/C++ Problem

事先分配的ram的大小已经满了,且page0 里也几乎没有空余的ram
在这里插入图片描述在这里插入图片描述
找到page1 中空余的空间
在这里插入图片描述
移到page 0 中,并分配给 .text
在这里插入图片描述
在这里插入图片描述

release模式下

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. placement with alignment/blocking fails for section ".cinit" size 0x79 page 0.  Available memory ranges:	2837xD_FLASH_lnk_cpu1.cmd	/0.28379_temp__CPU1/1.cmd	line 78	C/C++ Problem

同理,把同page 下的空内存分配过去,没有,就从其他 page下移空闲内存过来

在这里插入图片描述
在这里插入图片描述
这里我直接分配 FLASHE过去
在这里插入图片描述

  • 4
    点赞
  • 26
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值