|
|
发表于 2009-6-23 10:16:26
|
显示全部楼层
Read byte for SPI flash part:+ w! Z% }7 h7 i$ @
0 R& w; B% {' j+ a
1. get --> (SPI_BASE)
" ^5 A: D6 H/ S- u2. Write PreFix Opcode(SPI_BASE + 94h, 95h) , Optype(SPI_BASE + 96h , 97h) , OPMENU (SPI_BASE + 98h ~9Fh)
' y8 }9 s* N7 ^/ i/ Y4 Y9 _3. clear register (SPI_BASE + 90h)
* J4 H0 P4 C: m. T1 ~4 U4. 給你要read 的address SPI_BASE + 0ah , 09h , 08h
! t* w6 X! W/ x( e4 J5. 下cmmand 給 SPI controller : / `: X" }5 e# p& U
6. return register 在 Read byte SPI_BASE + 10h 位置
8 L$ a. N% [; x# ^; {* r' o; E7. Read 64byte SPI_BASE + 10h ~ 4Fh位置! d6 s! m2 ^3 Q; ^
/ l9 u+ R) D, Q( ]' ?- g5 s[ 本帖最后由 timothy0025 于 2009-6-23 10:18 编辑 ] |
|