日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

Hi3516A开发-- 板卡串口烧写

發布時間:2025/3/15 41 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Hi3516A开发-- 板卡串口烧写 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

uboot使用loady命令進行串口傳輸

新改版的板卡,網絡無法使用,uboot可以起來,但是內核和文件系統鏡像,沒法燒寫。

在無網絡的情況下,SecureCRT使用loady命令進行串口傳輸,燒寫內核和文件系統。(nand 模式下燒寫):

指令參看:Hi3516A開發--板卡燒寫

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

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

如果在SPI模式下燒寫,請使用SPI的燒寫指令。

擴展:查看所有命令:
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指令:
燒寫程序過程
SecureCRT_CN的時候loady 0x20008000 115200
傳輸-> 發送Ymodem ?填寫 要燒寫的程序如 led.bin
然后 go ?0x20008000
燒寫成功

總結

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

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。