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

code working in simulator but not when burnt.

hi
am using 89c55 and wrote a code in c which acquires data from a serial device performs calculations and the gives an alarm when an abnormality is detected. when i compiled i got as Program Size: data=9.0 xdata=7569 code=4140. i used large memory model.it works well when i checked with keil simulator but when i burnt into my uc i don see any output. iam new to uc's should i add any eeproms before burning?? please help me out. thanks in advance.

regards,
deepthi

Parents
  • That's true.

    For further details, including the hex file format, see: http://www.keil.com/support/docs/3250.htm

    "if you want to be sure, you must generate a .bin file"

    Not at all - the C51 tools tell you the image size directly!

    "using 'fromelf'"

    The C51 tools don't use ELF - so I doubt that 'fromelf' will help?

    " if that one is smaller than the storing media, you are in business!"

    Not quite - you need both the Code storage area and the data storage area to be of adequate size before the program will run correctly...

Reply
  • That's true.

    For further details, including the hex file format, see: http://www.keil.com/support/docs/3250.htm

    "if you want to be sure, you must generate a .bin file"

    Not at all - the C51 tools tell you the image size directly!

    "using 'fromelf'"

    The C51 tools don't use ELF - so I doubt that 'fromelf' will help?

    " if that one is smaller than the storing media, you are in business!"

    Not quite - you need both the Code storage area and the data storage area to be of adequate size before the program will run correctly...

Children