Post Created date
Timer with period Y does not generate interrupt for CCx when CCx is Y.
I have removed this line meanwhile because of the unneeded feature, but this didn't solve the problem. I no longer have access to the hardware, but it does not seem to work in...
Friday, 28 August 2020 - 13:00
Firmware got corrupted.
I faced the same problem when I was writing a bootloader, but don't remember what caused it. Probably would recommend you to set fuses so that you can't rewrite flash from the...
Friday, 14 August 2020 - 07:46
Timer with period Y does not generate interrupt for CCx when CCx is Y.
Yes, but the point is the CCA value can be anything in the range 0 - 0x7FFF, it is calculated at run time and adding a special case for 0x7FFF seems like dirty solution to me.
Wednesday, 12 August 2020 - 12:55
Timer with period Y does not generate interrupt for CCx when CCx is Y.
I was able to think of only two not-so-clean solutions. The first one is using TCC4.OVF interrupt instead of CCA when CCA == 0x7FFF, and the other one which I actually use was...
Wednesday, 12 August 2020 - 11:24
How do interrupts behave when they are disabled after firing?
I never used Atmel studio before but this looks really good. I use Linux, but I sometimes use Windows VM and wine, so I may give it a try. Thanks, nice to know there is no such...
Wednesday, 5 August 2020 - 11:28
A bug that happens only after flashing, dissapers after reset
Brian Fairchild wrote: deli.dado wrote: It must be some peripheral badly initialized. I tried to zero the SRAM memory before entering the app and it didn't help.   Have you...
Friday, 10 July 2020 - 09:29
A bug that happens only after flashing, dissapers after reset
awneil wrote:uninitialised auto variables awneil wrote: deli.dado wrote:It must be some peripheral badly initialized.  I wouldn't assume that.   I tried to zero the SRAM...
Friday, 10 July 2020 - 09:20
A bug that happens only after flashing, dissapers after reset
Kartman wrote: Sounds like something doesn't get initialised correctly - ie on reset it is by default, but the operation of the bootloader is changing something. When the...
Friday, 10 July 2020 - 08:54
A bug that happens only after flashing, dissapers after reset
clawson wrote: deli.dado wrote: only directly after flashing the ATxMega and leaving the bootloade Xemag have a register you can use to reset themselves. Do that. In the entry...
Friday, 10 July 2020 - 08:53
Implementing UART driver with Interrupts and DMA - UART_RXC ISR is executed only first time a character is received
awneil wrote: N.Winterbottom wrote: It can therefore be a useful de-bugging exercise also. Absolutely!   A previous example:   https://www.avrfreaks.net/commen......
Monday, 6 July 2020 - 11:41
Implementing UART driver with Interrupts and DMA - UART_RXC ISR is executed only first time a character is received
I found the issue!   In my test code's main() i was calling rs_popmsg() function. The problem was that this function disabled the RXC interrupt, checked few variables and re-...
Monday, 6 July 2020 - 09:14
Implementing UART driver with Interrupts and DMA - UART_RXC ISR is executed only first time a character is received
Hi @N.Winterbottom, thanks for the effort. It works, so I will try to base my code on this. Not sure why my code didn't work, it's not that different... Maybe I am doing something...
Monday, 6 July 2020 - 08:20

Pages