日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

Hi3516A开发-- 板卡串口烧写

發(fā)布時(shí)間:2025/3/15 编程问答 39 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Hi3516A开发-- 板卡串口烧写 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

uboot使用loady命令進(jìn)行串口傳輸

新改版的板卡,網(wǎng)絡(luò)無(wú)法使用,uboot可以起來(lái),但是內(nèi)核和文件系統(tǒng)鏡像,沒(méi)法燒寫(xiě)。

在無(wú)網(wǎng)絡(luò)的情況下,SecureCRT使用loady命令進(jìn)行串口傳輸,燒寫(xiě)內(nèi)核和文件系統(tǒng)。(nand 模式下燒寫(xiě)):

指令參看:Hi3516A開(kāi)發(fā)--板卡燒寫(xiě)

mw.b 82000000 ff 400000
loady 0x82000000 115200?
傳輸-> 發(fā)送Ymodem->選擇需要燒入的文件 uImage_hi3516a
nand erase 800000 400000
nand write 82000000 800000 400000

mw.b 82000000 ff 2200000
loady 0x82000000 115200?
傳輸-> 發(fā)送Ymodem->選擇需要燒入的文件 rootfs_hi3516a_uclib_8k_40bit.yaffs2
nand erase c00000 2200000
nand write.yaffs 82000000 c00000 ?F80D98

如果在SPI模式下燒寫(xiě),請(qǐng)使用SPI的燒寫(xiě)指令。

擴(kuò)展:查看所有命令:
TI8168_EVM#help
? ? ? ? - alias for 'help'
askenv ?- get environment variables from stdin
base ? ?- print or set address offset
bdinfo ?- print Board Info structure
bmp ? ? - manipulate BMP image data
boot ? ?- boot default, i.e., run 'bootcmd'
bootd ? - boot default, i.e., run 'bootcmd'
bootm ? - boot application image from memory
bootp ? - boot image via network using BOOTP/TFTP protocol
chpart ?- change active partition
cmp ? ? - memory compare
coninfo - print console devices and information
cp ? ? ?- memory copy
crc32 ? - checksum calculation
dhcp ? ?- boot image via network using DHCP/TFTP protocol
echo ? ?- echo args to console
editenv - edit environment variable
exit ? ?- exit script
false ? - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls ? - list files in a directory (default /)
go ? ? ?- start application at address 'addr'
help ? ?- print command description/usage
i2c ? ? - I2C sub-system
iminfo ?- print header information for application image
imxtract- extract a part of a multi-image
itest ? - return true/false on integer compare
loadb ? - load binary file over serial line (kermit mode)
loads ? - load S-Record file over serial line
loady ? - load binary file over serial line (ymodem mode)
loop ? ?- infinite loop on address range
md ? ? ?- memory display
mm ? ? ?- memory modify (auto-incrementing address)
mmc ? ? - MMC sub system
mmcinfo - mmcinfo <dev num>-- display MMC info
mtdparts- define flash/nand partitions
mtest ? - simple RAM read/write test
mw ? ? ?- memory write (fill)
nand ? ?- NAND sub-system
nandecc - Switch NAND ECC calculation algorithm b/w hardware and software
nboot ? - boot from NAND device
nfs ? ? - boot image via network using NFS protocol
nm ? ? ?- memory modify (constant address)
ping ? ?- send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset ? - Perform RESET of the CPU
run ? ? - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv ?- set environment variables
sf ? ? ?- SPI flash sub-system
showvar - print local hushshell variables
sleep ? - delay execution for some time
source ?- run script from memory
test ? ?- minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true ? ?- do nothing, successfully
version - print monitor version
TI8168_EVM#TI8168_EVM#help

可以使用 go指令:
燒寫(xiě)程序過(guò)程
SecureCRT_CN的時(shí)候loady 0x20008000 115200
傳輸-> 發(fā)送Ymodem ?填寫(xiě) 要燒寫(xiě)的程序如 led.bin
然后 go ?0x20008000
燒寫(xiě)成功

總結(jié)

以上是生活随笔為你收集整理的Hi3516A开发-- 板卡串口烧写的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。