您好,
自己做的板子,芯片TMS320C6678,板子上电时FPGA给DSP复位,之后连接仿真器加载程序时出现:6678.out Does not match the target endianness, not loaded. Check project build options and target configuration file (ccxml).
请问这是什么原因呢?
谢谢
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.
您好,
自己做的板子,芯片TMS320C6678,板子上电时FPGA给DSP复位,之后连接仿真器加载程序时出现:6678.out Does not match the target endianness, not loaded. Check project build options and target configuration file (ccxml).
请问这是什么原因呢?
谢谢
您好,我将程序编译改为大端模式,连接时处于running状态,又出现如下错误:
C66xx_0: Trouble Reading Register ControlRegisters_CSR: (Error -1178 @ 0x41) Device functional clock appears to be off. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)
C66xx_0: Trouble Halting Target CPU: (Error -1202 @ 0x0) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.1.232.0)
谢谢!
HI,Titan
我导入ti的gel文件只出现如下信息:
C66xx_0: GEL Output: Setup_Memory_Map...
C66xx_0: GEL Output: Setup_Memory_Map... Done.
C66xx_0: GEL Output:
Connecting Target...
C66xx_0: GEL Output: DSP core #0
C66xx_0: GEL Output: No initialization performed since bootmode = 0x0000000C
C66xx_0: GEL Output: You can manually initialize with GlobalDefaultSetup
C66xx_0: GEL Output: Invalidate All Cache...
C66xx_0: GEL Output: Invalidate All Cache... Done.
C66xx_0: GEL Output: GEL Reset...
C66xx_0: GEL Output: GEL Reset... Done.
C66xx_0: GEL Output: Disable all EDMA3 interrupts and events.
之前加载程序完成时都是处于running状态,通过修改编译选项,程序加载完如下状态:
继续单步运行,又是一直处于running状态,暂停便出现如下错误:C66xx_0: Trouble Halting Target CPU: (Error -1202 @ 0x0) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.1.232.0)
求教:这块板子无法加载调试程序是哪些环节可能出现问题呢,我该如何找出问题的所在
谢谢!!!!!
你好,我也遇到了同样的问题
1. 使用TI提供的测试网口的例子.gel文件按自己要求修改过了,调试后也可以正常运行到最后一句打印,然后就没有任何输出,也没有错误,核0还是running状态,就是无法跳转到main函数. 手动停止程序运行会出现下面问题
C66xx_0: Trouble Halting Target CPU: (Error -1202 @ 0x0) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.1.232.0)
2. 经常一开始调试就会遇到下面错误
C66xx_0: GEL Output: Setup_Memory_Map...
C66xx_0: GEL Output: Setup_Memory_Map... Done.
C66xx_0: Error connecting to the target: (Error -1144 @ 0x0) Device core is hung. The debugger attempted to recover debug control, but was unsuccessful. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.747.0)
第二个问题使得无法调试程序了,工作没法进行了,麻烦解答下,非常感激.
你好, 今天调试hua->6678这个工程,一开始说是没有记载boot.c文件,手动加载后,程序还是无法跳转,在EVM_Init入口加了打印没有打印出来(如果可以platform_write也是输出在console窗口的吧)。
以上两个就是手动加载boot.c文件后的情况。
上面的图继续点击运行后又没有反应了。断电后在重新调试就只输出到上面console框中的内容,核状态还是running。evm.cfg中存储器映射哪里只把DDR改为DDR3了,这样编译才可以过。编译选项里的general->linker command file是空的。
麻烦给看下是什么原因导致的无法调转到mian函数,怎么解决,非常感激
你好,只有hua的这个工程出现这个问题,其他工程加了gel文件也可以调到main函数。不知道什么原因?其他工程会经常遇到下面问题,不知道是否遇到?
C66xx_0: Error connecting to the target: (Error -1143 @ 0x0) Device core was hung. The debugger has forced the device to a ready state and recovered debug control, but your application's state is now corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.0.747.0)
请问如何查看datasheet?我的6670运行时出现如下问题:One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
不知道是不是cmd文件的问题,也不知道具体如何修改,求教!
您好,我现在在调试DSP C66ak2e的helloworld程序。通过设置断点,发现程序运行到platform_init()处,就没有反应了。我尝试单步运行,但是提示找不到platform.c文件。我在他给的路径下发现所有的文件格式都是.pp格式的。现在不知道怎么办了,求指导~~谢谢