Git Product home page Git Product logo

zongkai28 / stm32-rtthread-bootloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from glideleo/stm32-rtthread-bootloader

0.0 1.0 0.0 12.76 MB

移植SpunkyWX STM32的开源Bootloader框架-RT-FOTA,运行完整RT-Thread,支持RTT官方的RBL文件,Ymodem传输,一键恢复出厂固件等功能。

License: Apache License 2.0

Python 0.96% C 93.44% C++ 0.56% Assembly 3.72% DIGITAL Command Language 0.02% Makefile 0.27% Module Management System 0.01% Objective-C 0.03% Roff 0.01% RPC 0.02% CMake 0.21% Ruby 0.01% Shell 0.65% Batchfile 0.01% Perl 0.02% CSS 0.02% TeX 0.01% M4 0.03% Lex 0.01% Yacc 0.03%

stm32-rtthread-bootloader's Introduction

STM32-RTThread-BootLoader

Build Status

简介

本项目参考基于STM32的开源Bootloader框架-RT-FOTA进行移植,原 Bootloader 运行于 RT-Thread nano,本移植版本运行 RT-Thread 完整版。

项目所使用的 STM32 BSP 参考 STM32系列BSP制作教程完成制作,只添加了必需的串口和SPI驱动,以及内部 FLASH 和 SFUD 支持,结构简洁。

更多 Bootloader 设计细节,可以移步RT-FOTA

外设支持

本 BootLoader 目前对外设的支持情况如下:

板载外设 备注
UART1 PA9\PA10
SPI1 FLASH(W25Q128) PB3\PB4\PB5\PB14

使用说明

硬件连接

USART1 GPIO Configuration

    PA9     ------> USART1_TX
    PA10    ------> USART1_RX 

SPI1 GPIO Configuration

    PB3     ------> SPI1_SCK
    PB4     ------> SPI1_MISO
    PB5     ------> SPI1_MOSI 
    PB14    ------> SPI1_CS

编译下载

双击 project.uvprojx 文件,打开 MDK5 工程,编译并下载程序到开发板。

运行结果

连接开发板对应串口到 PC , 在终端工具里打开相应的串口(115200-8-1-N),复位设备后,可以看到 RT-Thread 的输出信息:

开机界面

其它说明与测试

参考博客链接:STM32的开源Bootloader框架-RT-FOTA移植

stm32-rtthread-bootloader's People

Contributors

glideleo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.