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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/26/12 15:46
Read: times


 
#188906 - Great suggestions, Eric....
Responding to: ???'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            01/01/70 00:00      
   I gave up long ago            01/01/70 00:00      
      SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
         Silabs IDE            01/01/70 00:00      
            SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
               Silabs IDE            01/01/70 00:00      
                  SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                     why did you not say so            01/01/70 00:00      
                        SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                           IDE - Silabs or Keil?            01/01/70 00:00      
                              SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                                 so would I, but            01/01/70 00:00      
                                    SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                                       nope            01/01/70 00:00      
                                          8 Bit micro - Kernal            01/01/70 00:00      
                     but hardware is easy to get ?            01/01/70 00:00      
                        SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                           I do not have it here, but            01/01/70 00:00      
                              SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                                 SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                                    I know none that show that directly            01/01/70 00:00      
                                       Keil IDE Screen shots            01/01/70 00:00      
                                          what is missing?            01/01/70 00:00      
                                             SiLabs - C8051F020 - Keil IDE            01/01/70 00:00      
                                                why?            01/01/70 00:00      
                                                   Why Simulator            01/01/70 00:00      
                                                      simulators            01/01/70 00:00      
                                                      simulators            01/01/70 00:00      
                                                         Simulator            01/01/70 00:00      
                                                            funny            01/01/70 00:00      
                                                               Simulators            01/01/70 00:00      
                                                      neither of this is simulation            01/01/70 00:00      
                                                         Simulator            01/01/70 00:00      
                                                            if I show you the timetable ...            01/01/70 00:00      
                                                               Simulating            01/01/70 00:00      
                                                                  You have to know hidden details about the simulator            01/01/70 00:00      
                                                                     Simulator            01/01/70 00:00      
                                                                        two aswers and a question            01/01/70 00:00      
                                                                           Great suggestions, Eric....            01/01/70 00:00      

Back to Subject List