This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

auto segment too large

Hey i have written a code. In that i am getting error of AUTO SEGMENT TOO LARGE....so wat does it mean....
i didnt understand meaning of term from the definition given at your site....

So pls tell me wat doess it mean...
n how 2 remove this error...
Pls rply soon....

Parents
  • Hmmm.... you've left it over a day to come back with anything on this - so what's the rush??!

    "i have change my function call as large"

    The Memory Model is not a property of a function call - what do you mean by this?
    What, exactly, did you do?

    "i am still getting same error"

    Memory sizes are finite - so there will always come a point where your stuff will become "too big".

    You haven't said what specific chip you are using, so nobody - apart from you - knows how much memory you have available!

    "how to change variables i.e array, char, integers etc. to get access to large data memory"

    Please read the manual!

    "i am using 10 to 12 arrays of 32 characters in my main program...
    is that be the reason for this error???"

    How do you expect anyone to answer that? Again, you haven't said what specific chip you are using - so nobody else knows how much memory you have available!

    You can see what is using memory, and how much, by looking at the Linker Listing file - also known as the Map file.

    http://www.keil.com/support/man/docs/uv4/uv4_dg_adslst.htm

Reply
  • Hmmm.... you've left it over a day to come back with anything on this - so what's the rush??!

    "i have change my function call as large"

    The Memory Model is not a property of a function call - what do you mean by this?
    What, exactly, did you do?

    "i am still getting same error"

    Memory sizes are finite - so there will always come a point where your stuff will become "too big".

    You haven't said what specific chip you are using, so nobody - apart from you - knows how much memory you have available!

    "how to change variables i.e array, char, integers etc. to get access to large data memory"

    Please read the manual!

    "i am using 10 to 12 arrays of 32 characters in my main program...
    is that be the reason for this error???"

    How do you expect anyone to answer that? Again, you haven't said what specific chip you are using - so nobody else knows how much memory you have available!

    You can see what is using memory, and how much, by looking at the Linker Listing file - also known as the Map file.

    http://www.keil.com/support/man/docs/uv4/uv4_dg_adslst.htm

Children