STMicroelectronics AN3226 STM32F107 IAP over Ethernet Application Note

This application note provides implementation solutions for In-Application Programming (IAP) using the STM32F107 Ethernet communications interface. Two possible solutions are provided on top of the LwIP TCP/IP stack: IAP using TFTP (Trivial File Transfer Protocol) or IAP using HTTP (Hypertext Transfer Protocol).


STMicroelectronics AN3226 STM32F107 IAP over Ethernet Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
18
File format
PDF
File size
383 KB
Published
07 August, 2012
Updated
30 September, 2023
MD5 checksum
33CD0A5F69084D52B9D6388F49823CF4

About this manual

This document provides implementation solutions for In-Application Programming (IAP) on the STM32F107 microcontroller using its Ethernet communication interface. It details two specific methods for upgrading firmware in the field: using the Trivial File Transfer Protocol (TFTP) and using the Hypertext Transfer Protocol (HTTP). Both solutions operate on top of the LwIP TCP/IP stack.

What's inside

  • IAP overview
  • Theory of operation
  • IAP using TFTP
  • IAP using HTTP
  • TFTP overview
  • Implementing IAP using TFTP
  • Using the software
  • HTTP file upload overview
  • Implementing IAP using HTTP
  • Environment settings

Specifications

Supported MicrocontrollerSTM32F107
Communication InterfaceEthernet
TCP/IP StackLwIP v1.3.1
TFTP Data Block Size512 bytes

Frequently asked questions

How is the TFTP server implemented?

The implementation consists of a basic TFTP server on top of the LwIP stack that responds to file WRITE requests from a remote client.

What is the fixed data block size for the TFTP implementation?

The data block size is fixed to 512 bytes.

Download PDF (383 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →