công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN1496 bảng dữ liệu(PDF) 13 Page - STMicroelectronics

tên linh kiện AN1496
Giải thích chi tiết về linh kiện  Flash Programming / Reprogramming
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1496 bảng dữ liệu(HTML) 13 Page - STMicroelectronics

Back Button AN1496 Datasheet HTML 9Page - STMicroelectronics AN1496 Datasheet HTML 10Page - STMicroelectronics AN1496 Datasheet HTML 11Page - STMicroelectronics AN1496 Datasheet HTML 12Page - STMicroelectronics AN1496 Datasheet HTML 13Page - STMicroelectronics AN1496 Datasheet HTML 14Page - STMicroelectronics AN1496 Datasheet HTML 15Page - STMicroelectronics AN1496 Datasheet HTML 16Page - STMicroelectronics AN1496 Datasheet HTML 17Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 13 / 17 page
background image
AN1496 - APPLICATION NOTE
13/
17
3 - EMBEDDED APPLICATION ASPECTS
This chapter advises for embedded applications where the ST10 embedded Flash memory may be the
only non volatile memory available.
Reading the Flash while programming and field reprogramming are the 2 specific points raised by single
chip embedded applications.
3.1 - Reading the Flash While Erasing or Programming
During erasing or programming, the entire Flash is not visible to the CPU, whatever the Flash-block is
erased or programmed. As a consequence on ST10 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 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 temporary disabled before executing the code copied into the
on-chip RAM.
There are 2 ways to deal with this constraint : one is minimizing the requirements in RAM space used
during erasing/programming and another one is 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 ST10 embedded Flash,
– Functions polling the Flash status register for completion of the command and for error (see detailled
specification).
Example of usage : This method can be implemented when it is necessary to program and/or erase
some data in the ST10 embedded Flash 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) during that time.
To maximize programming performance, user could handle the whole part or a part only 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 status register is modified to handle the Communication process.
Example of usage : This method can be implemented when it is necessary to erase and program
(re-program) the whole Flash of the ST10.
3.1.3 - Suspend and Resume Commands
As stand-alone Flash memories, the 0.35
µm embedded Flash controller features suspend and resume
commands; this allows to suspend at any time the erasing or the programming process and resume it
later on.
Once suspend command is completed, the ST10 can access to a needed software routine (i.e.
communication driver) which has not been relocated in the on-chip RAM.
Example of usage : the error handler of the communication driver.
Note : the time for which the Flash is not available is unchanged but this gives the possibility to suspend
the process to run specific routines during Flash erasing or programming (ex : communication protocol).



Html Pages

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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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