当前位置:网站首页>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

stm32duinoOffline 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,搜索
stmYou can find it by keyword or by pulling the scroll bar,STM32Development board firmware package.
When loading the board configuration,可以看到
HFSSoftware data access:

Most of the cases in the country are inaccessible
.jsonThe 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

程序烧录(上传)说明

- 使用
SWDway 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---基本的select语句
- -xms -xmx(information value)
- 每日练习------随机产生一个1-100之间的整数,看能几次猜中。要求:猜的次数不能超过7次,每次猜完之后都要提示“大了”或者“小了”。
- [PIMF] OpenHarmony Thesis Club - Inventory of the open source Hongmeng tripartite library [3]
- IP protocol from 0 to 1
- The article you worked so hard to write may not be your original
- Last write wins (discards concurrent writes)
- idea中搜索具体的字符内容的快捷方式
- Combinatorics Notes (6) Associative Algebra of Locally Finite Partially Ordered Sets, Möbius Inversion Formula
- flyway的快速入门教程
猜你喜欢
随机推荐
How to change npm to Taobao mirror [easy to understand]
Write a database document management tool based on WPF repeating the wheel (1)
useragent在线查找
Tkinter 入门之旅
【码蹄集新手村600题】不通过字符数组来合并俩个数字
【AcWing】The 62nd Weekly Match 【2022.07.30】
高通cDSP简单编程例子(实现查询高通cDSP使用率、签名),RK3588 npu使用率查询
After Effects tutorial, How to adjust overexposed snapshots in After Effects?
Bika LIMS 开源LIMS集—— SENAITE的使用(检测流程)
Bika LIMS open source LIMS set - use of SENAITE (detection process)
rj45对接头千兆(百兆以太网接口定义)
leetcode: 6135. The longest ring in the graph [inward base ring tree + longest ring board + timestamp]
MySQL---聚合函数
【Yugong Series】July 2022 Go Teaching Course 023-List of Go Containers
Apache EventMesh 分布式事件驱动多运行时
<artifactId>ojdbc8</artifactId>「建议收藏」
Bika LIMS 开源LIMS集—— SENAITE的使用(检测流程)
杰理语音芯片ic玩具芯片ic的介绍_AD14NAD15N全系列开发
ThreadLocal
iNeuOS工业互联网操作系统,设备运维业务和“低代码”表单开发工具










