Search found 157 matches

by RadioT
Sat Aug 15, 2015 6:45 pm
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 112973

Re: MPLAB-X Plugin...

eeyouch, losing the ability to designate a sub in watches hurts. That is a strange one. Well, it's easy to switch debug hardware interface USB drivers between 8.xx and MPLab X, so we're back on 8.xx and will watch developments in X.

-Tom
by RadioT
Sat Aug 15, 2015 1:07 pm
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 112973

Re: MPLAB-X Plugin...

Has anyone seen problems setting up watches in MPLab X? Here is what I am encountering: - adding a watch for Special Function Registers - by clicking on "SFR" on the right top side of the Add Watch window - no problem. - adding a global parameter by clicking on "Global Symbols", and then clicking on...
by RadioT
Fri Aug 14, 2015 2:43 pm
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 112973

Re: MPLAB-X Plugin...

OK, I got it! As suggested, I noodled around the different directories. The original *.bas file was in a directory to start with, and when the project was created, MPLab X created the new project subdirectory in that directory. So, as you say, MPLab expected the .bas file to be placed into the proje...
by RadioT
Fri Aug 14, 2015 2:27 pm
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 112973

Re: MPLAB-X Plugin...

Hi Jerry, Yes, the files are under there. I am also running this in XP so it would work fine. I also set it up in Win7 and get the same error. It's like MPLab is not finding the files. I copied them into the same subdir as the example file that does compile, yet still the same error. Unless MPLab is...
by RadioT
Fri Aug 14, 2015 12:28 pm
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 112973

Re: MPLAB-X Plugin...

OK, Octal, thanks for all the great work! I got the plugin set up in MPLab X 2.35. The test program compiles fine! However, when I went to compile an existing program, I received the following error: make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory 'C:/Progr...
by RadioT
Fri Aug 07, 2015 2:26 pm
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 112973

Re: MPLAB-X Plugin...

Awesome! Thank you, we'll give it a go.

-Tom
by RadioT
Fri Aug 07, 2015 4:13 am
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 112973

Re: MPLAB-X Plugin...

So, how do we access and set up this plug-in?
by RadioT
Sun Nov 17, 2013 2:46 am
Forum: Modules
Topic: usart SetBaudrate issue
Replies: 2
Views: 4194

Four years after this post....I just found the same thing on the 18F87J11.

I had been setting SPBRGH1 and SPBRG1 separately, and just lately tried using the SetBaudrate in the USART1 module. It wouldn't work until I tried Jerry's fix.


-Tom
by RadioT
Sun Nov 10, 2013 10:23 pm
Forum: Compiler
Topic: strange - infinite loop in msdelay function
Replies: 12
Views: 6411

Good point. There is a lot going on in bus comms.
by RadioT
Fri Nov 08, 2013 4:15 pm
Forum: Compiler
Topic: strange - infinite loop in msdelay function
Replies: 12
Views: 6411

Actually - we ARE. We are disabling interrupts while we are in a high-priority interrupt so we only have one happening at a time. This way, we don't overflow the stack. At least, we thought we weren't!!

-Tom
by RadioT
Fri Nov 08, 2013 1:45 pm
Forum: Compiler
Topic: strange - infinite loop in msdelay function
Replies: 12
Views: 6411

Unfortunately, we are still having problems. We worked to reduce the depth of the stack in our program but get strange stack overflows where the stack will have 15 or more consecutive locations stuffed into it. It's like a certain condition is met, and the program flow goes into a loop that rapidly ...
by RadioT
Mon Oct 28, 2013 11:36 pm
Forum: Compiler
Topic: strange - infinite loop in msdelay function
Replies: 12
Views: 6411

Hi Gerry, Yes, we make sure there are NO delay loops in ISRs. They are EVIL there. I actually found one that added 2 minutes to a simple screen clear - the ISR ran a delay, then when the ISR returned to it's original code, it happened to be in an delayms() routine! After taking out the delayms() rou...
by RadioT
Mon Oct 28, 2013 6:15 am
Forum: Compiler
Topic: strange - infinite loop in msdelay function
Replies: 12
Views: 6411

strange - infinite loop in msdelay function

Hello, We have been re-writing our code to move uart and timer functions to interrupts and make the whole thing more modular. We're pretty much done except we are finding that in long tests, the program will get stuck in what appears to be an infinite loop in the usdelay() routine. Are any of the va...
by RadioT
Sat Oct 26, 2013 4:22 pm
Forum: Compiler
Topic: How do we debug stack overflows in MPLAB?
Replies: 3
Views: 3314

Nice! Thanks, Jerry! What we did last night was run a number of PUSH commands in assembler to build the stack up, then ran the rest of our application as a function call. Thus we started with a stack of say, 20, then simply watched to see where it failed. #if debug_smallStack sub stackFillThenRunApp...
by RadioT
Fri Oct 25, 2013 8:37 pm
Forum: Compiler
Topic: How do we debug stack overflows in MPLAB?
Replies: 3
Views: 3314

How do we debug stack overflows in MPLAB?

Hi all, We are building some software modules that call funcitons and can go deep on the stack with the right combination of interrupts. We are working to find the combination that is causing stack overflows. It seems MPLab doesn't show the stack with our 18F87J11 (or all pic 18s??). We also can't s...