| 数据搜索系统,热门电子元器件搜索 |
|
AN1796 数据表(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1796 数据表(HTML) 10 Page - STMicroelectronics |
|
10 / 17 page ![]() 10/17 FIELD UPDATES FOR FLASH BASED ST7 APPLICATIONS USING A PC COMM PORT charcheck: btjt SCISR,#5,doupdate ; jump out and do update if character re- ceived dec a jrne charcheck dec y jrne charcheck dec x jrne charcheck jp $FDFC ; timed out, escape to BANK1 doupdate: ; unlock flash control register ld a,#$56 ld FCSR,a ld a,#$AE ld FCSR,a ld a,SCIDR ld SCIDR,a ; echo character jrt checkforS b001: call waitforchar checkforS: cp a,#'S' jrne b001 ; loop back until S is received call waitforchar cp a,#'1' jreq gots1 ; jump if this is a S1 record cp a,#'9' jreq gots9 ; jump if this is a S9 record jrt b001 ; otherwise, loop back gots1: call getbinary sub a,#3 ; account for address and checksum bytes ld bytecount,a ;byte count saved call getbinary ld loadaddress,a ;high byte of load address saved call getbinary |
|
|
链接网址 |
| 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 |