Cypress技术论坛
直播中

张洁

8年用户 193经验值
私信 关注
[问答]

尝试调试CY8CKIT-059/w MiniProg3/Creator 4.0时出错

你好,
我试图调试一个CY8CKIT-059(CY8C588Lti-LP097设备)编程与Acode示例从CyPress与MixPrim3和PSoC创建者4。
程序员和设备目标是可见的,我能够连接到设备(使用外部或3.3/5VTARG电源)。这个项目建立得很好,我在命令窗口中得到一个输出,说明目标已经被正确地编程了。
然后,当它试图切换到调试模式时,我得到这个错误:
“错误:dg.M90015:调试器在运行期间意外退出。遇到错误(目标断开参见输出窗口以获取更多信息)。
显示细节标签:
“调试会话期间存在未处理的错误。这就迫使调试器关闭。再试一次。”
即使我再试一次,它也不起作用。
然后我试着用PSoC Creator 3.3,我可以调试。有人能在PSoC造器4上解决这个问题吗?
当做,
沙维尔

以上来自于百度翻译


     以下为原文
  Hello,
    I am trying to debug a CY8CKIT-059 (CY8C5888LTI-LP097 device) programmed with a code example from Cypress with a MiniProg3 and PSoC creator 4.0 .
    The programmer and device target are visible and I am able to connect to the device (using external or 3.3/5Vtarg power supply). The project builds well and I get an output in the command window that says that the target has been properly programmed.
    Then, when it tries to switch to debug mode I get this error:
    "error: dbg.M0015: Debugger exited unexpectedly during run. Encountered error (Target disconnected See output window for more information."
    and the show details tab:
    "There was an unhandled error during the debug session. This has forced the debugger to shutdown. Try again."
    Even if I try again it does not work at all.
    Then I tried with PSoC Creator 3.3 and I am able to debug. Is somebody able to fix that problem on PSoC Creator 4.0?
    Regards,
    Xavier

回帖(15)

王琳

2019-1-23 11:15:08
欢迎来到论坛,沙维尔。
检查工作区-gt;系统& gt;调试设置被设置为SWD而不是GPIO。
鲍勃

以上来自于百度翻译


     以下为原文
  Welcome in the forum, Xavier.
    Check that in Workspace -> System -> Debug settings is set to SWD and not to GPIO
     
    Bob
举报

张洁

2019-1-23 11:27:18
引用: ncmza 发表于 2019-1-23 16:24
欢迎来到论坛,沙维尔。
检查工作区-gt;系统& gt;调试设置被设置为SWD而不是GPIO。
鲍勃

我找不到这个菜单。它在哪里?
当我选择调试目标时,我可以选择JTAG和SWD之间,并选择SWD。
沙维尔

以上来自于百度翻译


     以下为原文
  I can't find this menu. Where is it?
    When I go to select debug target, I can choose between JTAG and SWD, and SWD is chosen.
    Xavier
举报

王琳

2019-1-23 11:43:28
WorkStudio Explorer & & G.和G.调试设置
鲍勃

以上来自于百度翻译


     以下为原文
  Workspace explorer -> System -> Debug settings
     
    Bob
举报

张洁

2019-1-23 11:57:18
引用: ncmza 发表于 2019-1-23 16:53
WorkStudio Explorer & & G.和G.调试设置
鲍勃

谢谢你的回答,鲍伯,但是我找不到thatin PSoC Creator 4。你能发送快照吗?
沙维尔

以上来自于百度翻译


     以下为原文
  I thank you for your answers Bob, but I can't find that in PSoC Creator 4.0 . Can you send a snapshot please?
    Xavier
举报

更多回帖

发帖
×
20
完善资料,
赚取积分