Keil无法编译

来源:百度知道 编辑:UC知道 时间:2024/06/17 10:57:54
--- Error: can't execute 'C:\Keil\C51\BIN\BL51.EXE'
sbit写完不能变蓝

project->new uvision project
选择你所使用的51芯片就是select device for target 'xxxx'
file->new 新建文件 保存为.c文件
双机source group 1 把刚才建的文件添加进去
flash----configure flash tools-----output选项卡勾上great hex files
然后仿真 ok

你要先建一个工程 然后按照上面的步骤才能生成二进制码

首先把protues和keil联好机,
project->new uvision project选择你所使用的51芯片就是select device for target 'xxxx' file->new 新建文件 保存为.c文件
右击source group 1选add files to group'source group 1'
把刚才建的文件添加进去
还有相应的protues图要正确,
flash----configure flash tools-----output选项卡勾上great hex files
然后仿真 就ok了