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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/03/02 20:12
Read: times


 
#28491 - RE: Serial port dilemma
When the uC is reset, single step the program once. The uC (always) gets the correct data, but the PC gets back 0xFF (just after reset). Now run the program w/o single step. Everything works fine.

Most likely, in single step, you start the UART in one step, but all that is transmitted is the start bit, this will make a 0xff be the received byte.

Erik


List of 11 messages in thread
TopicAuthorDate
Serial port dilemma            01/01/70 00:00      
RE: Serial port dilemma            01/01/70 00:00      
RE: Serial port dilemma            01/01/70 00:00      
RE: Serial port dilemma            01/01/70 00:00      
RE: Serial port dilemma            01/01/70 00:00      
RE: Serial port dilemma            01/01/70 00:00      
RE: Serial port dilemma            01/01/70 00:00      
RE: Serial port dilemma            01/01/70 00:00      
RE: Serial port dilemma            01/01/70 00:00      
RE: Serial port dilemma            01/01/70 00:00      
RE: Serial port dilemma            01/01/70 00:00      

Back to Subject List