基于宏晶STC单片机开发ISP程序Demo-使用Y-Modem协议软件源码+文档说明资料.zip
基于宏晶STC单片机开发ISP程序Demo-使用Y-Modem协议软件源码+文档说明资料 //======================================================================== // 函数: u8 UART_Download(void) // 描述: 按Ymodem接收文件数据并写入用户FLASH. // 参数: none. // 返回: none. // 版本: V1.0, 2013-4-29 //======================================================================== u8 UART_Download(void) { u16 i; u8 j; PrintString1("\r\n\r\n Waiting for the file to be sent ... (press 'a' to abort)\r\n"); Y_TimeOut = 0; packets_received = 0; session_begin = 0; Wai