Dave VanHorn wrote: > > Well, it's still got me. > > USART1 continuously hits me with a TXD int, even though it's not enabled. > > > .org 0 > rjmp RESET ; > rjmp EX_INT0 ; ... > rjmp USART1_UDRE ; > rjmp USART1_TX ; <---- I keep coming here. > rjmp TWI ; > rjmp SPM_READY ; > > According to the ICE, I really am writing 00h to these registers, and they > are still zero (except UCSR1A) when the int happens. Uart not enabled for > TX or RX, and UDR1 never written to, I just don't see why I'm getting > hammered like this. > It ACTS like a UDRE, which is even worse. (ints all the time, after every > instruction!) ... Maybe the avr-libc header file should be checked for errors. Check that the mega128 one is really being used and not some other one.
Message
Re: [AVR-Chat] Prototypitis
2005-03-01 by Russell Shaw
Attachments
- No local attachments were found for this message.