md.b $address $count (从地址$address处显示$count个字节的数据 b=byte,字节,8位)
md.w $address $count (从地址$address处显示$count个字的数据 w=word,字 ,16位)
md.l $address $count (从地址$address处显示$count个双字的数据 l=long,双字,32位)
=> tftp 51000000 2led_c.bin
dm9000 i/o: 0x18000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 76:c5:cb:38:0b:ed
operating at 100M full duplex mode
Using dm9000 device
TFTP from server 10.10.11.59; our IP address is 10.10.11.120
Filename '2led_c.bin'.
Load address: 0x51000000
Loading: #
204.1 KiB/s
done
Bytes transferred = 1049 (419 hex)
=> md.l 0x51000000 4
51000000: e59fd004 eb0000e9 eafffffe 0c002000 ............. ..
=> md.b 0x51000000 1
51000000: 04
=> md.b 0x51000003 1
51000003: e5
- 文件/var/lib/tftpboot/2led_c.bin中的数据
vim 二进制文件 之后 :%!xxd 显示二进制
00000000: 04d0 9fe5 e900 00eb feff ffea 0020 000c ............. ..
一个字节一个字节的拷贝到了某内存地址上
fatload 也是如此