This document provides guidelines for creating an in-application programming (IAP) application using the STM32F105/107 microcontroller. The microcontroller can be updated using a USB host. The document focuses on using USB host mass storage as an example. This method allows firmware upgrades without the need for a computer.