摘要
介绍了ISP(在系统编程)技术、P89LPC932单片机与ISP相关的特性,叙述了以ISP方式实现单片机系统软件升级的原理和具体实现方法。采用组合键方法使正常运行的单片机进行串口帧间隔检测初始化,上位机通过运行ZLGISP900从串口发出帧间隔信号,单片机检测到帧间隔信号后复位进入ISP状态,通过RS-232 C电缆以ISP方式实现单片机系统软件升级。给出了P89LPC932的ISP编程的具体实现电路和操作流程。
This paper introduces ISP technology, the ISP characteristics of P89LPC932 MCU, and discusses particularly the principle and realization methods of MCU application software update using ISP mode. In this system, when the combination key is pressed, the MCU application software runs serial port frame interval detection subprogram. The frame interval signal is sent from PC serial port on which ZLGISP900 is running, then when MCU detects the signal, a reset of MCU happens and then MCU comes into ISP mode, so the MCU application software can be updated through RS232 cable connection between PC and MCU. In this paper, the realization circuit and operation flow of P89LPC932 ISP mode programming is given in detail.
出处
《电子工程师》
2007年第3期55-58,共4页
Electronic Engineer