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 09:49:25 +0200
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <[email protected]>
Paweł Si a écrit :
> 
> 
> pt., 21 maj 2021 o 12:09 BERTRAND Joël <[email protected]
> <mailto:[email protected]>> napisał(a):
> 
>     Trampas Stern a écrit :
>     > You also  need to send the rest of the code. 
> 
> 
> This was actually a good advice, most likely the bug is in your code, so
> seeing the rest would be helpful 

	Firmware is downloadable at
https://hilbert.systella.fr/public/20210122.tar.gz

>     uint8_t
>     iso14443a_anticol(uint8_t wup, rfid_tag_t *tag)
> 
> 
> I'm guessing  the pointer 'tag' is pointing to a random memory address,
> but without rest of your code it is hard to tell.

	I'm not sure. In main() you will find :

        rfid_tag_t  tag;
        iso14443a_anticol(0, &tag);

	Best regards,

	JB