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

memory problem

hello everyone,
i want to know what happens if we exceed the maximum limit of code memory of microcontroller while writing the code
does it compile the code?
what error it gives?
eg: in c8051f020, external memory size=64KBYTES
if we exceeds this limit then what will happen?
i tried to search on google but couldnot find the relevent answers
thank u all
take care

Parents
  • i want to know what happens if we exceed the maximum limit of code memory of microcontroller while writing the code
    ....
    in c8051f020, external memory size=64KBYTES

    The SILabs chips can not have external program memory ... is that where you go wrong?

    try switching from large to small model, and fix some variables if needed (you will - probably - have to add xdata to some definitios) you will be amazed how much smaller your code gets.

    Erik

Reply
  • i want to know what happens if we exceed the maximum limit of code memory of microcontroller while writing the code
    ....
    in c8051f020, external memory size=64KBYTES

    The SILabs chips can not have external program memory ... is that where you go wrong?

    try switching from large to small model, and fix some variables if needed (you will - probably - have to add xdata to some definitios) you will be amazed how much smaller your code gets.

    Erik

Children