Microchip
直播中

杨万富

7年用户 1510经验值
擅长:526774
私信 关注
[问答]

Whizzing通过了断点

为什么他们为什么用MPLAX X出来?我在这里尽我最大的努力,但是它对汇编程序来说根本不起作用。总之,RANtiN。我在Inc文件中有断点。这是一个PIC16F1。你可以设置断点,它保持一个坚固的红场(它不会显示为断点)。尽管它被忽视了。他们在一些其他公司文件,但不是这一个。这些文件之间没有明显的区别。有什么想法吗?试试ST微?唯一能让PACKIT3可靠破解的方法是使用“数据0002”。它在每个文件中都有效。它在SIM中也不起作用。

以上来自于百度翻译


      以下为原文

    Why why why did they come out with MPLAB X?  I'm trying my best here but it just doesn't work at all for assembly programs.

Anyway enough ranting.

I have breakpoints in an inc file.  It's a PIC16F1.  You can set the breakpoint and it stays a solid red square (it doesn't show up as a broken breakpoint).  Still though it gets ignored.  They work in some of the other inc file but not this one.  There is no discernible different between the files.  Any ideas?  Try an ST micro?

The only way I can get the PICkit3 to break reliably is using 'data 0002'.  It works in every file.  It also doesn't work in the SIM.

回帖(18)

王竹

2018-11-22 15:15:26
为什么在Inc文件中应该有断点?Inc文件不应该包含可执行代码…

以上来自于百度翻译


      以下为原文

   
Why there should be a breakpoint in an inc file?
An inc file should not contain executable code...
举报

吴键洪

2018-11-22 15:21:18
来自于HTTP//www. McCHIP.COM/FUMMS/M10329 31.ASPXI不知道为什么OP启动了一个新的主题。他正在做老式的绝对模式,并使用Inc文件在多个文件上传播源。MPLABX真正面向更现代的“可重定位”模式。

以上来自于百度翻译


      以下为原文

    Comes from http://www.microchip.com/forums/m1032931.aspx
I don't know why the OP started a new topic.
He's doing old fashioned absolute mode, and using INC files to spread the source across more than one file.
MPLABX is really geared more towards the more modern "relocatable" mode.
举报

王竹

2018-11-22 15:31:51
是的,20年前重新定位是“现代的”;-老式的绝对模式根本不支持。

以上来自于百度翻译


      以下为原文

   
Yep, relocatable was "modern" 20 years ago ;-)
The old fashioned absolute mode is simply not supported anymore.
http://www.microchip.com/forums/FindPost/1032397
举报

h1654155275.5714

2018-11-22 15:37:35
好的,像MPLAB Xcrutiating遇到的很多问题是,它不会在断点处停止,因为IDE没有以MPASM的方式看到Inc文件。MPASM接受Inc文件,如果它可以找到它们,但MPLAX X只是不喜欢它们。我已经把这一个文件移动到源文件文件夹,而其他文件在项目文件夹中,它现在正在工作…也许我应该把它们都搬走?为什么有些工作而不是其他工作?这是不是相对地存储的????

以上来自于百度翻译


      以下为原文

    OK like many problems I'm encountering with MPLAB Xcrutiating is that it's not stopping at the breakpoint because the IDE does not see the inc files in the same way as MPASM.  MPASM accepts the inc files if it can find them but MPLAB X just doesn't like them.  I've moved this one file to the source file folder whereas the others are in the project folder and it's working now... maybe I should move them all?  Why do some work and not others?  Is this stored as relative not absolute???
 
举报

更多回帖

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