Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/13/09 11:00
Read: times


 
#165292 - I think there is a confusion...
Responding to: ???'s previous message
Hi Rita,

There is something I want you to do. and post the result. Do it step-by-step exactly as I mention below:

1. Andy Neil is correct, you do not need Keil to do this. But I am assuming that you (still) want to do it in Keil. And if that is the case, then do exactly what I am telling you to do.

2. Do not use TurboC, Borland C, or any other C compilers that produce the EXE file that is to be run on computers. This is the exact point what Andy Neil has been telling you. Refer to his post(s) and answer him.

3. Do you have a Keil Compiler? IF not, then you can download the evaluation version that is free from the website www.keil.com (I do not know the exact website link, but somebody will give it to you, or you can search on keil.com). Install it. Open a new project and paste the above code in that project. If you do not know how to do this, then ask for that information and many, many of the members will help you out on this.

3. Open up the following link: http://www.8052.com/forum/read/165065 . It is my post, where I had written a sample code in Keil C. Copy the entire code into a new Keil C project. And follow the instructions I had given just below that code in the very same post.

4. And inform the result.

5. If you are still confused, inform me about it, and I will exaplin it how to do it.

6. If you want your code to work on a compiler using Borland C, or Turbo C, then mention it, we are still guessing, whether you want your code to work in Borland C or in Keil C.
Both are C Compilers, but Borland C will create a file that will run on the PC, whereas Keil will produce a (Hex) file that is to downloaded into a chip and tested out on the actual hardware, though good compilers such as Keil do provide the option for simulating it.
To put it in other words (in the language of cricket): Rules of Test-match criket are different than One-day matches, and Twenty20. All are the different forms of Cricket. You cannot apply the all the rules of cricket to all of them, but some of rules are common to all of them.


Bye from, Kiran V Sutar, Mumbai, INDIA.


List of 36 messages in thread
TopicAuthorDate
help is need            01/01/70 00:00      
   What do you want to solve?            01/01/70 00:00      
   What do you want to do is not clear            01/01/70 00:00      
      clarification of requirements            01/01/70 00:00      
         I am still confused...but here goes            01/01/70 00:00      
            printf writes data on serial port            01/01/70 00:00      
               Not necessarily            01/01/70 00:00      
            reply again.            01/01/70 00:00      
               Some more clarification..try this            01/01/70 00:00      
                  To kiran            01/01/70 00:00      
                     How did you do it?            01/01/70 00:00      
                        explanation            01/01/70 00:00      
                           How to post legible source code            01/01/70 00:00      
                           Please post your actual code.            01/01/70 00:00      
                              abt actual code            01/01/70 00:00      
                                 TC?            01/01/70 00:00      
                                    to andy..            01/01/70 00:00      
                                       Confusing!            01/01/70 00:00      
                                          not to miss            01/01/70 00:00      
                                             Oh no he didn't!            01/01/70 00:00      
                                 I think there is a confusion...            01/01/70 00:00      
                                    reply..            01/01/70 00:00      
                                       Got your point            01/01/70 00:00      
                                       a question and a comment            01/01/70 00:00      
                                          double = double precision float            01/01/70 00:00      
                                             not used it after seeing the effects, thus            01/01/70 00:00      
                                                Good incentive to look at fixed point            01/01/70 00:00      
                           Please explain            01/01/70 00:00      
               But Why Keil??            01/01/70 00:00      
         two dimensional input provided at the ports            01/01/70 00:00      
            simulate the data.            01/01/70 00:00      
               seems that not the real MCU            01/01/70 00:00      
                  to jacksonc ben            01/01/70 00:00      
                     The serial port don't need to know what you transfer            01/01/70 00:00      
   this is obviously not for an embedded app.            01/01/70 00:00      
      Clearly            01/01/70 00:00      

Back to Subject List