| 전자부품 데이터시트 검색엔진 |
|
M58LT128GS 데이터시트(PDF) 89 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M58LT128GS 데이터시트(HTML) 89 Page - STMicroelectronics |
|
89 / 98 page ![]() M58LT128GST, M58LT128GSB 13 Part Numbering 89/98 Figure 25. Buffer Enhanced Factory Program Flowchart and Pseudo Code 1. For how to check the targeted block protection status, refer to the Application Note concerning the device security features. Write 80h to Address WA1 AI10658 Start Write D0h to Address WA1 Write FFFFh to Address = NOT WA1 Read Status Register SR7 = 0 NO NO SR0 = 0 YES Read Status Register SR3 and SR1for errors Exit Write PDX Address WA1 Increment Count X = X + 1 Initialize count X = 0 X = 32 YES Read Status Register Last data? YES Read Status Register SR7 = 1 YES Full Status Register Check End YES SR4 = 1 NO NO NO NO SETUP PHASE PROGRAM AND VERIFY PHASE EXIT PHASE Buffer_Enhanced_Factory_Program_Command (start_address, DataFlow[]) { VerifyTargeted Block Protection Status if block protected Return Device to Read Mode writeToFlash (start_address, 0x80) ; writeToFlash (start_address, 0xD0) ; do { do { status_register = readFlash (start_address); if (status_register.SR4==1) { /*error*/ if (status_register.SR3==1) error_handler ( ) ;/*VPP error */ if (status_register.SR1==1) error_handler ( ) ;/* Locked Block */ } while (status_register.SR7==1) x=0; /* initialize count */ do { writeToFlash (start_address, DataFlow[x]); x++; }while (x<32) do { status_register = readFlash (start_address); }while (status_register.SR0==1) } while (not last data) writeToFlash (another_block_address, FFFFh) do { status_register = readFlash (start_address) }while (status_register.SR7==0) full_status_register_check(); } Verify Block Protection Status Protected Block YES Write FFFFh to Address WA1 Read Mode NO |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |