AAEON AQ7-IMX6 User Manual

Page 31

Advertising
background image

Q s e v e n M o d u l e

A Q 7 - I M X 6

Chapter 3 Technical Note 3-13

3.10 SPI Flash Verify

In U-boot mode, write a value into flash then read back from Flash and

check whether the value are match.

SPI Flash Read/Write command:

command 1: sf probe 0

command 2: sf erase 0 0x10000

command 3: mw.l 0x12000000 0x54612354 0x100000

command 4: sf write 0x12000000 0x0 0x1000

command 5: sf read 0x13000000 0x0 0x1000

command 6: md 0x13000000

Advertising