ST Visual Programmer Batch Burn Write tutorial

Source: Internet
Author: User
Tags new set

Source: ST Visual programmer Batch Burn-Write tutorial

Reference: Why STM8 write the protection, with St Visual Programmer can not re-burn the program?

First of all, why build a burning project--only one reason. Because you can not give the source project to others to help you burn the program.

--and then to spit the groove under St's official IDE. It's true. I was extremely uncomfortable with it. So he fought the IAR. It was found that IAR could not be mass-produced-because the IAR less program seemed certain to be under construction. The hex file cannot be burned directly into the board. So the last is to use STVP to batch burn.
First of all, prepare your burn file. Hex or S19. File. (in IAR or STVD, the premise must be sure that you have no problem with the program--that's not to mention).
First step: Then open STVP

。 That's what happens when you open it.
Step two: click Option BYTE . ROP on. This is the flash lock after each burn. Lest others should read your IC.
And if you have the crystal oscillator is 24M. Waitstate to open. Then point File->save. and then save. Remember this is Optioin byte!!. If your clock is 24M. Or the program should be locked. Be sure to generate this hex file.

Save Option BYTE

Part III: Project->new set up a burn-write project. Save. Project Edition will then pop up.
First menu. Conifguration. Choose. St-link. Usb. SWIM. Chip model

then select Properties. Tick unlock projtection .... (This is to unlock automatic protection before each burn.) To burn again)
Tick prompt for new programming cycle. (This is after each burn write will pop up to ask whether the next burn write)

Then click Option BYTE. Add selects the option BYTE that you generated in the first step. Hex file. (This hex file is specifically configured with your option byte information)

And then if you have an EEPROM to burn. Select Data MEMORY. Step above.

Finally, program MEMORY. Select the program file that you STVD or IAR generates. Then click OK

Then close STVD. Will prompt you to save. Click Yes.
Re-open STVD. Click Project->open. Open the project file you just created.
Then the board is connected to the St-link. Power up.
In the Click. Program All tabs burn write.

Select "Yes"

Select "Yes"

to here. Just finish the burn. Then you are prompted whether to write the next burn. You just have to connect to the new board. Click "Yes" to start a new burn-write.

A lot of people would say. Why did I finish it after I burned it? Without any reaction. I'm sure countless people have been killed by this problem. Damn it.
STVP a little bit after the program was burnt out. Unless. You pull the st-link out. Power your board from somewhere else. Or. You turn the STVP off on the computer. And then re-power the board.
The program on the board can run. Because the program you board and STVP connection has not disconnected!!
Too much of a dad. IAR is not like this!! Maybe it's necessary to click Go after the IAR is burnt out. or run. Will not run--。。

ST Visual Programmer Batch Burn Write tutorial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.