|
|
发表于 2009-6-23 10:16:26
|
显示全部楼层
Read byte for SPI flash part:
* O7 W) \% z" o5 V
0 X3 p n7 D B: I1. get --> (SPI_BASE)
2 {/ Q; u+ L1 h) }: ]: _( v) b# _( f2. Write PreFix Opcode(SPI_BASE + 94h, 95h) , Optype(SPI_BASE + 96h , 97h) , OPMENU (SPI_BASE + 98h ~9Fh)
9 U5 p. X+ W* G0 X' R" I9 Z3. clear register (SPI_BASE + 90h)
$ j O" G% g3 Y% S# {2 t4. 給你要read 的address SPI_BASE + 0ah , 09h , 08h6 N* K0 j" |7 J
5. 下cmmand 給 SPI controller : ( m7 l3 f- n6 {1 E, U
6. return register 在 Read byte SPI_BASE + 10h 位置- `, f9 K" @# I8 J0 \& ]- G
7. Read 64byte SPI_BASE + 10h ~ 4Fh位置
+ x. h) |2 _* W8 f9 {+ z$ \; k. u3 x) `: ^) s% ^6 N$ ]: i
[ 本帖最后由 timothy0025 于 2009-6-23 10:18 编辑 ] |
|