TMS320F28027学习笔记一

在学习TMS320F28027过程中,遇到程序下载到RAM调试时的问题,涉及到内存映射和.SCMD文件配置。通过调整PRAML0长度解决内存问题,但仿真找不到main()函数入口。最终选择直接烧录到FLASH,并更换了相应的CMD文件完成烧写。
摘要由CSDN通过智能技术生成

问题一:在程序下载到RAM中进行调试时,出现如下问题:


".text" size 0x9de page 0.  Available memory ranges:28027_RAM_lnk.cmd

推测是在28027_RAM_lnk.cmd中对应SARAM所声明的内存大小有关:

/*
// TI File $Revision: /main/5 $
// Checkin $Date: July 6, 2009   17:18:44 $
//###########################################################################
//
// FILE:    28027_RAM_lnk.cmd
//
// TITLE:   Linker Command File For 28027 examples that run out of RAM
//
//          This ONLY includes all SARAM blocks on the 28027 device.
//          This does not include flash or OTP.
//
//          Keep in mind that L0 is protected by the code
//          security module.
//
//          What this means is in most cases you will want to move to
//          another memory map file which has more memory defined.
//
//###########################################################################
// $TI Release: DSP2802x Header Files Internal Release 2 $
// $Release Date: July 15, 2008 $
//###########################################################################
*/

/* ======================================================
// For Code Composer Studio V2.2 and later
// ---------------------------------------
// In addition to this memory linker command file,
// add the header linker command file directly to the project.
// The header linker command file is required to link the
// peripheral structures to the proper locations within
// the memor
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值