共2条
1/1 1 跳转至页
ADS1,s3c44b0 ADS1.2下载到s3c44b0中的问题
问
我用ADS1.2把一个例程编为bin文件后,传到开发板上,但无法运行.程序代码:
#include <stdio.h>
int main(void)
{
int a,b;
printf("Please Input data 1:");
sCANf("%d\n",&a);
printf("Please Input data 2:");
sCANf("%d\n",&b);
printf("%d + %d = %d\n",a,b,a+b);
return 0;
}
下载运行后就出现死机现象,我是通过超级终端连接并运行的. 答 1: 是不是其他的初始化的文件没加进去啊是不是其他的初始化的文件没加进去啊?
我每次都是加入
#include "option.h"
#include "def.h"
#include "44b.h"
#include "44blib.h"
这些,细细
#include <stdio.h>
int main(void)
{
int a,b;
printf("Please Input data 1:");
sCANf("%d\n",&a);
printf("Please Input data 2:");
sCANf("%d\n",&b);
printf("%d + %d = %d\n",a,b,a+b);
return 0;
}
下载运行后就出现死机现象,我是通过超级终端连接并运行的. 答 1: 是不是其他的初始化的文件没加进去啊是不是其他的初始化的文件没加进去啊?
我每次都是加入
#include "option.h"
#include "def.h"
#include "44b.h"
#include "44blib.h"
这些,细细
共2条
1/1 1 跳转至页
我要赚赏金
