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

Hello

I Always used Atmel AT89C51RE2 but there the production stopped we changed over to
Silicon C8051F580 processor.

now I am facing problems with the memory.
when I add variables after downloading the program wont run.
the compiler give Program Size: data=78.3 xdata=172 code=10749

so to mine point there is enough space.
maybe something with parameters?

with regards

Jos

Parents
  • Presumably, just don't just add variables - that would be pointless without also adding code to use those variables.

    So, as well as the memory allocation, you need to look at that code.

    As already noted, use the debugger.

    Add printfs and/or other instrumentation to see what your code is doing.

    Carefully compare before & after the changes ...

Reply
  • Presumably, just don't just add variables - that would be pointless without also adding code to use those variables.

    So, as well as the memory allocation, you need to look at that code.

    As already noted, use the debugger.

    Add printfs and/or other instrumentation to see what your code is doing.

    Carefully compare before & after the changes ...

Children