| Zakładka z wyszukiwarką danych komponentów |
|
AN1796 Arkusz danych(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1796 Arkusz danych(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 |
|
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |