This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

dose atmel micro hase buge?

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

Parents
  • 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!!

Reply
  • 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!!

Children