RSB-4221 User Manual
28
3.5
SPI Test
1.
Power on and boot into OS
2.
Run program to test SPI flash read/write.
root@am335x-adv:/unit_tests# ./AutoRun_spi.sh
####################---SPI Test for RSB 4221----##################
thespifalsh info:
31 0 4096 mtdblock0
============================================
Test next block:/dev/mtd0 mtdblock0
============================================
mtd.type = MTD_NORFLASH
mtd.flags = MTD_CAP_NORFLASH
mtd.size = 4194304 (4M)
mtd.erasesize = 4096 (4K)
mtd.writesize = 1
mtd.oobsize = 0
regions = 0
Erased 4194304 bytes from address 0x00000000 in flash
Copied 4194304 bytes from address 0x00000000 in flash to ./temp-1.img
0000000 ffffffffffffffffffffffffffffffff
*
0400000
==============================================================
################ SPI mtdblock0 Read 1 PASS !!!
==============================================================
4096+0 records in
4096+0 records out
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0400000
Copied 4194304 bytes from ./all-0.img to address 0x00000000 in flash
Copied 4194304 bytes from address 0x00000000 in flash to ./temp-0.img
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0400000
==============================================================
################## --------------SPI mtdblock0 Write 0 PASS !!!
==============================================================
==============================================================
###################-----------> SPI Test all mtdblock0 PASS !!!
Содержание RSB-4221
Страница 6: ...RSB 4221 User Manual vi...
Страница 10: ...RSB 4221 User Manual x...
Страница 14: ...RSB 4221 User Manual 4...
Страница 33: ...23 RSB 4221 User Manual Chapter 2 H W Installation 2 3 2 Board Dimension...
Страница 35: ...Chapter 3 3 Software Functionality This chapter details the software programs on the RSB 4221 plat form...
Страница 48: ...RSB 4221 User Manual 38...
Страница 49: ...Chapter 4 4 LinuxBSP This chapter introduces how to build an Android system and develop based our Linux system...