TI中文支持网
TI专业的中文技术问题搜集分享网站

tms28035编译出错

各位大神,我用ccs编译的时候,出现如下错误,查资料好像跟.cmd和.map有关,我把文件传上来,请帮我分析下:

 3644.文件.zip

user6392471:

我查看.map文件的时候,看着好像是RAM空间不够了,超过了20K的数据了,但是为啥提示是flash不够呢?我程序不是很大,为什么会超ram呢?如何修改这些值呢?

,

user6392471:

还有就是如何看我的RAM用了多少?flash用了多少,ram用了多少是不是看.map里面的.text段?这个里面有统计,但是flash是怎么看的呢?

,

user6392471:

从我的map里面看是这个code用的容量是20332,这个是flash大小么?后面这个initialized data 的容量是933,还有 uninitialized data的容量是3455,这两个是RAM吧?那这么说来,我的flash跟ram都没有超才对啊,因为资料上写的是这个IC的容量flash是64K,ram是10K*16bit,也就是2k的ram,我的问题怎么解决呢?

,

Susan Yang:

您可以使用CCS内的 Memory Allocation View

The Memory Allocation View in Code Composer Studio provides a graphical representation of how much memory is consumed by your application.

To open the view go to the CCS menu View and select Memory Allocation.

By default, the view shows the memory used relative to the total available memory for the project that is active in the Project Explorer view. You can expand each memory region to see how much memory each individual section or sub-section is using.

详细信息参考这个链接

赞(0)
未经允许不得转载:TI中文支持网 » tms28035编译出错
分享到: 更多 (0)