STMicroelectronics AN2792 STM8A Easy Programmer Application Note

This application note describes the easy programmer which is a low cost solution allowing the content of the STM8A Flash program memory to be updated when the chip is already soldered on the application board.


STMicroelectronics AN2792 STM8A Easy Programmer Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
12
File format
PDF
File size
130 KB
Published
07 August, 2012
Updated
30 September, 2023
Model
STM8A
MD5 checksum
32D3ABB91CEFA983D7FEE9E9F3FA095F

About this manual

The document details the STM8A Easy Programmer, a tool that utilizes the internal bootloader of the STM8A microcontroller to update Flash memory via standard communication interfaces like USART, LINUART, SPI, or CAN. It explains how the bootloader activates and manages the download process when the chip is in boot mode.

What's inside

  • Introduction
  • Bootloader description
  • Bootloader flowchart description
  • Peripheral settings
  • Transferring the .s19 file to the easy programmer
  • Transfering the .s19 file to the STM8A application board
  • Software and hardware requirements

Specifications

Maximum baud rate1 Mbps
Minimum baud rate4800 bps
Transfer size128 bytes
Default Baud rate115200

Frequently asked questions

What interfaces can the bootloader use for downloading?

The bootloader downloads the application program through the USART, LINUART, SPI, or CAN peripherals.

How is the .s19 file transferred to the easy programmer?

The .s19 file is loaded into the micro SD memory card using the 'STxx bootloader tester tool' software.

What happens if the device is not virgin and synchronization fails?

The easy programmer sends a pulse on the PH4 pin to force the device into boot mode via an external interrupt.

Download PDF (130 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →