数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN4045 数据表(PDF) 5 Page - STMicroelectronics

部件名 AN4045
功能描述  STM32F3 series in-application programming
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN4045 数据表(HTML) 5 Page - STMicroelectronics

  AN4045 Datasheet HTML 1Page - STMicroelectronics AN4045 Datasheet HTML 2Page - STMicroelectronics AN4045 Datasheet HTML 3Page - STMicroelectronics AN4045 Datasheet HTML 4Page - STMicroelectronics AN4045 Datasheet HTML 5Page - STMicroelectronics AN4045 Datasheet HTML 6Page - STMicroelectronics AN4045 Datasheet HTML 7Page - STMicroelectronics AN4045 Datasheet HTML 8Page - STMicroelectronics AN4045 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 16 page
background image
DocID022782 Rev 2
5/16
AN4045
IAP overview
15
1
IAP overview
The devices of the STM32F3 series, also named STM32F3xx in this document, are
implemented in the STMicroelectronics evaluation boards.
1.1
Principle
Users have to program the IAP driver to the Flash memory base address via the JTAG/SWD
interface using the chosen development toolchain or the factory-embedded boot loader in
the System memory area.
The IAP driver uses the USART to:
Download a binary file from the HyperTerminal to the STM32F3xx internal Flash
memory.
Upload the STM32F3xx internal Flash memory content (starting from the defined user
application address) into a binary file.
Execute the user program.
1.2
IAP driver description
The IAP driver contains the following set of source files:
main.c: where the USART initialization and RCC configuration are set. A main menu is
then executed from the menu.c file.
menu.c: contains the main menu routine. The main menu gives the options of
downloading a new binary file, uploading internal Flash memory, executing the binary
file already loaded and disabling the write protection of the pages where the user loads
his binary file (if they are write-protected).
flash_if.c contains write, erase and disable write protection of the internal Flash
memory.
common.c: contains functions related to read/write from/to USART peripheral
ymodem.c: It is used to receive/send the data from/to the HyperTerminal application
using the YMODEM protocol(a). In case of data reception failure, the “Failed to receive
the file” error message is displayed. If the data is received successfully, it is
programmed into the internal Flash memory from the appropriate address. A
comparison between internal RAM contents and internal Flash memory contents is
performed to check the data integrity. If there is any data discrepancy, the “Verification
failed” error message is displayed. Other error messages are also displayed when the
image file size is greater than the allowed memory space and when the user aborts the
task.
STM32F3xx Standard Peripherals Library.
a. The Ymodem protocol sends data in 1024-byte blocks. An error check is performed in data blocks transmitted
to the STM32F3xx internal RAM to compare the transmitted and received data. Blocks unsuccessfully received
are acknowledged with an NAK (Negative Acknowledgment). For more details about the Ymodem protocol,
refer to existing documentation.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com