Bootloader User Guide for lumit4510 : tftp bootloader version 1.1.0 说明: 支持通过串口下载的新的 bootloader , 可以下载 uue 格式的可执行文件 ------------------------------------------------------------------------- 增加了一个 dn 命令和 go 命令,通过 help 可以看到 \>help help ------ show help ? ------ = help load ------ load file to memory prog ------ program flash boot ------ boot from flash ap ------ auto load image flie and program flash copy ------ copy flash from src to dst address ipcfg ------ show or set IP address dn ------ ev-7t bootloader download go ------ Go at 0x8000 首先执行 dn 表示开始下载 \>dn ev-7t bootloader download No begin address for download, use default address 0x8000 Ready to download. Use 'transmit' option on terminal emulator to download file. -> 此处通过超级中断的 Menu -> Transfer -> Send Text File 来发送一个 uue 文件 例如 led.uue -> 接受完毕后会打印出这个文件的相关信息 Loaded file led.bin at address 8000, size = 184 然后通过 go 命令执行刚才下载的文件,缺省地址 0x8000 \>go go at address 0x8000 -> 此时应该可以看到 led 灯在闪烁了 :) 相关文件说明: bootloader ~~~~~~~~~~~ tftp.bin : 通过 sjf4510.exe 烧写到 flash tftp.hex : 通过 flashpgm 软件烧写到 flash binhex.com : bin -> hex 的转换工具 lumit-tftp-1.1.0.src.zip : 源码 v1.1 版 test_code ~~~~~~~~~ led.uue : 一个可以测试的下载文件,uue 格式 lumit-led-0.0.1.src.zip : led 测试的源码 tools: ~~~~~~~~~ nmake.exe : 支持在 windows 进行 make 的工具,配合 makefile 使用 uuencode : 将 bin 格式的文件转换为可以被下载的 uue 格式文件 另外:现在似乎还有一个小 bug ,dn 之后需要多输入几个回车再 go , 第一个输入的 go 会在第二行显示,现在还不知道怎么回事,不过不影响使用。 :( ┌-------------------------------------------------------------------------┐ │ │ │ Welcome to visit http://www.lumit.org for more information │ │ │ │ [lumit] - let us make it together │ │ │ │ │ │ lumit-admin │ │ │ └-------------------------------------------------------------------------┘