| 전자부품 데이터시트 검색엔진 |
|
SH79F024XU 데이터시트(PDF) 22 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH79F024XU 데이터시트(HTML) 22 Page - SINOWEALTH Electronic Ltd |
|
22 / 92 page ![]() SH79F SH79F SH79F SH79F082 082 082 082 22 7.4.3 7.4.3 7.4.3 7.4.3 SSP SSP SSP SSP Programming Programming Programming Programming Notice Notice Notice Notice To successfully complete SSP programming, the user’s software must following the steps below: (1) (1) (1) (1) For For For For Code/Data Code/Data Code/Data Code/Data programming: programming: programming: programming: 1. Disable interrupt; 2. Fill in the XPAGE, IB_OFFSET for the corresponding address; 3. Fill in IB_DATA if programming is wanted; 4. Fill in IB_CON1-5 sequentially; 5. Add 4 nops for more stable operation; 6. Code/Data programming, CPU will be in IDLE mode; 7. Go to Step 2 if more data are to be programmed; 8. Clear XPAGE; enable interrupt if necessary. (2) (2) (2) (2) For For For For S S S Sector ector ector ector E E E Erase: rase: rase: rase: 1. Disable interrupt; 2. Fill in the XPAGE for the corresponding sector; 3. Fill in IB_CON1-5 sequentially; 4. Add 4 NOPs for more stable operation; 5. Sector Erase, CPU will be in IDLE mode; 6. Go to step 2 if more sectors are to be erased; 7. Clear XPAGE; enable interrupt if necessary. (3) (3) (3) (3) For For For For Code Code Code Code Reading: Reading: Reading: Reading: Just Use “MOVC A, @A+DPTR” or “MOVC A, @A+PC”. 7.4.4 7.4.4 7.4.4 7.4.4 8bits 8bits 8bits 8bits Read Read Read Read only only only only Random Random Random Random Code Code Code Code SH79F082 has an unchanged 8bit random code, witch is a random data from 0 to 255. It can not be erased, but can be read by program or programmer. Table Table Table Table 7 7 7 7....12 12 12 12 Flash Access Control Register When read random code, first, set FAC as 1, make DPTR equal “007FH” and clear A, then read it by the instruction of “MOVC A, @A+DPTR”. Note: Note: Note: Note: random code is not at program ROM. Instruction access random code or program ROM is judge by the bit of FAC. So after read ramdom code make sure FAC equal 0, otherwise the program read error code. A7 A7 A7 A7H H H H Bit7 Bit7 Bit7 Bit7 Bit6 Bit6 Bit6 Bit6 Bit5 Bit5 Bit5 Bit5 Bit4 Bit4 Bit4 Bit4 Bit3 Bit3 Bit3 Bit3 Bit2 Bit2 Bit2 Bit2 Bit1 Bit1 Bit1 Bit1 Bit0 Bit0 Bit0 Bit0 FLASHCON FLASHCON FLASHCON FLASHCON - - - - - - - FAC R/W R/W R/W R/W - - - - - - - R/W Reset Reset Reset Reset Value Value Value Value ((((POR/WDT/LVR/PIN POR/WDT/LVR/PIN POR/WDT/LVR/PIN POR/WDT/LVR/PIN)))) - - - - - - - 0 Bit Bit Bit Bit Number Number Number Number Bit Bit Bit Bit Mnemonic Mnemonic Mnemonic Mnemonic Description Description Description Description 0 0 0 0 FAC FAC FAC FAC FAC: FAC: FAC: FAC: Flash Flash Flash Flash access access access access control control control control 0: access main memory 1: access random code |
|
링크 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 |