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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/19/12 13:04
Read: times


 
#188851 - SiLabs - C8051F020 - Keil IDE
I am a little confused on what I am seeing while debugging the SiLabs Board and what I witness in the Keil IDE Debugger.

(Note: Code is running fine.)

Observation 1: My code has the Crossbar set to the following:

// Configure the Crossbar and GPIO ports
//
void PORT_Init (void)
{
   XBR0    |= 0x04;                    // Enable UART0
   XBR2    |= 0x40;                    // Enable crossbar and weak pull-ups
   P0MDOUT |= 0x01;                    // enable TX0 as a push-pull output
   P1MDOUT |= 0x40;                    // enable LED as push-pull output


   P3MDOUT = 0x00;                     // P3.7 is open-drain

   P3     |= 0x80;                     // Set P3.7 latch to '1'

}
 


The Keil Debugger shows: XBRO: 0x88 XBR1: 0x88 and XBR2: 0x88

Observation 2: The UART 0 is configured for 19200 and I can communicate just fine so I know its working and configured correctly. However, the Keil debugger shows it is set to: Tx/Rx: 166666

Observation 3: While debugging, I have a switch connected to P2.0. I can Press the switch and it behaves as expected, but the Keil Debugger does NOT show any activity on this Port Bit in the debugger.

This is all very confusing to me... What am I missing here?

Thanks,

Robert





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