摘要
介绍了一种在线编程方法,使用IO口通过软件编程来模拟实现异步串行通信,单片机内的Boot-Loader通过软件模拟的串行接口与上位机通信,实现从上位机下载用户程序并写入片内Flash的功能。该方法已在FreeScale的MC68HC908EY16上实现,并成功应用于汽车Lin网络电子控制系统。
A kind of In-Circuit Program method is introduced,by which General Purpose I/O can work as serial communication interface and BootLoader inside MCU can communicate with upper computer through the software SCI.Now that user program can be downloaded and written into the Flash inside MCU.The method have been used in a vehicle LIN network including MC68HC908EY16 MCU.
出处
《苏州大学学报(工科版)》
CAS
2010年第2期45-48,61,共5页
Journal of Soochow University Engineering Science Edition (Bimonthly)
基金
飞思卡尔半导体(中国)有限公司资助项目(编号0820007083)
关键词
在线编程
软件SCI
中断处理
In-Circuit program
software SCI
interrupt handling