Datasheet 搜索 > 微控制器 > ST Microelectronics(意法半导体) > STM32F105RCT6 数据手册 > STM32F105RCT6 用户编程技术手册 2/10 页


¥ 9.909
STM32F105RCT6 用户编程技术手册 - ST Microelectronics(意法半导体)
制造商:
ST Microelectronics(意法半导体)
分类:
微控制器
封装:
LQFP-64
描述:
STMICROELECTRONICS STM32F105RCT6 微控制器, 32位, USB OTG快速, ARM 皮质-M3, 72 MHz, 256 KB, 64 KB, 64 引脚, LQFP
Pictures:
3D模型
符号图
焊盘图
引脚图
产品图
页面导航:
应用领域在P10
导航目录
STM32F105RCT6数据手册
Page:
of 10 Go
若手册格式错乱,请下载阅览PDF原文件

IAP overview AN3354
2/10 Doc ID 018530 Rev 1
2 IAP overview
2.1 Principle
To program the IAP driver to the Flash memory base address, use in-circuit programming
(ICP) either with the JTAG/SWD interface using the development toolchain of your choice or
the factory-embedded bootloader in the System memory area.
The IAP driver uses the USB Host to:
● Download a binary file (.bin) from a Flash disk (thumb drive) to the STM32F105/107's
internal Flash memory.
● Upload all the STM32F105/107's internal Flash memory content into a binary file.
● Execute the user program.
Note: This application note is based on the STM32F105/107xx USB Host library. For more details
about the USB Host stack and a mass storage demonstration, please refer to the
STM32F105/107xx USB Host library user manual (UM1021).
2.2 IAP driver description
The IAP driver contains the following set of source files:
● main.c: contains the USB initialization data. The USB Host state machine is then
executed if the user wants to enter IAP mode or the program will execute the user code.
● stm32f10x_it.c: contains the interrupt handlers for the application.
● command.c: contains the IAP commands (download, upload and jump commands).
● flash_layer.c: provides a medium layer access to the STM32 embedded Flash
driver.
● usb_bsp.c: implements the board support package for the USB host library.
● usbh_usr.c: includes the USB host library user callbacks and LCD control data.
The user can choose to either go to the user application or execute the IAP for
reprogramming purposes by pressing a Key-button connected to a pin:
● If the Key-button is not pressed at reset, the device switches to the user application.
● If the Key-button is pressed at reset, the device displays the IAP main menu.
Figure 1 illustrates the IAP flowchart.
器件 Datasheet 文档搜索
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件