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

How check memory usage?

Hi,

I'm new to this compiler.
My application behaves strange using a AT89C51CC03.
I would like to have some tips on how to check if data or xdata usage is not exceeding processor memory. I checked the SRC and M51 files but I can't figger it out.

Thanks.

H.

Parents
  • If you put the proper information for your processor into the project setup the compiler should complain to the point of not successfully linking your code if you exceed the memory available.

    I suggest as Hans-Bernhard Broeker that you check your data sheet for the exact processor you have, and then check your memory settings in your project information to be certain that those settings match the resources the processor has. Don't waste your time not putting exactly what you have in your project settings or the compiler will be made useless in giving you functional code. That's the first place to start.

    Stephen

Reply
  • If you put the proper information for your processor into the project setup the compiler should complain to the point of not successfully linking your code if you exceed the memory available.

    I suggest as Hans-Bernhard Broeker that you check your data sheet for the exact processor you have, and then check your memory settings in your project information to be certain that those settings match the resources the processor has. Don't waste your time not putting exactly what you have in your project settings or the compiler will be made useless in giving you functional code. That's the first place to start.

    Stephen

Children