STM32開發環境
ofollow,noindex" target="_blank">install_sw4stm32_macos_64bits-v2.6.run.tar
install_sw4stm32_linux_64bits-v2.6.run.tar
install_sw4stm32_win_64bits-v2.6.exe輔助工具
官方下載地址 ST-LINK-SERVER
本站下載一份拷貝ST-LINK-SERVER 1.0.6
ST的MEMOS開發參考
使用說明如下:
用安裝好的 STM32CubeMX
選擇晶片/開發板型號,生成程式碼。然後使用 System Workbench for STM32
( SW4STM32
)開啟生成的工程即可。
對於使用官方開發板的情況,右側會出現藍色的開發板連結,需要在 STM32CubeMX
生成程式碼的時候選擇箭頭指向的步驟來操作,其他非開發板型別,需要雙擊欄目即可。

注意事項
目前發現 ST
官方的開發板在接入 USB HUB
的情況下,會出現無法識別的情況。這種情況如果發生,請直接把裝置插入到電腦上,不要通過 USB HUB
。
附上部分官網簡介:
STMCube™ is an STMicroelectronics original initiative to make developers’ lives easier by reducing development effort, time and cost. STM32Cube is the implementation of STMCube that covers the whole STM32 portfolio and provides:
STM32CubeMX , available under Windows ® , Linux ® and macOS ® is a tool able to generate initialization C-code for STM32 MCUs based on a graphical user interface and one embedded software library (Cube Embedded Software package) per series of STM32 products. This embedded software library comprises the hardware abstraction layer (HAL) and Low-Layer (LL) APIs for the STM32 peripherals and a set of Middleware (RTOS, USB, TCP/IP, Graphics, …) based on components that are either ST developed or open source.
The initialization code, Middleware libraries, HAL and LL APIs, are all compatible with every STM32 compilers. The included example projects are set up for IAR, Keil, and the GCC-based AC6 SW4STM32
STM32Cube comes with hundreds of application code examples and supports all the STM32 series.
參考連結
- STM32 Software Development Tools
- “CPU is not halted” and “No APB-AP found” error