PDA

View Full Version : 18F out of memory problem



tom
- 22nd January 2007, 15:36
Hello everyone!
My program is about 8000 14-bit words when compiled for 16F876.When I transfer the design to 18F2550 and compile it inside MPLAB IDE I can see in lst file that my program is about 14552 bytes what is little less then half of the memory of '2550. So, compiling from MPLAB is OK and the program is working ver well.
BUT, compiling with MPASM inside MicroCode Studio is not working! Why?
I get couple of Out of memory errors and in the status bar is message-Succes:8 bytes used?!
Thanks for answers!

HenrikOlsson
- 22nd January 2007, 18:05
Hi Tom,
Just a quick thought...
Do you have the correct chip selected from the drop down list in MCS?

/Henrik Olsson.

tom
- 22nd January 2007, 18:25
Yes! I'll try with different MPASM version, no other ideas.

HenrikOlsson
- 22nd January 2007, 21:05
Tom,
I'm sorry, no, not at the moment. If it doesn't help updating MPASM I'm sure someone else will jump in with an idea or two.

/Henrik Olsson.

Darrel Taylor
- 22nd January 2007, 21:24
Are you sure that MPASM is selected in the
View | Compile and Program options | Assembler tab

I forget that all the time, and the error messages never indicate what the problem really is.
<br>

tom
- 23rd January 2007, 06:58
I installed MPLAB 7.50 and it works now, but I have to rename file mpasmwin.exe to mpasm.exe because MCS obviously searches file
mpasm.exe not mpasmwin.exe. Is this usual method? I use PBP pro
2.47. and MCS 2.3.0.0
I also noticed that when I had two versions of MPLAB, one on drive
F and one on drive G MCS always do an automatic search and find
first instance (on drive f) of MPLAB. It seems that manually locating
path of mpasm file doesn't work.
Thanks everyone for answers!