This application note provides general guidelines for creating an IAP application. The application note describes how to use the USART protocol to run the IAP on an STM32F10x microcontroller running user firmware.
This document describes the In-Application Programming (IAP) feature for STM32F10x microcontrollers, allowing firmware updates via communication protocols like USART. It details the IAP driver components, including source files for downloading, uploading, and executing programs, as well as the YMODEM protocol used for data transfer.
The guide explains how to configure the HyperTerminal for communication, run the IAP driver, and navigate the driver menu to download images, upload memory contents, execute new programs, or disable write protection. It also covers specific implementation details for various STM32F10x device densities and evaluation boards.
The system clock frequency must allow a generated baud rate of 115200 bps.
The YMODEM protocol sends data in 1024-byte blocks.
An error message stating 'Other error messages are also displayed when the image file size is greater than the allowed memory space' appears.