STM8L firmware burning and encryption process

Publisher:pi26Latest update time:2020-02-27 Source: eefocusKeywords:STM8L Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Xuanwei Technology STM8 programmer control platform V8.0 link: https://pan.baidu.com/s/1H6FREYRmzefAiO95ErhKWA Extraction code: yhue


Xuanwei Technology STM8 programmer manual link: https://pan.baidu.com/s/1V1iQSBZeQ9VyrD9BkXFePQ Extraction code: wtdd


1. Connect the burner Xuanwei Technology STM8 programmer to the target board according to the specified line sequence (SWD), and insert the USB port into the computer.

insert image description here

2. As shown in the figure, open the burning software Xuanwei Technology STM8 programmer control platform V8.0. The green box at the bottom of the software prompts that the programmer and the control platform are communicating normally, indicating that the burner is successfully connected to the computer.

insert image description here

3. Confirm whether the burning options are correct. The specific options are subject to the examples in the picture. Check Write and verify configuration word* to encrypt the firmware while automatically batch processing.

insert image description here

4. Click [Load overall data file] to load the firmware Hex file. The Hex file is recommended here because the Flash start address of STM8 is 32K. If you use Bin file, you need to fill the front with 32K blank (offset). If you use Hex file, there is no special processing. (This software for STM8 is like this, other models do not need to distinguish between Hex and Bin files)

insert image description here
insert image description here

5. Click the [Automatic Batch Processing] button to complete the firmware burning and encryption operations with one click.

insert image description here

6. Click the [Read Flash (F)] button, and the interface prompts that the device memory has been read and write protected. Please unlock it first, indicating that the firmware encryption is successful. If you want to unlock, you can only click the button [Unlock and erase chip (E)].

insert image description here

Keywords:STM8L Reference address:STM8L firmware burning and encryption process

Previous article:STM8L10x environment construction
Next article:How to solve IAR For STM8L error

Recommended ReadingLatest update time:2024-11-15 14:56

STM8l configuration before entering low power consumption
I am working on a small project of stm8L, powered by a battery. When the button is long pressed to shut down, the system enters the shutdown mode. Although the current consumption is more than ten mA when the system is running (RTC timer wake-up has not been used yet), the current consumption in shutdown mode is still
[Microcontroller]
Detailed explanation of TIM4 timing function of STM8L
TIM4 is the simplest timer of STM8. Ignoring the function of cascade synchronization, TIM4 only has the timing function. It is very suitable for beginners who have just come into contact with STM8 timer. As can be seen from the above figure, TIM4 consists of a divider, an automatic reload register and a counter, and
[Microcontroller]
Detailed explanation of TIM4 timing function of STM8L
STM8L USART1 serial communication detailed explanation including routines
In addition to serial communication, STM8L can also support infrared communication and smart card protocol. These functions will be developed and the program source code will be released later. STM8L can also use DMA to cache data to reduce CPU burden. For simplicity, this article does not use DMA function. You only
[Microcontroller]
STM8L uses internal reference voltage as AD conversion reference voltage
STM8L series chips are generally powered by batteries. After a period of use, the battery voltage drops. If the battery voltage is used as the reference voltage for AD conversion, AD sampling will be distorted. STM8L has an internal reference voltage of 1.225V. Using the internal reference voltage as a reference can s
[Microcontroller]
STM8L uses internal reference voltage as AD conversion reference voltage
stm8l low power halt_active mode
First attempt at low power consumption, using the stm8l chip, using the half-halt mode 1. Regarding wake-up, you can use external interrupts and RTC (different modes of stm8l use different wake-up methods) 2. Regarding power saving, if the ideal current is not reached, it is usually a problem with the gpio port. I
[Microcontroller]
STM8L setting input mode to read PIN high and low levels is a pit
Initialize the GPIO_PIN_7 of the STM8L chip's GPIOC to input mode, and enter the if statement when the voltage value of the pin is high when read by the GPIO_ReadInputPin library function, but it is actually wrong. This is because the value read by the GPIO_ReadInputPin library function is greater than 0, not necessar
[Microcontroller]
STM8L custom long and short buttons
Introduction This article introduces how to customize a long and short key in the STM8L series. experiment platform Compiler software: IAR for STM8 1.42.2 Hardware platform: stm8l101f3p6 development board Emulator: ST-LINK Library version: STM8L_STMTouch_Lib_V1.1.0 6. Hardware Schematic Diagram This ar
[Microcontroller]
STM8L custom long and short buttons
STM8L independent watchdog IWDG
Keep it simple void IWDG_Init(void)//initialization {   IWDG- KR = 0xcc; //Start IWDG   IWDG- KR = 0x55; //Remove write protection of PR and RLR   IWDG- RLR = 0xff; //Watchdog counter reload value   IWDG- PR = 0x06; //Division coefficient 256 1724.63ms   IWDG- KR = 0xaa; //Refresh IDDG to avoid watchdog reset and re
[Microcontroller]
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号