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

Target not created

I keep getting a 'Target not created' error at the end of compile. When I comment out a printf, everything is fine. What is the problem?

Thank you.

Parents
  • What does ADDRESS SPACE OVERFLOW mean?

    That your code tried to put more stuff into
    one of the 8051 address spaces (in the case at hand: into DATA) than fits into it. Pretty straightforward, I'd have thought, especially after you looking up the error message number
    in the docs.

    But in the case at hand, that's an indirect error. The real problem is that you have so much code compiled in your source files that isn't actually used for anything, as far as the compiler could tell. That wreaks havoc in the data overlay optimization step, and thus caused your data segment to overflow.

    Fix those "unused segment", and "multiply called segment" warnings before you go on---they're serious.

Reply
  • What does ADDRESS SPACE OVERFLOW mean?

    That your code tried to put more stuff into
    one of the 8051 address spaces (in the case at hand: into DATA) than fits into it. Pretty straightforward, I'd have thought, especially after you looking up the error message number
    in the docs.

    But in the case at hand, that's an indirect error. The real problem is that you have so much code compiled in your source files that isn't actually used for anything, as far as the compiler could tell. That wreaks havoc in the data overlay optimization step, and thus caused your data segment to overflow.

    Fix those "unused segment", and "multiply called segment" warnings before you go on---they're serious.

Children
No data