Re: Of course, I have a memory corruption, but I'm not able to fix it...
BERTRAND Joël <[email protected]> Sat, 22 May 2021 17:44:09 +0200
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <[email protected]> |
Paweł Si a écrit : > > sob., 22 maj 2021 o 09:49 BERTRAND Joël <[email protected] > <mailto:[email protected]>> napisał(a): > > I'm not sure. In main() you will find : > > rfid_tag_t tag; > iso14443a_anticol(0, &tag); > > > I would remove this line (file iso14443a.c:244): > memset(&tag, 0, sizeof(tag)); Runs better with : memset(tag, 0, sizeof(tag)); I have used a library without verifications. And I have found another error in header file : ISO14443A_AC_SEL_CODE_CL2 should be equal to 0x95 ! Thanks a lot, JB