ST单片机使用ST Visual Programmer软件烧录程序简易教程
文章原始地址: http://feotech.com/?p=100
ST單片機使用ST Visual Programmer軟件燒錄程序簡易教程
ST Visual Programmer 是ST公司為自家單片機開發的一款程序燒錄讀取工具軟件。該軟件簡稱STVP,使用STVP軟件可以實現對芯片程序的批量燒錄。
下方為軟件的官方下載連接,隨著官方網站的調整可能會有個別失效。
tp://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stvp-stm32.html
http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm8-software-development-tools/stm8-programmers/stvp-stm8.html
http://www.st.com/en/development-tools/stm8-software-development-tools.html?querycriteria=productId=SC2108
選擇 Configure ST Visual Programmer 菜單
選擇 Configure ST Visual Programmer 菜單
軟件安裝并完成后啟動STVP,如上圖所示進入Configure -> Configure ST Visual Programmer 選項菜單。
根據實際需求選擇STVP對應選項
在彈出的窗口中依次選擇燒錄器類型、通訊接口、芯片型號并確定
2 .燒錄文件的選擇
打開File -> Open 菜單,在彈出窗口中選擇燒錄文件。如果無法顯示燒錄文件則在下方文件類型中選擇燒錄文件類型。
燒錄程序加載后會在右側窗口中以16進制顯示,左側顯示則是配置信息。
點擊下方的OPTION BYTE選項卡,在上方ROP選項中能選擇 Read Out Protection ON.
點擊上方紅色箭頭的Program all tabs(on active sectors if any) 按鈕,或點擊上方菜單Program -> All tabs(on active sectors if any)進行程序下載。
程序燒錄過程中會提示設置保護選項,詢問是否繼續? 點擊Yes按鈕繼續燒錄并打開保護功能。
下方進度條會顯示程序燒錄進度。
程序燒錄完成后會顯示對應的提示
3.擦出保護功能
有時候芯片需要升級程序,此時芯片內部已經有上一版本程序并加密。直接燒錄的時候會提示如下保護狀態的提示窗口。
STVP提示保護窗口
此時將選項卡切換到OPTION BYTE , 在ROP選項中 選擇 Read Out Protection OFF選項。 點擊上方 Program current tab or active sectors 按鈕即可解除燒錄保護。
但此時芯片Flash內部之前燒錄好的程序也同樣將會被擦除。
總結
以上是生活随笔為你收集整理的ST单片机使用ST Visual Programmer软件烧录程序简易教程的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: STM32 UART串口驱动程序
- 下一篇: 运放的主要参数