[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-chat] AT90USB1287 USART problem
From: |
Ron Kreymborg |
Subject: |
[avr-chat] AT90USB1287 USART problem |
Date: |
Sat, 27 Jun 2009 00:33:40 +1000 |
Hi All
I cannot get the USART in a AT90USB1287 to respond to the RX interrupt. I
have read the '1287 data sheet several times now. I guess I am overlooking
something but I am darned if I know what.
Attached are the source and make files for a simple app that demonstrates
the problem. It transmits the text to TeraTerm on a PC but typing anything
there never interrupts at the USART1 vector. The vector is there in the
interrupt table at 0x32 and points to the correct location. I can scope the
incoming characters right on the RX pin (PD2).
It is compiled with avr-gcc (WinAVR 20090313) 4.3.2 and loaded into a
AT90USB128716AU with a 14.7456MHz crystal on a STK501. The other numbers on
the '1287 are 0740-6G3879A.
Can anyone offer a suggestion?
Thanks
Ron
makefile
Description: Binary data
Main.c
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-chat] AT90USB1287 USART problem,
Ron Kreymborg <=