STM32F40xxx and STM32F41xxx Flash Programming Manual

This document describes how to program the Flash memory of STM32F405xx, STM32F407xx, STM32F415xx, and STM32F417xx microcontrollers using in-circuit programming or in-application programming


STM32F40xxx and STM32F41xxx Flash Programming Manual - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Programming Manual
Language
English
Pages
27
File format
PDF
File size
383 KB
Published
16 October, 2023
Updated
16 October, 2023
MD5 checksum
4A477E8A5B0EFDF0DAD7F2688E785FE8

About this manual

This document details the procedures for programming the Flash memory of specific STM32F4 series microcontrollers. It covers two primary methods: In-Circuit Programming (ICP) via JTAG, SWD, or bootloader, and In-Application Programming (IAP) using various communication interfaces like USB, CAN, UART, SPI, etc., allowing reprogramming while the application is running.

The manual provides technical details on the Flash memory interface, including read/write operations, erase/program parallelism, option bytes configuration, and protection mechanisms. It also includes specific information on wait states required based on CPU clock frequency and voltage levels to ensure correct data access.

What's inside

  • Flash memory interface
  • In-circuit programming (ICP)
  • In-application programming (IAP)
  • Erase and program operations
  • Option bytes
  • Read/write protections
  • One-time programmable bytes
  • Flash interface registers

Specifications

Capacityup to 1 Mbyte
Data read width128 bits wide

Frequently asked questions

What are the supported microcontroller models?

The manual covers STM32F405xx, STM32F407xx, STM32F415xx, and STM32F417xx.

Can the Flash be programmed while the application is running?

Yes, using In-Application Programming (IAP) which allows reprogramming via interfaces like USB or UART.

Download PDF (383 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →