File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Documentation/applications/benchmarks/mtd Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ ==============================
2
+ ``mtd `` MTD transfer rate test
3
+ ==============================
4
+
5
+ This testing application performs an erase/write operation to evaluate write
6
+ transfer rate and then reads the written content back to evaluate the read
7
+ transfer rate. Finally, it compares the read data with the previously written
8
+ data to ensure the MTD device is working as expected.
9
+
10
+ EXAMPLE::
11
+
12
+ nsh> mtd /dev/mtdblock0
13
+ FLASH Test on device with:
14
+ Sector size: 4096
15
+ Sector count: 256
16
+ Erase block: 4096
17
+ Total size: 1048576
18
+
19
+ Starting write operation...
20
+
21
+ Write operation completed in 5.46 seconds
22
+ Total bytes written: 1048576
23
+ Transfer rate [write]: 187.55 KiB/s
24
+
25
+ Starting read operation...
26
+
27
+ Read operation completed in 0.11 seconds
28
+ Total bytes read: 1048576
29
+ Transfer rate [read]: 9309.09 KiB/s
30
+
31
+ Data verification successful: read data matches written data
You can’t perform that action at this time.
0 commit comments