| 数据搜索系统,热门电子元器件搜索 |
|
M58LR128HT 数据表(PDF) 101 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M58LR128HT 数据表(HTML) 101 Page - STMicroelectronics |
|
101 / 112 page ![]() M58LR128HT, M58LR128HB Flowcharts and pseudocodes 101/112 Figure 27. Buffer Enhanced Factory Program flowchart and pseudocode Write 80h to Address WA1 AI07302a 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[]) { 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(); } |
|
链接网址 |
| 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 |