当前位置:网站首页>STM32 full series development firmware installation guide under Arduino framework
STM32 full series development firmware installation guide under Arduino framework
2022-07-31 19:02:00 【perseverance52】
Arduino框架下STM32Full range of development firmware installation guides
目前基于
Arduino
框架下开发STM32The firmware of the microcontroller is basically based on:https://github.com/stm32duino
,在此之前的STM32There is a relatively early development of firmware:https://github.com/rogerclarkmelbourne
,However, the latter has been discontinued,However, it can still be installed.
STM32duinoPreparation before firmware installation
(https://github.com/stm32duino)
- Supported development boards
Develop a configuration file for firmware installation(.json
文件)
https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
In most cases this link cannot be accessed directly,导致无法安装STM32固件,A saved offline version is available here
.json
配置文件.Later, I will teach you how to use this offline configuration file to build a local access method.
- 例如在Arduino IDEThere are the following questions
stm32duino
Offline profile
链接:https://pan.baidu.com/s/1YpGrpMQl_e-8oHxhwlVxWA
提取码:hjbd
STM32Cube MCU Packages
程序烧录软件
This burning software not only provides support for burning in multiple ways,还为Arduino IDEBurning provides a calling interface,所以安装STM32This software is required to develop firmware.
- 中文下载地址:https://www.stmcu.com.cn/Search/index?csrf_token=13aea149b60a6cfb86805d8f1d3e3cbc&search_keywords=STM32CubeProgrammer&page=1&type=design_resource
Provides support for multiple platforms,There is also an instruction manual.我下载的是
win版X64
的,stm32cubeprg_win64_STM32CubeProgrammer 软件,适用于所有 STM32 STM32CubeProgrammer(STM32CubeProg)是一款多合一的多操作系统软件工具,用于对STM32产品进行编程. STM32CubeProgrammer PictureIt to pass the debug interface(JTAG 和 SWD)和引导加载程序接口(UART、USB DFU、I2C、SPI 和 CAN)读取、写入和验证设备存储器提供了一个易于使用且高效的环境.
win版x64位
的软件包
链接:https://pan.baidu.com/s/1qKUY1LVZZj4aNkfSz-1vUw
提取码:gf76
Arduino IDE Installation of firmware
Consider the ease of installation,
Personally recommend using the third method directly:Change the firmware source installation method
The original firmware address installation method
准备HFS
工具软件,Used to build a local server.
Directly place the offline configuration file provided above,drag in toHFSsoftware in the left column,如下图:
The link address that will be generated;
http://192.168.0.113:8266/package_stmicroelectronics_index.json
拷贝到Arduino IDE
的Development board URL manager
当中,并点击好
.在Arduino IDEFind the development board manager and open it
Wait for the board manager to load the configuration,搜索
stm
You can find it by keyword or by pulling the scroll bar,STM32Development board firmware package.
When loading the board configuration,可以看到
HFS
Software data access:
Most of the cases in the country are inaccessible
.json
The development board cannot be found here due to the link.
This step can solve the situation that the development board cannot be found.If you still can't find the development board or install it:
- will be offline in the config file,Download the compressed package,加入到
HFS
软件中.
https://github.com/stm32duino/Arduino_Core_STM32/releases/download/2.3.0/STM32-2.3.0.tar.bz2
2. Modify the link to the offline configuration file to point and save,再通过Arduino IDEYou can install it from the development board manager,Equivalent to offline installation.
- If other compressed packages in the configuration file cannot be installed, you can install them according to the steps of this method.
- Development Board URL Manager Reference:
http://dan.drown.org/stm32duino/package_STM32duino_index.json
http://arduino.esp8266.com/stable/package_esp8266com_index.json
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
第二种方式:Directly replace the firmware source installation method
- The reference source of the development board URL manager is as follows:
Select the corresponding development board source for your personal needs
http://dan.drown.org/stm32duino/package_STM32duino_index.json
https://github.ocrobot.com/down/esp8266/package_esp8266com_index.json
https://github.ocrobot.com/down/arduino-esp32/package_esp32_index.json
http://mcu.lvjianze.cn/study/esp32/package_esp32_index.json
https://github.ocrobot.com/down/stm32duino/package_stmicroelectronics_index.json
http://mcu.lvjianze.cn/study/stm32/package_stmicroelectronics_index.json
https://github.ocrobot.com/down/LGT8FX/package_lgt8fx_index.json
List of boards after installation
- STM32Development board main model series selection
- STM32Branch model series selection
程序烧录(上传)说明
- 使用
SWD
way to burn.通过jlink/ST-linker工具烧录
Stlink-V2仿真器:以STM32f103
示例
- 使用
SWD
烧录程序后,(STM32F103最新系统板)Micro USBThe virtual port displayed by the interface
- 串口烧录.(Jumper cap for serial download
BOOT0
必须置1
,否则无法下载)
边栏推荐
- MySQL common statements
- Bika LIMS open source LIMS set - use of SENAITE (detection process)
- 21.支持向量机—核函数的介绍
- 移动web开发02
- 广汽本田安全体验营:“危险”是最好的老师
- All-platform GPU general AI video supplementary frame super-score tutorial
- mysql的备份表的几种方法
- 【luogu P8326】Fliper (Graph Theory) (Construction) (Eulerian Circuit)
- multithreaded lock
- 【愚公系列】2022年07月 Go教学课程 023-Go容器之列表
猜你喜欢
go基础部分学习笔记记录
每日练习------随机产生一个1-100之间的整数,看能几次猜中。要求:猜的次数不能超过7次,每次猜完之后都要提示“大了”或者“小了”。
ThreadLocal
ResNet的基础:残差块的原理
A common method and the use of selenium
MySQL---单行函数
Bika LIMS 开源LIMS集—— SENAITE的使用(检测流程)
2022年Android 面经总结(附含面试题 | 源码 | 面试资料)
go mode tidy出现报错go warning “all“ matched no packages
1161. Maximum Sum of Elements in Layer: Hierarchical Traversal Application Problems
随机推荐
Golang 切片删除指定元素的几种方法
MATLAB程序设计与应用 2.4 MATLAB常用内部函数
Istio介绍
迁移学习——Domain Adaptation
iNeuOS工业互联网操作系统,设备运维业务和“低代码”表单开发工具
淘宝/天猫获得淘口令真实url API
The server encountered an internal error that prevented it from fulfilling this request的一种解决办法[通俗易懂]
UserAgent 解析
All-platform GPU general AI video supplementary frame super-score tutorial
This 985 professor is on fire!After 10 years of Ph.D. supervisor, no one has graduated with a Ph.D.!
multithreaded lock
Poker Game in C# -- Introduction and Code Implementation of Blackjack Rules
BOW/DOM(上)
Linux环境redis集群搭建「建议收藏」
20.支持向量机—数学原理知识
go mode tidy出现报错go warning “all“ matched no packages
这位985教授火了!当了10年博导,竟无一博士毕业!
MySQL---子查询
Unity 之 音频类型和编码格式介绍
【码蹄集新手村600题】通向公式与程序相结合