ST AN1577 APPLICATION NOTE Manual
Update: 29 September, 2023
This application note presents the implementation of a Device Firmware Upgrade (DFU) capability in ST7 USB microcontrollers. It follows the DFU class specification defined by the USB Implementers Forum, for reprogramming an application through USB. The DFU principle is particularly well suited to USB applications that require need to be reprogrammed in the field: The same USB connector can be used both for the standard operating mode, and for the reprogramming process. This operation is made possible by the IAP capability featured by most of the ST7 microcontrollers, which allows a FLASH MCU to be reprogrammed by any communication channel. The DFU process, like any other IAP process, is based on the execution of firmware located in Sector 0 of the ST7 Flash memory which manage the Flash operations (erasing and programming) of Sectors 1 and 2. This application note covers then two main aspects: The firmware located in Sector 0, The Interface between the firmware in Sector 0 and the firmware in Sectors 1 & 2. The proposed implementation is demonstrated with 2 different projects: the USB Low-Speed devices Evaluation Kit and the ST7265 Full-Speed 5-in-1 demoboard. In this document these projects are referred to as “LS project” and “FS project”. A basic DFU protocol is also introduced.
File format: PDF
Size: -
MD5 Checksum: 64CEC882439F2788AA535D628E72B75D
Publication date: 07 August, 2012
Downloads: -
PDF Link:
ST AN1577 APPLICATION NOTE Manual PDF