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
Indeed!
It all rather sounds like you're trying to run before properly learning to walk!
I think you should spend some time reviewing the basics of the 8051 architecture, and then some simple, basic programming examples before continuing with this.
Standard advice:
First, you need to read the uVision Getting Started guide, and work through the example projects in it. This will give you a proper introductions to the tools, how they work, and how to use them - rather than just jumping-in blindly at the deep-end! You need to study the following documents - commonly referred to as "the bible" for the 8051:
Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
Are you also a newbie to 'C' programming in general? If so, you'll also need a good 'C' textbook.
Here are some other introductory & reference materials: http://www.keil.com/books/8051books.asp www.8052.com/tutorial.phtml
You will need to read the Data Sheet for your particular processor, and the Manual(s) for any development boards, etc.
You will need to read the Manuals for the C51 Compiler, A51 Assembler, etc, etc,...
thanks alot neil for those documents and information u have given.. may be ur true that am trying to run....thanks alot once again...