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
or this linke:(my program) www.megafileupload.com/.../usart16--2--zip.html
does atmel micro has buge?!!
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
anybody can resolve it's problem OR find reason of it's bug?
"...complicated and somehow wrong..."
can you explanation more? I can't understand your resolvent!!!!!
can you explain more?
What he's saying is that you have still not provided any description of the problem that would give anyone even the faintest clue of what might be wrong!
I think this is perfect explain about bug of in ATMEL smaple : "...I mean when many interrupts happen the program will return nonsense ..."
this is the image of it's(the example of ATmel in soft pack) return: www.megafileupload.com/.../Untitled-gif.html
and I have problem in my own program that I explain :
"...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....." Is any other question ??
if you are using an unchanged sample provided by Atmel, then you probably have a problem with your PC's baud rate settings or something similar.