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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/09/09 07:44
Read: times


 
#165187 - How did you do it?
Responding to: ???'s previous message
Hi Rita,
This has to be done in the debugging mode of Keil only. And the code given to you works fine, there is no need to refine.

Did you follow the methods of debugging by Compiling and then pressing <Ctrl-F5> and then <F10>?
<Ctrl-F5> is the key to start/stop Debugging mode of Keil.
<F10> is the key used for single stepping during the debugging mode.
Keep on pressing <F10> sucessively, and you will see the contents of the array one after another in the window of P1 port.

What you should see in the window of P1 port:
After you execute the following code every time:
P1= Input[i][j];
 


The contents of window of P1 port will show : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,13, 14, 15.
If you download this program in the CPU and test it on the hardware, and if you connect a Logic analyzer to the 8 pins of P1, you will see the above array contents.

If you do not see this during debugging, then,
1. explain what you have done till now.
2. what did you see.
3. what do you expect to see.

Please explain the above 3 points very clearly, step-by-step.

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