当前位置:网站首页>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---sort and pagination
ojdbc8 "Recommended Collection"- MySQL---单行函数
- Concurrency, Timing and Relativity
- How programmers learn open source projects, this article tells you
- 【码蹄集新手村600题】不通过字符数组来合并俩个数字
- 基于WPF重复造轮子,写一款数据库文档管理工具(一)
- MySQL---aggregate function
- MySQL---多表查询
- Performance optimization: remember a tree search interface optimization idea
猜你喜欢
随机推荐
几款永久免费内网穿透,好用且简单(内网穿透教程)
Handling write conflicts under multi-master replication (3) - Convergence to a consistent state and custom conflict resolution logic
leetcode 665. Non-decreasing Array
全平台GPU通用AI视频补帧超分教程
Get Douyin Video Details API
rj45对接头千兆(百兆以太网接口定义)
【luogu P8326】Fliper (Graph Theory) (Construction) (Eulerian Circuit)
每日练习------随机产生一个1-100之间的整数,看能几次猜中。要求:猜的次数不能超过7次,每次猜完之后都要提示“大了”或者“小了”。
AI 自动写代码插件 Copilot(副驾驶员)
MySQL common statements
1161. Maximum Sum of Elements in Layer: Hierarchical Traversal Application Problems
Combinatorics Notes (6) Associative Algebra of Locally Finite Partially Ordered Sets, Möbius Inversion Formula
35 MySQL interview questions and diagrams, this is also easy to understand
Bika LIMS 开源LIMS集—— SENAITE的使用(检测流程)
【码蹄集新手村600题】不通过字符数组来合并俩个数字
rj45 to the connector Gigabit (Fast Ethernet interface definition)
1161. 最大层内元素和 : 层序遍历运用题
Go record - slice
10 Ways to Keep Your Interface Data Safe
UserAgent 解析