自己开发的C6678板卡,用SEED-XDS560v2连接后,8个核同时工作,大概50分钟后,报了如下错误:
C66xx_7: Power Failure on Target CPU
C66xx_7: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
C66xx_0: Power Failure on Target CPU
C66xx_1: Power Failure on Target CPU
C66xx_2: Power Failure on Target CPU
C66xx_3: Power Failure on Target CPU
C66xx_4: Power Failure on Target CPU
C66xx_5: Power Failure on Target CPU
C66xx_6: Power Failure on Target CPU
不给C6678断电,重新连接仿真器,不成功,报如下提示:
C66xx_0: Error connecting to the target: Connect to PRSC failed
C66xx_1: Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.872.0)
C66xx_2: Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.872.0)
C66xx_7: Error connecting to the target: Connect to PRSC failed
请问都有哪些可能会出现上面的错误,把程序烧写进去有没有可能出现上述类似的错误?
还有一个问题是PRSC的错误一般是什么?
Nick Zhang~:
硬件可能有问题。
,
user3743567:
会不会是软件代码写的有问题呢?
,
Andy Yin:
检查一下供电及时钟是否稳定。
,
eclipse_sky:
我也遇到了一样的问题,请问您解决了吗?
,
skysteed:
我也遇到这个问题了 哈哈
具体如下:
我的板子可以通过ccxml的“test connection”测试,jtag可以连接到器件。执行KeyStone_main_PLL_init(100, 10, 1)
到最后一步:gpPLLC_regs->PLLCTL |= CSL_PLLC_PLLCTL_PLLEN_MASK;/*14. Set the PLLEN bit in PLLCTL to 1 to enable PLL mode*/
提示如下:C66xx_0: Encountered Illegal Op-code C66xx_1: Encountered Illegal Op-code C66xx_1: Trouble Reading Register PC: (Error -1178 @ 0x6E) 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)
如果屏蔽不执行gpPLLC_regs->PLLCTL |= CSL_PLLC_PLLCTL_PLLEN_MASK; 则没有错误提示 也可以进行后续操作。此时,没有使能PLL mode
我是通过晶振输出100M直接给的6657,如此 是我的晶振有问题 还是6657芯片有问题???(我的另外一块板子没有遇到这个问题)
,
user1995246:
我也遇到这个问题,仿真器时间久了就会断开,而且程序还是在正常运行的,Power Failure on Target CPU,有人能回答这个问题吗?
,
guanlan Jiang:
C66xx_0: Trouble Reading Register A7: (Error -1178 @ 0x7) 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.0.872.0)
这个问题我也遇到了,请问你已经解决了吗? 我调整了TCLK的数值到lower TCLK结果还是有问题。
,
skysteed:
guanlan Jiang :
你好 才回复 不要介意
我是电源供电虚焊了 建议检查你的电源
,
fendou yang:
哇哇,都2年前帖子;我也是这种问题,您还记得当初是如何解决的吗? 万分感谢!
,
user5188525:
前辈,许多年过去了,我遇到了和您一样的问题,请问你这个问题解决了吗,问题出现在哪里呢
,
skysteed:
从我的故障可以看出 是和PLL有关 比如给PLL的供电 事后也查明的确是这样 给pll供电的vddt那一路的三端子电容 封装选小了 所以焊接时有虚焊 找找是不是这个原因
,
user5188525:
多谢前辈指导,我的问题解决了,也是供电问题