Electronic Components Datasheet Search
  English  ▼

X  

AN2692 Datasheet(PDF) 14 Page - STMicroelectronics

Part # AN2692
Description  How to program/reprogram the ST10F269Zx Flash memory
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2692 Datasheet(HTML) 14 Page - STMicroelectronics

Back Button AN2692 Datasheet HTML 10Page - STMicroelectronics AN2692 Datasheet HTML 11Page - STMicroelectronics AN2692 Datasheet HTML 12Page - STMicroelectronics AN2692 Datasheet HTML 13Page - STMicroelectronics AN2692 Datasheet HTML 14Page - STMicroelectronics AN2692 Datasheet HTML 15Page - STMicroelectronics AN2692 Datasheet HTML 16Page - STMicroelectronics AN2692 Datasheet HTML 17Page - STMicroelectronics AN2692 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 29 page
background image
Writing code for the ST10F269Zx with 0.35 µm embedded Flash
AN2692
14/29
2.3
Flash memory mapping in the ST10F269Zx memory space
As defined for all ST10 derivatives, the lower 32 Kbyte part of the embedded Flash memory
can be mapped to two different segments.
The Flash memory mapping is controlled by the ROMS1 bit in the SYSCON register.
2.4
Program command
In the examples hereafter, the 16-bit registers R11 and R12 are used as auxiliary registers
for indirect addressing.
The following examples use DPP0. All that is needed is to make sure that DPP0 points to
the active Flash memory area.
To be independent of the mapping of sector 0, DPP is set to point to segment 2 (that is:
DPP0 = 08h).
Note:
The NOP instruction must be added after the last erase or program command to avoid the
ST10 pipeline effect (see Flash commands and ST10 pipeline effect on page 8).
Figure 2 shows the algorithm for word programming verification.
Figure 2.
Verification algorithm for word programming
Table 2.
Flash memory block mapping (lower 32 Kbytes of memory)
Block(1)
1.
The memory mapping of the other block is independent of the ROMS1 bit.
Addresses (Segment 0)
Addresses (Segment 1)
Size (Kbytes)
0
1
2
00 0000h to 00 3FFFh
00 4000h to 00 5FFFh
00 6000h to 00 7FFFh
01 0000h to 01 3FFFh
01 4000h to 01 5FFFh
01 6000h to 01 7FFFh
16
8
8
Program Word command
FSB.7, DATA.7
FSB.5 = 0?
FSB.7, DATA.7
No
No
No
Yes
Yes
Yes
ai14877
Data polling
Programming OK
Programming error



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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