命令原型:
Usage:
mmc read <device num> addr blk# cnt
mmc write <device num> addr blk# cnt
mmc rescan <device num>
mmc erase <boot | user> <device num> <start block> <block count>
mmc list - lists available devices
原使用方法:
TINY4412 # mmc erase user 0 3e8 1
START: 3 BLOCK: 1
high_capacity: 1
Capacity: 15130624
Erase
512 B erase Done
MMC erase Success.!!
提示擦出成功,但是实际上并没有擦出???
显示成功!!!
BUT
.....................................................................................................华丽丽的分割线.........................................................................................................
原因找到,mmc erase 命令操作的块是以十进制分的
3e8(16)=1000 (10)
所以,命令应该是
mmc erase user 0 1000 1