当前位置:网站首页>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
,否则无法下载)
边栏推荐
猜你喜欢
Kotlin协程:续体、续体拦截器、调度器
如何才能真正的提高自己,成为一名出色的架构师?
华为手机一键开启“维修模式”隐藏所有数据,让手机隐私更加安全
Chinese encoding Settings and action methods return values
杰理语音芯片ic玩具芯片ic的介绍_AD14NAD15N全系列开发
【码蹄集新手村600题】通向公式与程序相结合
Introduction of Jerry voice chip ic toy chip ic_AD14NAD15N full series development
TestCafe总结
高通cDSP简单编程例子(实现查询高通cDSP使用率、签名),RK3588 npu使用率查询
Flex布局详解
随机推荐
有一说一,外包公司到底值不值得去?
MySQL - single function
Thymeleaf是什么?该如何使用。
Verilog实现占空比为5/18的9分频
TestCafe总结
Poker Game in C# -- Introduction and Code Implementation of Blackjack Rules
Chinese encoding Settings and action methods return values
杰理语音芯片ic玩具芯片ic的介绍_AD14NAD15N全系列开发
每日练习------随机产生一个1-100之间的整数,看能几次猜中。要求:猜的次数不能超过7次,每次猜完之后都要提示“大了”或者“小了”。
1161. Maximum Sum of Elements in Layer: Hierarchical Traversal Application Problems
go基础部分学习笔记记录
iNeuOS工业互联网操作系统,设备运维业务和“低代码”表单开发工具
基于WPF重复造轮子,写一款数据库文档管理工具(一)
MySQL - multi-table query
Introduction of Jerry voice chip ic toy chip ic_AD14NAD15N full series development
[TypeScript] OOP
【Yugong Series】July 2022 Go Teaching Course 023-List of Go Containers
Write a database document management tool based on WPF repeating the wheel (1)
Combinatorics Notes (6) Associative Algebra of Locally Finite Partially Ordered Sets, Möbius Inversion Formula
ojdbc8 "Recommended Collection"