| 数据搜索系统,热门电子元器件搜索 |
|
TMP86FS49AIUG 数据表(PDF) 247 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP86FS49AIUG 数据表(HTML) 247 Page - Toshiba Semiconductor |
|
247 / 296 page ![]() Page 231 TMP86FS49AIUG Example :After sector erasure (E000H-EFFFH), the program in the RAM area writes data 3FH to address E000H. DI : Disable interrupts (IMF ←"0") LD (WDTCR2),4EH : Clear the WDT binary counter. LDW (WDTCR1),0B101H : Disable the WDT. LD (FLSCR),0011_1000B : Enable command sequence execution. LD IX,0F555H LD IY,0FAAAH LD HL,0E000H ; #### Flash Memory Sector Erase Process #### LD (IX),0AAH : 1st bus write cycle LD (IY),55H : 2nd bus write cycle LD (IX),80H : 3rd bus write cycle LD (IX),0AAH : 4th bus write cycle LD (IY),55H : 5th bus write cycle LD (HL),30H : 6th bus write cycle sLOOP1: LD W,(IX) CMP W,(IX) JR NZ,sLOOP1 : Loop until the same value is read. ; #### Flash Memory Write Process #### LD (IX),0AAH : 1st bus write cycle LD (IY),55H : 2nd bus write cycle LD (IX),0A0H : 3rd bus write cycle LD (HL),3FH : 4th bus write cycle, (1000H)=3FH sLOOP2: LD W,(HL) CMP W,(HL) JR NZ,sLOOP2 : Loop until the same value is read. LD (FLSCR),1100_1000B : Disable command sequence execution. JP XXXXH : Jump to the flash memory area. Example :This write control program reads data from address F000H and stores it to 98H in the RAM area. LD A,(0F000H) : Read data from address F000H. LD (98H),A : Store data to address 98H. |
|
链接网址 |
| 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 |