单片机怎么烧写
2017-04-28
相信很多同学都学习过单片机,但是你知道单片机是怎么烧写的吗?不知道的话跟着小编一起来学习了解单片机是怎么烧写。
单片机是怎么烧写过程详解软件:Easy 51Pro v2.0;
工具:
1.5V电源;
2.Easy ISP下载线(制作过程参见《自制Easy ISP下载线》一文;
3.51单片机最小实验板(带光柱),制作过程参见《自制51单片机最小系统板》一文;
4..Hex文件,生成过程参见《Keil Uv2.0生成51单片机的Hex 文件详细过程》一文 ;
准备工作:
1.确定Easy ISP下载线并口已连接上计算机,ISP接口与实验板相接;
2.确定5V电源连接实验板(技巧:查看电源指示灯是否亮,接通则亮,否则不亮);
步骤:
1.首先打开Easy 51Pro应用程序;

2.选择单片机型号“AT89S51”,并观察软件右边“状态”信息;

3.别忘了选择驱动,否则会出现“编程器:没有检测到器件(特征字:ff fff ff)”信息,驱动设置如图:

4.之后回到“状态”信息栏,并点“检测器件”,如果按步骤一步一步操作,会看到“编程器:检测到器件(特征字……)”等状态信息;

5.信息表示编程器已经检测到器件,下面就打开已经编译好的.hex文件,如图:

6.屏住呼吸,要开始对单片机进行烧写拉。。。
点“自动完成”,状态信息显示类似如图右边信息之后,点“写锁定位”即完成单片机烧写过程。
