Hello,
A while back, I started getting this on my board, that when I had a
program interfacing with the USART DBGU, the key press from the Hyper
Terminal would not perform the required the functionality, for example
pressing an 'h' would be a 'd' and so on, and sometimes it worked OK.
So then I tried to find out what could be wrong, and I came up with
nothing conclusive. Then recently, I tried to use another USART, and
bypass the onboard USART, but again nothing. I mean the USART connects
and the rate is OK, I can it through hyper terminal, but if I try to
interact with a key press, does't work, and now it does't even work
little bit, just I can see characters.
What could this be? What is my best bet at the moment?
Thank you and regards.
------------------------------------

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )
Have u made connection with 3 wire Rx, Tx & GND ?
To check whether your Hyper Terminal is sending proper character, u can
remove rs232 cable from your hardware and just make short your Rx & Tx
pins so that u will get character whatever u r sending in Rx pin. So, u
can see that your hyper terminal is ok.
In Hyper Teminal make flow control = NONE.
If its ok than, main problem with your baudrate. You must calculate
your baudrate by considering CRYSTAL & PLL(if u have enabled it).
Check all this thing without receive interrupt. By using receive
polling method than u can go to interrupt based.
--- In A...@yahoogroups.com, "tasbihmr"
wrote:
>
> Hello,
>
> A while back, I started getting this on my board, that when I had a
> program interfacing with the USART DBGU, the key press from the Hyper
> Terminal would not perform the required the functionality, for example
> pressing an 'h' would be a 'd' and so on, and sometimes it worked OK.
> So then I tried to find out what could be wrong, and I came up with
> nothing conclusive. Then recently, I tried to use another USART, and
> bypass the onboard USART, but again nothing. I mean the USART connects
> and the rate is OK, I can it through hyper terminal, but if I try to
> interact with a key press, does't work, and now it does't even work
> little bit, just I can see characters.
> What could this be? What is my best bet at the moment?
>
> Thank you and regards.
>
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )