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
  • I checked the SRC and M51 files but I can't figger it out.

    That's pretty damn strange, given that the map file tells you so very clearly what the memory usage of the program is. It won't necessary tell you what the memory available on your target hardware is, of course --- that's your job to figure out from the datasheet. Best is if you tell the tools about the memory available.

    And BTW, there should never be a need to check SRC files. You check list files instead.

Reply
  • I checked the SRC and M51 files but I can't figger it out.

    That's pretty damn strange, given that the map file tells you so very clearly what the memory usage of the program is. It won't necessary tell you what the memory available on your target hardware is, of course --- that's your job to figure out from the datasheet. Best is if you tell the tools about the memory available.

    And BTW, there should never be a need to check SRC files. You check list files instead.

Children
No data