|
|
发表于 2009-6-23 10:16:26
|
显示全部楼层
Read byte for SPI flash part:
2 ~# ?0 L# V0 I* |! m. T8 o' Z2 F) i
+ s: h5 I) g8 @" n6 ]8 _1. get --> (SPI_BASE)
! T" e- J5 }* G* m0 R2. Write PreFix Opcode(SPI_BASE + 94h, 95h) , Optype(SPI_BASE + 96h , 97h) , OPMENU (SPI_BASE + 98h ~9Fh)! C# O) A( K+ t! t
3. clear register (SPI_BASE + 90h)* |% J+ U1 ~* i+ n
4. 給你要read 的address SPI_BASE + 0ah , 09h , 08h
7 e G6 e4 S0 u- r. r" }8 R5. 下cmmand 給 SPI controller : 3 Q2 A3 z K; h* p4 }
6. return register 在 Read byte SPI_BASE + 10h 位置5 d7 @' ~4 @9 {
7. Read 64byte SPI_BASE + 10h ~ 4Fh位置) } k; U, ^ M/ B( C6 |
9 h$ a" A" }9 Z; l1 e( h
[ 本帖最后由 timothy0025 于 2009-6-23 10:18 编辑 ] |
|