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.

C6748通过串口1下载的问题

Other Parts Discussed in Thread: OMAP-L138

我现在想用C6748d的UART1烧写程序,BOOT线接法也正确,但老提示串口不对。使用的工具是

sfh_OMAP-L138.exe,在命令窗中执行。咨询了一下开发板客服,他说TI提供的这个程序不支持UART1

下载。请问通过UART1下载程序还有没有别的什么工具?        谢谢!

  • uart1 boot模式需要配BOOTCFG管脚,你要是自己做板子是可以UART1来BOOT,但是你现在买的板子是否支持,要查板子厂家相关原理图和说明文档

  • 问题:

    核心板是创龙的,使用自己做的底板,从JTAG和NAND8启动都没问题。BOOT线的接法没有问题。

    用UART1启动下载程序,出现提示后系统上电,最后提示错误。

     

  • 需要修改并重新编译生成SFT,因为SFT是用的UART2,所以在跳到SFT运行后就通信不上了。

    http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138

    Modifications for Custom Boards

    The default settings used by the tools apply only to the EVMs. For custom boards, changes will most likely be required, and the tools must be rebuilt. The custom changes should be made to the files in the OMAP-L138/Common/src and OMAP-L138/Common/include directories. Common changes include:

    • DDR Configuration
      • OMAP-L138/Common/src/device.c: Modify the parameters passed to the function DEVICE_ExternalMemInit to match the DDR timing requirements for the custom board

    • UART Settings
      • OMAP-L138/Common/include/device_uart.h: Modify the #define DEVICE_UART_PERIPHNUM to set which UART is connected to the host PC.
      • Note that flow control is not used, so only the RX and TX lines need to be connected for boot and flashing purposes.
  • 看来这个问题还有点麻烦,我先试试,实在不行就用UART2吧。谢谢!

  • SFT是个什么东东?在那生成的?我觉得下一板还是老老实实用UART2吧。

  • 你看上面你提供的截屏倒数4行不是显示waiting for SFT on the OMAPL138么,这个SFT是serial flash target, 相对于SFH:serial flash host,运行SFH时是把SFT下载进去运行起来,再通过串口与HOST通讯接收被烧写的文件,再烧到flash,所以真正烧写flash的是这个SFT。

    下面链接有个中文的总结,照着做重新编译一下就行了,其实还需要改的部分有DDR的配置,EVM是mDDR的,你的板子是DDR2的话,还需要改一下device.c里的DDR配置参数。因为SFT运行起来后会用到DDR的空间。

    http://www.eefocus.com/embedded/320524

  • 好,我试试。多谢