基于聚芯SoC北斗时钟的烧写步骤

 

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

你可能感兴趣的:(c,File,cmd)