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.

28379D LaunchPad开发板变量实时观测问题



在使用开发板做电机控制RAM下全速运行,Expressions的value和graph实时刷新观测,但不一会就停止刷新,出现错误,怀疑是不是仿真器的问题。请问如何解决?

Value显示

Console窗口显示:

IcePick_C_0: Trouble Reading Memory Block at 0x0 on Page 0 of Length 0xc8
IcePick_C_0: Trouble Reading Memory Block at 0x0 on Page 0 of Length 0xc8
C28xx_CPU1: Error: (Error -150 @ 0x0) One of the FTDI driver functions used during configuration returned a invalid status or an error. (Emulation package 7.0.100.1)
C28xx_CPU1: Unable to determine target status after 20 attempts
C28xx_CPU1: 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
IcePick_C_0: Error: (Error -150 @ 0x0) One of the FTDI driver functions used during configuration returned a invalid status or an error. (Emulation package 7.0.100.1)
IcePick_C_0: Unable to determine target status after 20 attempts
IcePick_C_0: 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
C28xx_CPU2: Error: (Error -150 @ 0x0) One of the FTDI driver functions used during configuration returned a invalid status or an error. (Emulation package 7.0.100.1)
C28xx_CPU2: Unable to determine target status after 20 attempts
C28xx_CPU2: 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

  • 检查下仿真器配置文件的芯片选择是否为F28379d,以及仿真器型号是否正确。

    将您选择查看的变量从expression窗口删除,重新添加下再运行呢。

  • 在使用开发板做电机控制RAM下全速运行,Expressions的value和graph实时刷新观测,但不一会就停止刷新,出现错误,怀疑是不是仿真器的问题。请问如何解决?

    ERIC:

    如果不带电机,是否就没有这个问题?

    我的判断是,仿真器受到电机的干扰断开连接。建议在USB线绕几圈磁环,加JTAG隔离口,换更高级的仿真器。你都试试吧。

  • 谢谢您的答复。问题找到了,是电机电源和计算机之间传导干扰导致的。