jnk0le / AVR-UART-lib

extremly light uart library for AVR 8 bit microcontrollers
MIT License
105 stars 36 forks source link

Freeze within ISR(RX0_INTERRUPT, ISR_NAKED) when invalid data is received #16

Closed dobrowolsk closed 2 years ago

dobrowolsk commented 2 years ago

Hi, upon connecting the RX wire sometimes my ATmega324 hangs somewhere in the RX interrupt handler (found this out with debug LEDs, as I can't use JTAG). I don't know how to proceed further when looking for the error, as I have no clue about assembler.

I have excluded ground loop issues and tried various config options with no success.

Is there any config switch to make the whole thing more robust? A system freeze upon UART cable connection is unfortunately something I can't live with.

Thanks in advance!

dobrowolsk commented 2 years ago

user idiot error