データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

PM0222 データシート(PDF) 16 Page - STMicroelectronics

部品番号 PM0222
部品情報  Brain smart hub family
PDF  33 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0222 データシート(HTML) 16 Page - STMicroelectronics

Back Button PM0222 Datasheet HTML 12Page - STMicroelectronics PM0222 Datasheet HTML 13Page - STMicroelectronics PM0222 Datasheet HTML 14Page - STMicroelectronics PM0222 Datasheet HTML 15Page - STMicroelectronics PM0222 Datasheet HTML 16Page - STMicroelectronics PM0222 Datasheet HTML 17Page - STMicroelectronics PM0222 Datasheet HTML 18Page - STMicroelectronics PM0222 Datasheet HTML 19Page - STMicroelectronics PM0222 Datasheet HTML 20Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 33 page
background image
Flash controller
PM0222
16/33
DocID025476 Rev 1
contains a signature of the memory read, built according to the following polynomial:
x32 + x31 + x4 + x3 + x1 + 1 (seed value = 0xFFFF_FFFF).
MASSREAD sequence:
–
Write in the Flash Controller DATA register the expected value (if MASSREAD is
used in combination with the READOK flag).
–
Write the MASSREAD command (0x55) in the Flash Controller COMMAND
register.
–
Wait for the CMDSTART flag in the IRQSTAT register (polling mode or interrupt
mode) indicating that the command has been taken into account and is under
execution.
–
Clear the CMDSTART flag by writing CMDSTART to ‘1’ in the Flash Controller
IRQSTAT register.
–
Then, wait for the CMDDONE flag in the IRQSTAT register (polling mode or
interrupt mode) indicating that the command is completed.
–
Check the READOK flag (expected high) in the IRQSTAT register or the LFSRVAL
register value to ensure Flash memory content is the expected result.
–
Clear the CMDDONE flag by writing CMDDONE to ‘1’ in the Flash Controller
IRQSTAT register.
6.2.3
Erase function examples
The Flash controller allows erasing one page or the full main Flash.
ERASE sequence:
–
Write the page address to be erased by writing in the Flash Controller ADDRESS
register the following value:
ADDRESS[13:9] = XADR[7:3] = page address to erase
ADDRESS[8:0] = 9’b0 (row and word addresses at zero).
–
Write the ERASE command (0x11) in the Flash Controller COMMAND register.
–
Wait for the CMDSTART flag in the IRQSTAT register (polling mode or interrupt
mode) indicating command is taken into account and under execution.
–
Clear the CMDSTART flag by writing CMDSTART to ‘1’ in the Flash Controller
IRQSTAT register.
–
Wait for the CMDDONE flag in the IRQSTAT register (polling mode or interrupt
mode) indicating that the command is completed.
–
Clear the CMDDONE flag by writing CMDDONE to ‘1’ in the Flash Controller
IRQSTAT register.
–
After this command, the erased page will contain only bits set to ‘1’.



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


データシート ダウンロード

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