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
  • .Is it true that the particular UC should have flash memory of size >= HEX file size??

    the size of the HEX file is no indication of the size of the program at hand. if you want to be sure, you must generate a .bin file using 'fromelf'. such a file such can be programmed directly onto flash, hence: if that one is smaller than the storing media, you are in business! you can also have a look at the map file, of course.

Reply
  • .Is it true that the particular UC should have flash memory of size >= HEX file size??

    the size of the HEX file is no indication of the size of the program at hand. if you want to be sure, you must generate a .bin file using 'fromelf'. such a file such can be programmed directly onto flash, hence: if that one is smaller than the storing media, you are in business! you can also have a look at the map file, of course.

Children