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

X  

PM0020 数据表(PDF) 23 Page - STMicroelectronics

部件名 PM0020
功能描述  STR91xFA Flash programming manual
PDF  87 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

PM0020 数据表(HTML) 23 Page - STMicroelectronics

Back Button PM0020 Datasheet HTML 19Page - STMicroelectronics PM0020 Datasheet HTML 20Page - STMicroelectronics PM0020 Datasheet HTML 21Page - STMicroelectronics PM0020 Datasheet HTML 22Page - STMicroelectronics PM0020 Datasheet HTML 23Page - STMicroelectronics PM0020 Datasheet HTML 24Page - STMicroelectronics PM0020 Datasheet HTML 25Page - STMicroelectronics PM0020 Datasheet HTML 26Page - STMicroelectronics PM0020 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 87 page
background image
PM00020
STR91xFA Flash memory
23/87
1.
Write a Program Set-up command (40h) to any word address in the bank to be
programmed.
2.
Write the data halfword to be programmed to the destination address in the bank.The
address must be pointing to the halfword location where the data is programmed.
3.
After writing the data, reading any address within the bank will return the Bank Status
Register data.
While programming is in progress the PECS bit in the Bank Status Register is ‘0’.
When programming is completed the PECS bit is ‘1’.
The PS bit in the Bank Status Register returns ‘1’ if there has been a programming
error.
If the bank is protected, the program operation aborts and the SP bit in the Status
Register returns ‘1’
4.
While programming is ongoing, the bank accepts only Read Status Register (70h) and
Program/Erase Suspend (B0h) commands.
5.
At the end of the program operation:
Write a Clear Status Register (50h) command to the bank to reset the Status
Register.
Write a Read Array (FFh) command to return to normal operations.
Note:
Programming aborts if the MCU is powered down or a reset occurs. As data integrity cannot
be guaranteed when the program operation is aborted, the sector containing the memory
location must be erased and reprogrammed.
1.12.3
CLSR clear status register (50h)
Each bank has a Status Register which indicates when a program or erase operation is
complete and the success or error status. (see also Section 1.13.1: Bank status register).
To clear the Status Register:
1.
Write a Clear Status Register command (50h) to any word address in the bank.
2.
After the Clear Status Register command is executed, the bank returns automatically to
Read Array mode.
1.12.4
CR write Flash configuration register (60h)+(03h)
The Flash Configuration Register is located in the user configuration sector of Bank 1 which
you can read using the RSIG command.
To program the Flash Configuration Register:
1.
Write a Write Flash Configuration Register command (60h) to any word address in
Bank 1.
2.
Write a Write Flash Configuration Register Confirm command (03h) to an address in
Bank 1. The A[12:9] and A4 address bit values are written to the Flash Configuration
register. However the reserved bit values cannot be changed. Refer to Section 1.13.6.
3.
At the end of the command, the memory returns to Read mode as if a Read Array
command had been issued



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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87


数据表 下载

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