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

struct's in C51

Hello

I got the DTMF tone generator example from
http://www.keil.com/download/docs/234.asp and it works great, however when I integrate the routines into another program I get a compiliation error :

*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: DATA SEGMENT: ?DT?MAIN LENGTH: 001CH

I'm trying to figure out what would be using so much RAM. I see the code is using a lot of struct's, are those stored in RAM?

I've looked at the M51 file I just don't understand why it would run out of space in the MAIN segment, there isn't a lot of code in there

thanx!

Xarion

Parents
  • I'm trying to figure out what would be using so much RAM. I see the code is using a lot of struct's, are those stored in RAM?
    yes, unless they are preceeded by e.g 'code'

    the manual, sorry, let you know which keywords to preceede declarations and definitions with.

    Erik

Reply
  • I'm trying to figure out what would be using so much RAM. I see the code is using a lot of struct's, are those stored in RAM?
    yes, unless they are preceeded by e.g 'code'

    the manual, sorry, let you know which keywords to preceede declarations and definitions with.

    Erik

Children
No data