Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

USART on mega48

2006-10-04 by Aaron

I struggled yesterday getting the USART on a Mega48 to work.

Since I got a good nights sleep, I'm going to take another look at the 
datasheet and my code before I post my initialization.  But in the 
meantime, I never see UDR0 being filled with data, both in the simulator 
or via debugwire.  Assuming the USART is properly configured, does 
anybody know if I should be able to see this happen?

As an aside, I tried the new Dragon for the first time yesterday.  
Pretty painless.  My only complaint thus far is the packaging - I wish 
it at least had some rubber feet on the bottom.  But for $49 it is a 
great product!

Aaron

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.