laborratte wrote:[quote:8179efe6a8]Debugging a "register unintended changed by isr" error is a nightmare...[/quote:8179efe6a8]O yeah, .... took days ! Unexpected behaviour that is not consistent .... so hard to debug.
Ian, unfortunately my RFID-module uses a different format than yours. So I cannot re-use your code.
As for saving registers: I either let the compiler take care of it (no Nosave), or I push and pop the ones I'm using in the interrupt routine.
Thanks again, guys, for your help.
Nard
↧