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

Help Needed For AT89C2051

Hi to all, I am an advanced sortware engineer specialising in c compiler programs. By a guided book of " Projects in C for U" . I am building my latest project but I am having errors. I have tried attach all the files. I have compiled it in Keil uvision 4. Pls can anyone help me out to get the program working.

Any help would be really appreciated.

I am having this error in Keil :

Build target 'Target 1'
compiling LED Binary Counter.c...
LED BINARY COUNTER.C(29): warning C206: 'wait_a_sec': missing function-prototype
LED BINARY COUNTER.C(12): warning C1046: 'shoot_bred': missing function name is
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS SEGMENT: ?PR?WAIT_A_SECOND?LED_BINARY_COUNTER
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: WAIT_A_SEC MODULE: LED Binary Counter.obj (LED_BINARY_COUNTER)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL SYMBOL: WAIT_A_SEC MODULE: LED Binary Counter.obj (LED_BINARY_COUNTER) ADDRESS: 082EH
Program Size: data=11.0 xdata=45212 code=54487
creating hex file from "LED Binary Counter"...
"LED Binary Counter" - 0 Error(s), 5 Warning(s).

Parents
  • If your problem is about an AT89C2051, what made you pick C166 as your Architecture?

    I have tried attach all the files

    That doesn't work. There's no "attach file" function in this forum, and frankly, I think that's a Good Thing(TM).

    I am building my latest project but I am having errors.

    No, you're not. You're getting warnings, not errors. Some of those are pretty serious, specially those from the linker about unresolved references, but they're still just warnings.

    Pls can anyone help me out to get the program working.

    How do you expect anybody to be able to do that, given the fact you haven't told us in what way it's not already working right now?

    I do wonder, though: how do you justify calling yourself an "advanced sortware engineer" [sic] if you can't figure out stuff like that for yourself?

Reply
  • If your problem is about an AT89C2051, what made you pick C166 as your Architecture?

    I have tried attach all the files

    That doesn't work. There's no "attach file" function in this forum, and frankly, I think that's a Good Thing(TM).

    I am building my latest project but I am having errors.

    No, you're not. You're getting warnings, not errors. Some of those are pretty serious, specially those from the linker about unresolved references, but they're still just warnings.

    Pls can anyone help me out to get the program working.

    How do you expect anybody to be able to do that, given the fact you haven't told us in what way it's not already working right now?

    I do wonder, though: how do you justify calling yourself an "advanced sortware engineer" [sic] if you can't figure out stuff like that for yourself?

Children