ST意法半导体
直播中

马祥

7年用户 774经验值
私信 关注
[问答]

调试不适用于SPC5Studio 5.6.0

嗨,
我有SPC570S-DISP评估板连接到我的Windows 7桌面。按照SPC560X发现板上的“PLS调试器安装驱动程序”的说明进入SPC5Studio软件,安装FTDI驱动程序,出现2个COM端口,使用Putty以38400 bps连接到这两个端口,终端无法获得任何信息。
这是预期还是出错?没有重新编程,威廉希尔官方网站 板开箱即用。我的主板是SPC570S,但我能找到的指令是SPC560X(希望我能找到SPC570X文档)。
使用导入向导导入SPC570SXX_RLA SERIAL测试应用程序进行发现,我生成应用程序并构建,遵循来自
https://community.st.com/communi ... gger-for-spc5studio
它在第4步失败并调试你的应用程序,我的SPC5Studio有一个''常见任务''选项卡而不是指令中显示的''活动向导'',注意到我的''执行并调试你的应用程序''是灰色的,点击它或点击绿色的虫子图标什么都不会发生。我不知道如何从这里开始,有点卡住。
任何帮助表示赞赏。
谢谢,
工作

以上来自于谷歌翻译


以下为原文




Hi,
I have the SPC570S-DISP Evalution board which connect to my Windows 7 deskstop. Following the instructions from the ''PLS Debugger Installation driver on SPC560X Discovery board'' comes in the SPC5Studio software, installed FTDI driver, and 2 COM ports appears, using Putty connect to these 2 ports with 38400 bps, it gets nothing from the terminal.
Is this expected or something wrong? The board is out of box without being reprogrammed. My board is SPC570S, but the instruction i could find is for SPC560X (wish i could find SPC570X documentation).
Using import wizard imported the SPC570SXX_RLA SERIAL Test Application for discovery, i generated application and built, following the instruction from
https://community.st.com/communi ... gger-for-spc5studio
  it failed on step 4 Flash and debug your application, My SPC5Studio has a ''Common task'' tab not the ''Activity Wizard'' shown in the instruction, noticed my ''Execute and debug your application'' is grey, click it or click the green bug icon nothing would happen.I don't know how to proceed from here, kind stuck.
Any help is appreciated.
Thanks,
Job

回帖(2)

刘鑫

2019-1-25 15:35:40
你好工作,
你安装了PLS UDE Debugger吗?
如果没有此工具,则无法使用debug.wsx文件进行调试。
 最好的祝福
 二万

以上来自于谷歌翻译


以下为原文




Hello Job ,
Have you installed PLS UDE Debugger ?
Without this tool , you can not debug using debug.wsx file.
          Best regards
                                             Erwan
举报

马祥

2019-1-25 15:54:36
嗨二湾,
我重新安装了PLS UDE调试器软件4.08.06,这是最新版本。运行PLS UDE调试器并打开发现 UDE  debug.wsx文件的C: SPC5Studio  workspace  SPC570Sxx_RLA SERIAL测试应用程序。我将SPC570S-DISP板连接到Windows 7,PLS UDE调试器能够连接到板和程序。
然后我在''main(voiu){''行设置一个断点并选择''运行程序到Cursoe - F4'',它失败了。
题:
1)是否需要额外的硬件来测试SPC570S-DISP板?我们只有威廉希尔官方网站 板和USB电缆。
2)按照安装说明后,主板在我的Windows 7 PC上创建了2个COM端口,它们是COM218和COM219,我用putty连接这两个端口,波特38400 bps,什么也没得到。这些港口是什么?如果我能成功运行导入的测试应用程序,我会在其中一个COM端口上看到“Hello World!”吗?
3)SPC570SXX_RLA发现序列测试应用是否适用于SPC570S-DISP板?我运行调试器时的错误消息,如何解决它们?
2个屏幕截图,1个显示编程正常,2个显示Run to Cursor失败。
谢谢,
工作

以上来自于谷歌翻译


以下为原文




Hi Erwan,
I re-installed PLS UDE debugger software 4.08.06, which is the latest version. Ran the PLS UDE debugger and opened C:SPC5StudioworkspaceSPC570Sxx_RLA SERIAL Test Application for DiscoveryUDEdebug.wsx file. I had the SPC570S-DISP board connected to Windows 7 and the PLS UDE debugger was able to connect to the board and program.
Then i set a breakpoint at line ''int main(voiu){'' and select ''Run program to Cursoe - F4'', it failed.
Question:
1) Is there additional hardware required to test the SPC570S-DISP board? We only have the board and a USB cable.
2) After following installation instruction, the board created 2 COM port on my Windows 7 PC, they are COM218 and COM219, I used putty to connect to those two ports at baud 38400 bps, got nothing. What are those ports? If i can successfully run the imported test application, do i see the ''Hello World!'' on one of the COM port?
3) Is the SPC570SXX_RLA SERIAL Test Application for Discovery suitable for the SPC570S-DISP board? The error messages when i run the debugger, how to fix them?
2 screen shot, 1 showing programming ok, 2 showing Run to Cursor failed.
Thanks,
Job
举报

更多回帖

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