shatang/Bootloader_Stm32F103rbt6
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
/******************************************************************************** * 函数名 : IAP_Uart_Ymodem * 功 能 : IAP功能,使用串口,采用Ymodem协议进行升级 * 说 明 : 基于Stm32F103RBT6 * 入 参 : none * 返 回 : none * 设 计 : Shatang 时 间 : 2020.09.17 * 修 改 : none 时 间 : none ********************************************************************************/ 1. 该IAP升级,通过超级终端进行串口传输文件,Ymodem协议 2. 文件名、类型不定;当前为:Shatang.bin,可从Ymodem协议传输获取 3. 该Bootloader进行升级需要重新上电启动 4. 上电0.8s检测是否上位机是否一直发送空格,且满足15个;0.8s后检测不到(或升级完毕)进入App程序 5. 无升级则LED指示灯一直亮,直到跳转至APP;进行升级时灭灯 6. 升级过程在超级终端有提示 7. 不进行CRC校验;带有加密示例(注释部分) 8. Bootloader程序总大小为6KB
About
采用的是串口485,Ymodem协议进行IAP升级
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published