How to set read protection and remove read protection using STVP programming program in STM8 series chips

Publisher:BlissfulCharmLatest update time:2021-11-02 Source: eefocusKeywords:STM8  STVP Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

First, open STVP, open the program to be burned (Open), if you want to read protect the chip, just set the protection option to ON. As shown in the figure below:

insert image description here
Click Write All, and you will be prompted to set protection. Click "Yes" to write protection.
insert image description here
After the above writing is completed, both reading and writing are protected. Tips as shown:
insert image description here
If you want to download the program again, you must remove the protection first, you need to select protection OFF, and click the button in the figure below to complete the operation.
insert image description here


Keywords:STM8  STVP Reference address:How to set read protection and remove read protection using STVP programming program in STM8 series chips

Previous article:STM8 STVD about #error clnk Debug\gpiotest.lkf
Next article:Lighting up LEDs on NUCLEO-8L152R8

Recommended ReadingLatest update time:2024-11-23 06:58

STM8 AWU ultra-low power mode
__interrupt void AWU_IRQHandler(void) {    AWU- CSR = AWU- CSR; /* Clear the update interrupt flag*/   } void Enter_Halt() {     CLK_DeInit();     AWU_DeInit();     AWU_Cmd(ENABLE);     CLK_SlowActiveHaltWakeUpCmd(ENABLE);//Enter ultra-low power mode     asm("halt"); } Welcome to use Markdown editor to write blog
[Microcontroller]
STM8 data @near@tiny definition
How to assign a variable to a specific address Example: unsigned char temp_A@0x00; //define unsigned variable temp_A and force its address to be 0x00 unsigned char temp_B@0x100; //define unsigned variable temp_B and force its address to be 0x100 @tiny unsigned char temp_C; //define the unsigned variable temp_C
[Microcontroller]
STM8 study notes - timer timing function and interrupt related
All timers are similar, they just count, set the overflow flag, and generate an interrupt if interrupts are enabled. Speaking of interrupts, the interrupt vector table of the STM8S105 is as follows Time base unit:     When the internal clock is selected, CK_PSC is provided by fmaster, and is divided by the t
[Microcontroller]
STM8 development environment construction (revised version)
Some of the steps I wrote before are bullshit. I don’t know why no one has given feedback. I mainly recorded them for myself. I wanted to write them well, but when I got to the last step, I used the Backspace key to delete, and it returned to the previous page. I also had to manually enter the width when uploading pic
[Microcontroller]
STM8 development environment construction (revised version)
IAR FOR STM8 study notes firmware library GPIO
After some struggle, I decided to use the official firmware library. Download a STM8S firmware library from the Internet, remember it is FOR IAR. Find the IAR template inside and you can start using it.     These are all pre-written library functions that can be called directly, but you must first read and under
[Microcontroller]
IAR FOR STM8 study notes firmware library GPIO
ST-LINK/V2 + STM8 + STVP download program + Error on Option Bytes
gdi-error : Option bytes read error: not complemented; please use a programmer  Personally, I feel that ST-LINk/V2 is a scam. I wasted a day looking for the cause! The first step is to connect, which must be correct: LED Status Description Flashing red: The first USB enumeration process after ST-LINK/V2 is connecte
[Microcontroller]
ST-LINK/V2 + STM8 + STVP download program + Error on Option Bytes
How to use the built-in bootloader of STM8
1. First, confirm whether the STM8 you are using has its own bootloader. Refer to the table below. 2. STM8 empty devices can directly use their own bootloader. 3. After STM8 is burned using SWIM, if you want to continue to use its own bootloader, you must set the optional byte to 0x55AA. As shown below: The method
[Microcontroller]
How to use the built-in bootloader of STM8
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号