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

RAM size problem

Hello Everyone,
I am writing code for Phillips P89V51RD2 controller. My problem is that when I try to write something like "char IMGdb[900]" , it shows error saying "main : Auto Segment too Large" . Why is this error occuring ? Because, in P89V51RD2, it has a 1 KB RAM, so there should be no problem.

Parents
  • By "work", I meant that whether I will be able to access the memory or not....
    I am assuming that the 768 byte memory that I was talking about is the on-chip (XRAM) and can be accessed by defining it as "xdata". But, neway, I will now to load the program to see if it works... :)

    Thank you for your reply,
    Dhaval Mehta
    mehtadhaval.blogspot.com

Reply
  • By "work", I meant that whether I will be able to access the memory or not....
    I am assuming that the 768 byte memory that I was talking about is the on-chip (XRAM) and can be accessed by defining it as "xdata". But, neway, I will now to load the program to see if it works... :)

    Thank you for your reply,
    Dhaval Mehta
    mehtadhaval.blogspot.com

Children