I'am working with at91sam7x256 and in my program the usart interrupt dosen't work correctly ! I communicatinon with atmel but it isn't fix yet.
thise is my program...pleas help me
www.4shared.com/.../usart16__2_.html
my mail :salehi.elc@gmail.com
In what way(s). precisely, does it not "work correctly" ?
What reason(s), precisely, make you think it's a chip bug rather than a bug or flaw in your software?
becuse more than 2 month I check program and diden't find any problem in it...if any body can resolve its problem I understand it doesn't production buge! perhaps this is keil compiler buge!!
... exactly what you think is wrong!
If you've been investigating it for >2 months then, by now, you should be able to give a very detailed description...!
NB: the spelling is "bug" or "bugs".
the exact problem with this chip is with it's usart RX interrupt that only happens once.I set all the registors related to resetting vectors in different approaches,but the problem still goes on !! In the ATMEL's sampale,the interrupt is run with a combination of usart interrupt & timer and pdc which is complicated and somehow wrong.In Atmel's sampale transmitting data is performed by interrupt timer which is not logical and that's why ATmel's example is facing with a bug here,I mean when many interrupts happen the program will return nonsense and about my program I tried with the most simplest approach to run the usart interrupt that i confronted with this bug that the interrupt routine function only happens once!!
in finding your own bug...
thanks
View all questions in Keil forum