硬件: 6678 EVM
软件: CCS 6.1 ; 安装 bios_mcsdk_02_01_02_06_setupwin32
问题:
使用STK GPIO的例子,通过编译,有warning 如下
板子进行连接 test connection一切正常,但是下载的时候,出现问题。。貌似是内存地址什么问题。。求指点!
我觉的可能和cmd文件有关系,但是这个是自带的,现贴出
-heap 0x800 -stack 0x1000 MEMORY { /* Local L2, 1MB*/ VECTORS: o = 0x00800000 l = 0x00000200 LL2_RW_DATA: o = 0x00800200 l = 0x5FE00 /* Shared L2 2MB*/ SL2: o = 0x0C000000 l = 0x00200000 /* External DDR3, upto 2GB per core */ DDR3_CODE: o = 0x80000000 l = 0x01000000/*set memory protection attribitue as execution only*/ DDR3_R_DATA: o = 0x81000000 l = 0x01000000/*set memory protection attribitue as read only*/ DDR3_RW_DATA: o = 0x82000000 l = 0x06000000/*set memory protection attribitue as read/write*/ } SECTIONS { vecs >VECTORS .text>LL2_RW_DATA .cinit>LL2_RW_DATA .const>LL2_RW_DATA .switch>LL2_RW_DATA .stack>LL2_RW_DATA GROUP { .neardata .rodata .bss } >LL2_RW_DATA .far>LL2_RW_DATA .fardata>LL2_RW_DATA .cio>LL2_RW_DATA .sysmem>LL2_RW_DATA }
在线等~谢谢
dongdong yu:
回复 Allen35065:
非常感谢您的回复!
其实默认的工程cmd是未被激活的,active之后就能用了!