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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/15/03 14:57
Read: times


 
#39126 - Debug problem
I am using uvision2 compiler.
I am trying to debug my project with the simulator but I can't store the SBUF.
c don't receive the content of the SBUF.
Likewise the debugger never enters the line
Start_bit = 1; when SBUF = 0x46.

bit Start_bit = 0;
char c ;
void SerialPort(void) interrupt 4 using 2
{

if (RI == 1) {
c = SBUF;
if(SBUF=='0x46')
Start_bit = 1;

RI = 0;
}
}
Thank you very much.

List of 15 messages in thread
TopicAuthorDate
Debug problem            01/01/70 00:00      
   RE: Debug problem            01/01/70 00:00      
      RE: Debug problem            01/01/70 00:00      
         RE: Debug problem Jon            01/01/70 00:00      
      RE: Debug problem            01/01/70 00:00      
         RE: Debug problem            01/01/70 00:00      
   RE: Debug problem            01/01/70 00:00      
   RE: Debug problem            01/01/70 00:00      
      RE: Debug problem            01/01/70 00:00      
   RE: Debug problem            01/01/70 00:00      
      RE: Debug problem            01/01/70 00:00      
         RE: Debug problem            01/01/70 00:00      
         RE: Debug problem            01/01/70 00:00      
   RE: Debug problem            01/01/70 00:00      
      RE: Debug problem            01/01/70 00:00      

Back to Subject List