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

X  

AN2692 데이터시트(PDF) 21 Page - STMicroelectronics

부품명 AN2692
상세설명  How to program/reprogram the ST10F269Zx Flash memory
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2692 데이터시트(HTML) 21 Page - STMicroelectronics

Back Button AN2692 Datasheet HTML 17Page - STMicroelectronics AN2692 Datasheet HTML 18Page - STMicroelectronics AN2692 Datasheet HTML 19Page - STMicroelectronics AN2692 Datasheet HTML 20Page - STMicroelectronics AN2692 Datasheet HTML 21Page - STMicroelectronics AN2692 Datasheet HTML 22Page - STMicroelectronics AN2692 Datasheet HTML 23Page - STMicroelectronics AN2692 Datasheet HTML 24Page - STMicroelectronics AN2692 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 29 page
background image
AN2692
Embedded application aspects
21/29
3
Embedded application aspects
This section advises for embedded applications where the ST10F269Zx embedded Flash
memory may be the only non-volatile memory available.
Reading the Flash memory while programming and field reprogramming are the two specific
points raised by single-chip embedded applications.
3.1
Reading the Flash memory while erasing or programming
During erasing or programming, the entire Flash memory is not visible to the CPU, whatever
the Flash memory block being erased or programmed. As a consequence on ST10F269Zx
software:
●
During erasing and programming, it is not possible to have access to the interrupt
vector table and so all interrupts shall be disabled.
●
Before erasing and programming, a small software loop shall be copied from the Flash
memory to the on-chip RAM to run the minimum code needed to wait for the end of
erasing or programming.
●
If code protection is activated, it should be temporarily disabled before executing the
code copied into the on-chip RAM.
There are two ways of dealing with this constraint: one consists in minimizing the
requirements in RAM space during erasing/programming, and the other consists in
maximizing the programming speed by duplicating all needed software into the on-chip
RAM.
3.1.1
Minimum software to be copied into the on-chip RAM
The minimum software to be copied into the on-chip RAM is:
●
Functions sending the erasing and/or programming commands to the ST10F269Zx
embedded Flash memory,
●
Functions polling the Flash memory Status Register for completion of the command
and for error (see detailed specification).
Example of use: This method can be implemented when it is necessary to program and/or
erase some data in the ST10F269Zx embedded Flash memory during normal operation.
3.1.2
Maximizing programming performance at system level
When the minimum software is copied into the on-chip RAM, during erasing and/or
programming, the CPU cannot run any other software (like communication).
To maximize the programming performance, the user could handle the whole part or only
part of the communication handler. This requires:
●
That more software is copied into the on-chip RAM,
●
The communication handler is not using interrupts,
●
The software loop polling the Flash memory Status Register is modified to handle the
Communication process.
Example of use: This method can be implemented when it is necessary to erase and
program (reprogram) the whole ST10F269Zx Flash memory.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


데이터시트 다운로드

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