| Moteur de recherche de fiches techniques de composants électroniques |
|
AN1796 Fiches technique(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1796 Fiches technique(HTML) 9 Page - STMicroelectronics |
|
9 / 17 page ![]() 9/17 FIELD UPDATES FOR FLASH BASED ST7 APPLICATIONS USING A PC COMM PORT segment byte at: FDFC 'program' ; skip jump from BANK0 jp start ;*************** SECTOR0 CODE *********************************** segment byte at: 80-FF 'bank0ram0' b0byte0: ds.b 1 bytecount: ds.b 1 loadaddress: ds.w 1 checksum: ds.b 1 flashbuffer: ds.b 32 RAMCODE: ds.b 40 segment byte at: FE00 'program' BANK0: NOP NOP sim ; GLOBALLY DISABLE INTERRUPTS ld a,#%11010010 ; set baud rate to 9600 ld SCIBRR,a ld a,#%00001100 ; enable SCI transmitter and receiver ld SCICR2,a ; copy the loader routine from ROM to RAM clr x ramtransfer: ld a,(FLASHPROGRAMMER,x) ld (RAMCODE,x),a inc x cp x,#40 jrne ramtransfer bootupwait: ld x,#55 ; 5 seconds clr y clr a |
|
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |