This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365串口启动问题咨询



大家好,我使用DM365设计IP Camera,需要使用到从串口烧录UBL、U-BOOT功能,现在遇到问题,请帮忙分析解决。

我的烧写步骤如下:
步骤一:通过将DM365主板飞线,增加一个启动选择按钮,设置为UART启动;
步骤二:板子上电前,按住按钮,选择从UART启动。打开超级终端,可以不断显示BOOTME,则说明模式设定成功。然后关闭超级终端,否则串口会一直被占用,导致UART启动失败。
步骤三:打开CMD窗口,切换到sfh_DM36x.exe所在目录,拷贝要烧写进Flash的UBL和U-BOOT到该目录。而且确认目录路径中不含有中文等其他非英文字母字符;
步骤四:在CMD命令行输入
#sfh_DM36x.exe -nanderase -p com1
执行Flash擦除命令;
步骤五:执行写UBL和U-BOOT命令:
#sfh_DM36x.exe -nandflash ubl_297arm_270ddr_ipnc_dm365 u-boot-1.3.4-dm365_ipnc -p com1

我的问题出现在第四步上,输入擦出Flash命令后,出现以下出错信息:


-----------------------------------------------------
   TI Serial Flasher Host Program for DM36x
   (C) 2011, Texas Instruments, Inc.
   Ver. 1.50
-----------------------------------------------------


Flashing NAND with ubl_297arm_270ddr_ipnc_dm365 and u-boot-1.3.4-dm365_ipnc.


Attempting to connect to device com1...
Press any key to end this program at any time.


Waiting for the DM36x...
BOOTME commmand received. Returning ACK and header...
ACK command sent. Waiting for BEGIN command...
        Target:  BOOTME

Waiting for the DM36x...
BOOTME commmand received. Returning ACK and header...
ACK command sent. Waiting for BEGIN command...
        Target:  BOOTME
        
Waiting for the DM36x...
BOOTME commmand received. Returning ACK and header...
ACK command sent. Waiting for BEGIN command...
        Target:  BOOTME
        
Waiting for the DM36x...
BOOTME commmand received. Returning ACK and header...
ACK command sent. Waiting for BEGIN command...
        Target:  BOOTME

从BUS Hound接口监听工具可以观察到,sfh_DM36x.exe工具已经收到了DM365发送过来的BOOTME指令,并且sfh_DM36x.exe已经返回应答信号ACK和Header,DM365却没有发出BEGIN指令,导致sfh_DM36x.exe处于不断等待的循环中。

这个问题困扰我多时,反复检查烧写过程,仍然得不到解决,请协助解决该问题,非常感谢!谢谢!