|
|
发表于 2009-6-23 10:16:26
|
显示全部楼层
Read byte for SPI flash part:8 Q) v' H: o( x$ R& b- ]
) o" j; b! a0 g/ _7 c5 s1. get --> (SPI_BASE)
6 X. P5 ?2 E, _2 `4 t; y2. Write PreFix Opcode(SPI_BASE + 94h, 95h) , Optype(SPI_BASE + 96h , 97h) , OPMENU (SPI_BASE + 98h ~9Fh)& a9 e: A2 i6 {' I" ~
3. clear register (SPI_BASE + 90h)( i" `2 H* `: c- }
4. 給你要read 的address SPI_BASE + 0ah , 09h , 08h/ `- v9 Q% J3 |/ N# `* J% f
5. 下cmmand 給 SPI controller : - a7 c( k5 j. M; {- _+ W
6. return register 在 Read byte SPI_BASE + 10h 位置
) _: Z0 t- j+ i6 X: c J$ ^7 w+ u7. Read 64byte SPI_BASE + 10h ~ 4Fh位置/ n, u( [5 h) q) k: F) f
& P7 t3 Z; v |/ _$ g" j[ 本帖最后由 timothy0025 于 2009-6-23 10:18 编辑 ] |
|