Microchip
直播中

薛槐敏

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

MPLABX 3.51监视和断点问题

嗨,我目前使用MPLABX 3.51,我有两个问题:1。断点触发器:有时,当断点触发时,IDE似乎无法识别它。控制器停止,但我必须按下IDE的“暂停”按钮来识别这一点。2。WATCHN更长的功能,在某些时候,我不能将新的值插入表中。这只适用于局部变量,全局变量似乎没有这个问题。编译器优化关闭。如果我一步一步地通过函数,它们就消失在某个点上。我必须使用全局指针来调试。这两个问题至少在3.50以来就存在了,至少在3.45.2以后,我的设置是:PIC32 MX470,SEGER J-Link,XC32 V3.51。还有其他人有这个问题吗?有解决办法吗?

以上来自于百度翻译


      以下为原文

    Hi,

i currently use MPLABX 3.51, and i have two problems:

1. Breakpoint trigger:
Sometimes, when a breakpoint triggers, the IDE dosnt seem to recognize it. The controller stops, but I have to press the "pause" button for the IDE to recognize this.

2. Watch
In longer functions, at some point i cannot insert new values into the watch. This is only true for local variables, globals dosnt seem to have this problem. Compiler optimization is off. If i single step through the function, they disappear at some point.
I have to use global pointers to debug.

Both issues are there at least since 3.50, the watch issue at least since 3.45.

My Setup:
PIC32MX470, Segger J-Link, XC32 v3.51

Does anyone else have this issue? Is there a solution?

回帖(4)

陈杰

2019-5-14 09:24:19
也许这比您预期的要长得多。我想知道在更新表窗口之前,是否需要花一些时间与Segger通信以显示/更改表值。我发现我在表窗口中显示的变量越多/越大,它占用的时间就越长:i->in

以上来自于百度翻译


      以下为原文

    Maybe it is taking much longer than you expect.
I wonder if it is taking some time to communicate with Segger to display/change the watch value before the watch window is updated.
I find the more/larger variables I display in the watch window the longer it takes
edit: i -> in
举报

崔明华

2019-5-14 09:40:13
您好:如MPLAB X V3.51所示,显示程序内存和RAM的图形和数据。我从未见过内部PIC EEPROM的数据或图表。即使它是4.00版,您能在未来的MPLAB中包括它吗?问候语。

以上来自于百度翻译


      以下为原文

    Hello:

As shown in the MPLAB X v3.51 shows the graphics and data of program memory and RAM. I have never seen data or graphs of internal PIC EEPROM.

Can you include it in future MPLAB even if it is v4.00?

Greetings.
举报

罗标雄

2019-5-14 09:51:32
嗨,我做了一些测试:我不认为,这是由于延误。我等了整整一分钟,没有变化。否则,即使使用较大的数组或结构(几kByte),调试也非常快。而且,如果我有这样的断点,MPLABX总是无法注意到触发器。下次发生这种情况时,我将进行额外的测试。也许我能找到重新定义问题的方法。另一个问题很容易重现:在长函数的某个时刻,所有本地表都消失了,不再有本地变量可以添加到表中。

以上来自于百度翻译


      以下为原文

   
Hi,
 
i made some tests regarding that :
I dont think, it is due to a delay. I waited for a whole minute, no change. Debugging is quite fast otherwise, even with larger Arrays or structures (several kByte) in the watch.
Also, if i have such a breakpoint, MPLABX always fails to notice the trigger.
 
I will make additional tests next time it happens. Perhaps i can find a way to reprouce the problem.
 
The other issue is easy to reproduce:
At some point in a long function, all local watches disappear, no more local variables can be added to the watch.
举报

杨叶

2019-5-14 10:01:14
嗨,我注意到你说你使用SEGER J-Link调试器?你确定你有Segger的最新固件吗?也许有一个特定的MPLAB X插件呢?这是最新的吗?检查他们的网站。如果您有问题,您应该张贴到Microchip的机票,因为很少有用户使用Sigger-J-Link调试器使用MPLAB X(通常是PICTIT3、ICD3或真实ICE)。

以上来自于百度翻译


      以下为原文

    Hi,
I noticed you say you use Segger J-Link debugger ?
Are you sure you have the latest firmware from Segger ?
Maybe there is a specific MPLAB X plugin for it also ? Is it up to date ?
Check on their website. If you have issues you should post a ticket to Microchip because very few users seem to use Segger J-link debugger with MPLAB X (generally pickit3, ICD3 or Real-Ice) 
Regards
 
举报

更多回帖

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