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 you had been an advanced _software_ engineer, you may have known the answer.

    The manual (Keil or Google search) does tell why you get warnings about overlaying for uncalled functions.

    Standard C knowledge includes why you get warnings about missing prototypes. Or what to do when the linker complains about unresolved symbols.

    Anyway - I'll better remember the "sortware engineer" term. I think it is a very good term.

Reply
  • If you had been an advanced _software_ engineer, you may have known the answer.

    The manual (Keil or Google search) does tell why you get warnings about overlaying for uncalled functions.

    Standard C knowledge includes why you get warnings about missing prototypes. Or what to do when the linker complains about unresolved symbols.

    Anyway - I'll better remember the "sortware engineer" term. I think it is a very good term.

Children
No data