전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

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
Logo 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


링크 URL



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