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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Robert Bowen
11/26/12 08:46
Read: 825 times
St. Peters
USA


 
#188906 - Great suggestions, Eric....
Responding to: Erik Malund's previous message
... I like your suggestions and these are things I have done in the past.(also done this...verify baud rate, connect scope to Tx pin and calculate the bit rate between HIGH/LOW transmission)

...Again all of this is fine and great. I think I have not been very clear on my initial post.

All these suggestions requires tools. Yes, I have them. Yes, I use them.

However, your feedback "assumes" that I have configured the Crossbar correctly and know where the TX Clock is going to be located. Or even turned on, for that matter. Perhaps, I did not "Enable" the crossbar. In that case, hooking up the scope does me no good!

The simulator clearly displays the results of the Crossbar and what was written to it. It clearly states "Enable/Disable" status.

Am I the only person that has ever written code that I thought was correct, only to find out later that I did not understand the data sheet?

Again, imagine this assumption.... I believe the correct value to write to the crossbar to enable it is "XYZ". Now I run the Hardware Debugger, have my scope connected to P0.4 TX and I see NO signal. I look at my code and say, "Yes, I wrote "XYZ" to the crossbar, it should be enabled.. I can't imagine know what is wrong...?" I would be stuck here forever!

The Keil Simulator cleary shows that the Crossbar is NOT enabled. Now it's up to me to re-read the data sheet to figure out the CORRECT value to write to it.

How will connecting a Scope and writting "UU" tell me if the crossbar is "Enabled"?

Does this make sense to anyone besides just me?

I am not saying the simulator is better than real hardware debugging. I am simply saying that the Simulator can be very useful and present information that the hardware debugger can not without hardware tools, scope, etc.

Comments/concerns/solutions are all welcome.



List of 39 messages in thread
TopicAuthorDate
SiLabs - C8051F020 - Keil IDE      Robert Bowen      11/19/12 06:04      
   I gave up long ago      Erik Malund      11/19/12 07:57      
      SiLabs - C8051F020 - Keil IDE      Robert Bowen      11/19/12 15:12      
         Silabs IDE      Hal Albach      11/19/12 18:06      
            SiLabs - C8051F020 - Keil IDE      Robert Bowen      11/19/12 18:57      
               Silabs IDE      Hal Albach      11/20/12 06:26      
                  SiLabs - C8051F020 - Keil IDE      Robert Bowen      11/20/12 07:39      
                     why did you not say so      Erik Malund      11/20/12 07:48      
                        SiLabs - C8051F020 - Keil IDE      Robert Bowen      11/20/12 08:07      
                           IDE - Silabs or Keil?      Hal Albach      11/20/12 18:15      
                              SiLabs - C8051F020 - Keil IDE      Robert Bowen      11/20/12 19:09      
                                 so would I, but      Erik Malund      11/20/12 20:24      
                                    SiLabs - C8051F020 - Keil IDE      Robert Bowen      11/21/12 07:05      
                                       nope      Erik Malund      11/21/12 08:44      
                                          8 Bit micro - Kernal      Robert Bowen      11/22/12 05:59      
                     but hardware is easy to get ?      Jim Granville      11/21/12 20:26      
                        SiLabs - C8051F020 - Keil IDE      Robert Bowen      11/22/12 05:51      
                           I do not have it here, but      Erik Malund      11/22/12 08:09      
                              SiLabs - C8051F020 - Keil IDE      Robert Bowen      11/22/12 08:58      
                                 SiLabs - C8051F020 - Keil IDE      Robert Bowen      11/22/12 09:23      
                                    I know none that show that directly      Erik Malund      11/22/12 16:53      
                                       Keil IDE Screen shots      Robert Bowen      11/22/12 18:52      
                                          what is missing?      Erik Malund      11/22/12 19:47      
                                             SiLabs - C8051F020 - Keil IDE      Robert Bowen      11/24/12 06:52      
                                                why?      Erik Malund      11/24/12 08:27      
                                                   Why Simulator      Robert Bowen      11/24/12 14:17      
                                                      simulators      Mahmood Elnasser      11/25/12 07:02      
                                                      simulators      Mahmood Elnasser      11/25/12 07:02      
                                                         Simulator      Robert Bowen      11/25/12 11:00      
                                                            funny      Erik Malund      11/25/12 12:16      
                                                               Simulators      Robert Bowen      11/25/12 14:48      
                                                      neither of this is simulation      Erik Malund      11/25/12 12:11      
                                                         Simulator      Robert Bowen      11/25/12 14:51      
                                                            if I show you the timetable ...      Erik Malund      11/25/12 15:39      
                                                               Simulating      Robert Bowen      11/25/12 15:55      
                                                                  You have to know hidden details about the simulator      Richard Erlacher      11/25/12 22:33      
                                                                     Simulator      Robert Bowen      11/26/12 06:12      
                                                                        two aswers and a question      Erik Malund      11/26/12 07:38      
                                                                           Great suggestions, Eric....      Robert Bowen      11/26/12 08:46      

Back to Subject List