18F out of memory problem


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2004
    Location
    Zagreb, Croatia
    Posts
    27

    Angry 18F out of memory problem

    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!

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,569


    Did you find this post helpful? Yes | No

    Default

    Hi Tom,
    Just a quick thought...
    Do you have the correct chip selected from the drop down list in MCS?

    /Henrik Olsson.

  3. #3
    Join Date
    Oct 2004
    Location
    Zagreb, Croatia
    Posts
    27


    Did you find this post helpful? Yes | No

    Unhappy

    Yes! I'll try with different MPASM version, no other ideas.

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,569


    Did you find this post helpful? Yes | No

    Default Sorry...

    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.

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    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>
    DT

  6. #6
    Join Date
    Oct 2004
    Location
    Zagreb, Croatia
    Posts
    27


    Did you find this post helpful? Yes | No

    Talking

    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!

Similar Threads

  1. Memory Problem
    By morphyn in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th February 2009, 22:59
  2. SEROUT2/SERIN2 Problem
    By thirsty in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 11th September 2007, 06:56
  3. Need the code to write to a memory
    By Hamlet in forum General
    Replies: 0
    Last Post: - 20th August 2007, 01:22
  4. DS1994 memory response problem
    By chika in forum Off Topic
    Replies: 7
    Last Post: - 28th March 2007, 23:35
  5. Replies: 4
    Last Post: - 2nd March 2007, 07:12

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts