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