PDA

View Full Version : PBP 2.6 and MPLAB 8.4



ChrisKiwi
- 11th December 2011, 05:36
Hi all, Using MPLAB as the IDE, when compiling with PBP the memory usage guide doesn't show the amount of RAM used (put does show the program memory useage). Also, the watch window displays the variables as bytes regardless of how they are defined, for example, a word variable is shown as a byte and as the value increases it just rolls over. The program otherwise appears to compiles OK

It's been a while since I have used PBP, but I don't remember this being an issue in the past.

Any ideas?

Regards, Chris

Acetronics2
- 11th December 2011, 10:39
Hi,

TWO good ideas ...

1) Visit Melabs site and Upgrade to V 2.60 C

2) Visit Microchip site and Upgrade MPLAB to V 8.80


How Long time did you stay in the Jungle ??? :highly_amused:

Alain

ChrisKiwi
- 12th December 2011, 02:38
Hi Alain, Well I tried both of those things and it made no difference but thanks for your input. Does MPSIM and the Memory usage gaguge work for you?

Actually, I had a problem applying the patch (the patch found some files were not the correct version) so I reinstalled PBP2.6 and then applied the patch, uninstalled MPLAB 8.4 and installed MPLAB 8.8. Of course, by this stage I had over written the 18F14K50.INC file and had forgotten how to configure the CONFIG fuses. So I now have a nice fresh install to work with.

To answer your question, about 12 months...

Regards,Chris

Darrel Taylor
- 12th December 2011, 18:38
PBP does not allocate variables the same way that "C" does, so MPLAB cannot track the RAM usage.

Right-click on the watch variables and select Properties to change the variable size.

ChrisKiwi
- 13th December 2011, 07:02
Hi Darrel, thanks for that, much appreciated.
Regards
Chris