|
|
发表于 2009-6-23 10:16:26
|
显示全部楼层
Read byte for SPI flash part:6 Q2 j) P/ F! ]& X g) ~- v x4 J
: s( R" o/ b' S7 ?
1. get --> (SPI_BASE)8 }) v: E2 i' L! }1 I- M
2. Write PreFix Opcode(SPI_BASE + 94h, 95h) , Optype(SPI_BASE + 96h , 97h) , OPMENU (SPI_BASE + 98h ~9Fh)/ S2 k5 t d" }- Z: h
3. clear register (SPI_BASE + 90h)
. d" _3 J ]& B1 I2 }8 N0 u8 t4. 給你要read 的address SPI_BASE + 0ah , 09h , 08h% W; d1 I7 [" O g4 j
5. 下cmmand 給 SPI controller : . P |& B* |9 I
6. return register 在 Read byte SPI_BASE + 10h 位置
0 }1 g& ?( }( k# d8 O( D) g5 u3 N7. Read 64byte SPI_BASE + 10h ~ 4Fh位置' u4 |# ~8 R/ m$ [, J
. A! _ x, O1 Z+ N) j/ q[ 本帖最后由 timothy0025 于 2009-6-23 10:18 编辑 ] |
|