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

将程序下载到5509A里,运行时出现如下错误:The CIO command cmd:(0) in the CIO buffer at address (0x11cf8) was not recognized. Please check the device and program memory maps.

The CIO command cmd:(0) in the CIO buffer at address (0x11cf8) was not recognized. Please check the device and program memory maps.
The CIO command cmd:(0) in the CIO buffer at address (0x11cf8) was not recognized. Please check the device and program memory maps.
The CIO command cmd:(0) in the CIO buffer at address (0x11cf8) was not recognized. Please check the device and program memory maps.
The CIO command cmd:(0) in the CIO buffer at address (0x11cf8) was not recognized. Please check the device and program memory maps.

Shine:

根据错误提示,请检查一下你cmd文件中的memory配置。

king she:

回复 Shine:

-heap 0x1000-stack 0x1000-c-lrts55.libMEMORY{ IRAM: o = 000000c0h l = 00040000h }

SECTIONS{ .text > IRAM fill = 0 .stack > IRAM fill = 0 .bss > IRAM fill = 0 .cinit > IRAM fill = 0 .const > IRAM fill = 0 .data > IRAM fill = 0 .far > IRAM fill = 0 .switch > IRAM fill = 0 .sysmem > IRAM fill = 0 .tables > IRAM fill = 0 .cio > IRAM fill = 0}

这是我的CMD文件,可是编译通过不就是代表可以运行吗

Shine:

回复 king she:

memory map设置没什么问题。

你代码里有用printf语句吗?

是运行到哪句出现这个错?

king she:

回复 Shine:

printf语句是有的,是printf语句导致的吗?

king she:

回复 Shine:

还有我编译的的时候有如下警告:

warning: creating output section ".pinit" without a SECTIONS specificationwarning: creating output section "vectors" without a SECTIONS specificationwarning: creating ".sysstack" section with default size of 0x3e8; use the

Shine:

回复 king she:

king she

printf语句是有的,是printf语句导致的吗?

Shine:

回复 king she:

king she

还有我编译的的时候有如下警告:

warning: creating output section ".pinit" without a SECTIONS specificationwarning: creating output section "vectors" without a SECTIONS specificationwarning: creating ".sysstack" section with default size of 0x3e8; use the

king she:

回复 Shine:

我在运行一下读文件的程序时会报错:

FILE *fp1,*fp2;  

fp1=fopen("..\\x500.txt","r");for(i=0;i<500;i++) { if(fscanf(fp1,"%lf",&dutmp1)!=EOF) { x[i]=dutmp1; } else { goto CLOSEFILE_x; } }fp2=fopen("..\\y500.txt","r");for(i=0;i<500;i++) { if(fscanf(fp2,"%lf",&dutmp2)!=EOF) { y[i]=dutmp2; } else { goto CLOSEFILE_y; } } CLOSEFILE_x: fclose(fp1); CLOSEFILE_y: fclose(fp2);

错误:The CIO command cmd:(0) in the CIO buffer at address (0x110f8) was not recognized. Please check the device and program memory maps.

Shine:

回复 king she:

试试加大heap, stack size. 

赞(0)
未经允许不得转载:TI中文支持网 » 将程序下载到5509A里,运行时出现如下错误:The CIO command cmd:(0) in the CIO buffer at address (0x11cf8) was not recognized. Please check the device and program memory maps.
分享到: 更多 (0)