一 STLINK可以隨時在STLINK與jlink之間切換:方法:https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
工具下載:https://www.segger.com/downloads/jlink/STLinkReflash
二 STLINK的固件更新工具和方法:
更新工具:https://www.brobwind.com/archives/1309
http://www.stmcu.org.cn/document/detail/index/id-214943
https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link007.html
STLink firmware upgrade:
固件:https://www.brobwind.com/wp-content/uploads/2016/11/2016_11_24_BRO-DBG-LINK-V2-1_BL-20161121.bin_.zip
http://bbs.eeworld.com.cn/thread-555329-1-1.html
附上固件
<ignore_js_op> STLinkV2.J28.M18.rar (37.05 KB, 下載次數: 305)
三 燒寫工具:
STM32CubeProg:支持對STLINK調試器的在線固件升級;配合STM32Trusted Package Creator tool實現固件加密操作
https://my.st.com/content/ccc/resource/technical/software/utility/group0/3c/80/a7/a1/72/51/4f/38/stm32cubeprog/files/stm32cubeprog.zip/jcr:content/translations/en.stm32cubeprog.zip
STM32 ST-LINK utility:支持HEX/BIN/S19/,支持ST-LINK/V2 firmware upgrade
https://www.st.com/en/development-tools/stsw-link004.html
四開發板板載STLINK使用:http://www.stmcu.org.cn/module/forum/thread-609184-1-1.html
只需要從CN2卸下兩個跳線,如圖7,並根據表1將應用程序連接到CN4調試接口,就可以了。注:如果在外部應用程序你使用CN4的引腳5,SB12 NRST(目標MCU RESET)必須關閉。
表1.調試連接器CN4(SWD)
引腳 CN4 描述
1 VDD_TARGET 應用程序的VDD
2 SWCLK SWD 時鍾
3 GND 地
4 SWDIO SWD 數據輸入/輸出
5 NRST 目標MCU的RESET
6 SWO 保留