I've used Atmel's AVR studio in simulation of the USART and it doesn't show any data in the UDR reg. , but it worked pretty good although ,I think its an internal thing that you can'nt see the UDR filled with data...
Aaron <aaron.groups@gmail.com> wrote: 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
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.
[Non-text portions of this message have been removed]Message
Re: [AVR-Chat] USART on mega48
2006-10-04 by moemen issa
Attachments
- No local attachments were found for this message.