各位大神,我自己编写的一段程序,运行一段时间后总是自动停止,想请教一下这是为什么,怎么解决
cmd文件如下:
/*
* Copyright 2008 by Spectrum Digital Incorporated.
* All rights reserved. Property of Spectrum Digital Incorporated.
*/
/* * Linker command file
*
*/
-l rts6740.lib
-l evmomapl137bsl.lib
-c
-stack 0x00020000 /* Stack Size */
-heap 0x00600000 /* Heap Size */
MEMORY
{
L2RAM: o = 0x00800000 l = 0x00040000 /* 配置成CACHE,不再分配数据或代码*/
L1PRAM: o = 0x00E00000 l = 0x00008000 /* 配置成CACHE,不再分配数据和代码*/
L1DRAM: o = 0x00F00000 l = 0x00008000 /* 配置成CACHE,不再分配数据和代码*/
SHAREDRAM: o = 0x80000000 l = 0x00020000
SDRAM: o = 0xC0000000 l = 0x02000000
}
SECTIONS
{
.vecs > SHAREDRAM
.bss > SHAREDRAM
.cinit > SHAREDRAM
.cio > SHAREDRAM
.const > SHAREDRAM
.switch > SHAREDRAM
.stack > SDRAM
.sysmem > SDRAM
.text > SDRAM
.far > SDRAM
}
Shine:
这个可以忽略,没影响,看一下下面的帖子。https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/247877