|
|
发表于 2009-6-23 10:16:26
|
显示全部楼层
Read byte for SPI flash part:
0 j+ ^+ S- V- T1 O! v, i3 ^
5 b9 t0 y0 |6 J3 F1. get --> (SPI_BASE)
5 w" v5 Y# f& @ p2. Write PreFix Opcode(SPI_BASE + 94h, 95h) , Optype(SPI_BASE + 96h , 97h) , OPMENU (SPI_BASE + 98h ~9Fh)
w" S' h; \$ m/ e& K3. clear register (SPI_BASE + 90h): |; `( K6 P/ e' O" }; B
4. 給你要read 的address SPI_BASE + 0ah , 09h , 08h1 P+ M/ w. D6 v. X$ Z+ o
5. 下cmmand 給 SPI controller : " n+ d4 ?# g7 R3 E5 B& N
6. return register 在 Read byte SPI_BASE + 10h 位置9 l$ C5 M7 O0 h" u) y
7. Read 64byte SPI_BASE + 10h ~ 4Fh位置1 f% q5 M: g' O7 U
3 l4 m! n( X& |/ I
[ 本帖最后由 timothy0025 于 2009-6-23 10:18 编辑 ] |
|