PMON> sload -o 80100000
## Ready for
downloading from serial port (ymodem
) ......
CCCCCCCCCCCCCCCCCCCCC
Transfer Complete!
xyzModem - CRC mode, 3(SOH)/233(STX)/0(CAN) packets,
1 retries
## Total Size = 0x0003a19e = 237982 Bytes
PMON> nand_write -r -f 100000 -o 80100000 -s 3a19e
NAND write no oob
Total:: 15 erase blocks
nand erase ok!!!
write success
PMON> bootfnand
nand
read from 0x100000, size = 0x3a19e, to 0x81000000
load success
Loading
file: /dev/ram@81000000 (elf)
0x80100000/185344 + 0x8012d400/3748120(z) +
683 syms-
EraSoC CPU 192 MHz
uart init ok!
_malloc_began 804c0518,
_malloc_end 83d00000
send a cmd, size = 7
wait count:12
FE 10 13 C 0 0 1 8 32 58 4C 4C 42 45 45 3E 10
rec_count:17
rly_frame_fcs():
rly_frame_fcs:10
calc_fcs:10
//10.2.2.168/
root
root-10
file://10.2.2.168/work/pan
本文记录了一次通过串口使用YMODOEM协议下载固件到嵌入式系统的全过程,包括从准备下载、NAND闪存写入、启动加载到最终成功运行的过程。文中详细展示了PMON命令行交互过程及关键信息。

被折叠的 条评论
为什么被折叠?



