登录
首页 电脑编程
回帖 发帖
正文

主题:求助:懂嵌入式控制器的高手请进,急!

点击:1072 回复:0

我最近用Turboc2写了一段程序,用到一块i-8073的多媒体卡,它定义了一个存储数据函数unsigned int MMC_WRITE_BLOCK(int slot,unsigned char *data,unsigned long block,int TryCount);每用一次这个函数,编译时都出现一条链接出错:Fixup overflow in segment _TEXT in module 3.c;(3.c是程序的名字),后来我就只写了一个测试程序,同样报错,完整程序如下:#include
#include
#include
#include
#include
#include "..\lib\8000.h"
#include "..\lib\8073.h"
void main()
{
unsigned char re[512];
strcpy(re,"aaaaaaaa");
MMC_READ_BLOCK(0,re,0,1);    
}
跪请高手指点,急!
05-09-23 09:32

工控新闻

更多新闻资讯