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

X  

AN4286 데이터시트(PDF) 27 Page - STMicroelectronics

부품명 AN4286
상세설명  SPI protocol used in the STM32 bootloader
PDF  38 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4286 데이터시트(HTML) 27 Page - STMicroelectronics

Back Button AN4286 Datasheet HTML 23Page - STMicroelectronics AN4286 Datasheet HTML 24Page - STMicroelectronics AN4286 Datasheet HTML 25Page - STMicroelectronics AN4286 Datasheet HTML 26Page - STMicroelectronics AN4286 Datasheet HTML 27Page - STMicroelectronics AN4286 Datasheet HTML 28Page - STMicroelectronics AN4286 Datasheet HTML 29Page - STMicroelectronics AN4286 Datasheet HTML 30Page - STMicroelectronics AN4286 Datasheet HTML 31Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 38 page
background image
Bootloader command set
AN4286
27/38
DocID024458 Rev 2
2.9
Write Protect command
The Write Protect command is used to enable the write protection for some or all Flash
memory sectors. When the bootloader receives the Write Protect command, it transmits the
ACK byte to the master. After transmission of the ACK byte, the bootloader waits for the
number of bytes to be received (sectors to be protected) and then receives the Flash
memory sector codes from the application.
At the end of the Write Protect command, the bootloader transmits the ACK byte and
generates a system reset to take into account the new configuration of the option byte.
The Write Protect command sequence is as follows.
•
The bootloader receives one byte that contains N, the number of sectors to be write-
protected - 1 (0 ≤ N ≤ 255)
•
The bootloader receives (N + 1) bytes, each byte contains a sector code.
Note:
The total number of sectors and the sector number to be protected are not checked, which
means that no error is returned when a command is passed with a wrong number of sectors
to be protected or a wrong sector number.
If a second Write Protect command is executed, the Flash memory sectors that had been
protected by the first command become unprotected and only the sectors passed within the
second Write Protect command become protected.



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


데이터시트 다운로드

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