|
|
发表于 2019-10-26 20:53:00
|
显示全部楼层
. D3 M. V; Y( o
求指点 问题出在哪儿 跪谢/ Y0 V3 u I* B' f5 J
h4 @7 Q: K4 q4 D6 |0 }
Marvell>> sf probe
' |. z& d; F0 L8 N3 z
; `- h7 i2 v6 ~, c) w& ~9 C+ vmachine id: 59d27c40ee176d8a9690c9e459a049ad
# Y& J5 P0 X( o& _" k* s. F1 xSF: Detected gd25lq64c with page size 256 Bytes, erase size 4 KiB, total 8 MiB6 ?5 Z" O: b: f1 S+ F3 Q
Marvell>> sf updatemacsn 001132B60655 1980S6R9Z0BSM
# n! `1 V* _ g4 Wsf - SPI flash sub-system
* u- J( m R4 _4 q# | G1 {$ |
Usage:
, G9 F# l9 L' U0 S1 D, j0 O/ Ssf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus
2 w4 a. h8 r& B and chip select
- s2 y3 w4 J9 C& V1 ^# Fsf read addr offset|partition len - read `len' bytes starting at
3 E# h8 U/ v: ~3 W0 h `offset' or from start of mtd
: p- c$ ]6 b( a! D0 l5 }, [ `partition'to memory at `addr'; j% A% e7 ?8 E* @ T
sf write addr offset|partition len - write `len' bytes from memory
# q' P H1 X: y! x/ ]) _ at `addr' to flash at `offset'( \7 v5 q+ k, `& J% L
or to start of mtd `partition'5 u3 {; E& g9 x. |5 c) k
sf erase offset|partition [+]len - erase `len' bytes from `offset'6 d/ Q1 U6 j' t$ J; m
or from start of mtd `partition'* \- |/ N6 o \8 ]6 I4 C
`+len' round up `len' to block size4 S$ F8 Z, m( R; f* _8 I2 |
sf update addr offset|partition len - erase and write `len' bytes from memor y
4 K H* f: O; `1 ?% t at `addr' to flash at `offset'
& @; S& X" r9 ^( E4 q6 \: ?1 A or to start of mtd `partition'
# s, T" |+ z0 ~$ u+ Csf protect lock/unlock sector len - protect/unprotect 'len' bytes starting0 b2 l: {+ h2 K( C% M1 R, s
at address 'sector'
, [' T9 F$ l; Y' q5 P
6 A- z; k& F( RMarvell>>
' Z) N/ ?! y% P* K5 y$ K |
|