| 전자부품 데이터시트 검색엔진 |
|
AN1796 데이터시트(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1796 데이터시트(HTML) 12 Page - STMicroelectronics |
|
12 / 17 page ![]() 12/17 FIELD UPDATES FOR FLASH BASED ST7 APPLICATIONS USING A PC COMM PORT ; reads two successive characters from the character stream (hex-ascii) ; and returns them in a as a byte getbinary: call getdigit swap a ld b0byte0,a call getdigit add a,b0byte0 ret ; this subroutine gets copied to and is executed out of RAM FLASHPROGRAMMER: clr x latchenable: bset FCSR,#1 ; enable Xflash latches fp004: cp x,bytecount jreq fp005 ld a,(flashbuffer,x) ld ([loadaddress.w],x),a inc x ld a,x add a,{loadaddress+1} and a,#$1F jrne fp004 ; apply programming pulse bset FCSR,#0 ; set PGM fp006: btjt FCSR,#0,fp006 jrt latchenable fp005: ; apply programming pulse bset FCSR,#0 ; set PGM fp007: btjt FCSR,#0,fp007 nop nop ret ; receives a hex-ascii character and converts to binary getdigit: call waitforchar sub a,#48 cp a,#9 jrule getdigitA |
|
|
링크 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 |