Pyscan NFC/Rfid reading Issue
- 
					
					
					
					
 Good evening, 
 I'm getting an Issue when trying to read a standard ISO 14443-3A tag.
 I'm using attached main.py with latest MFRC630
 I'm getting correct Uid but after authentication the tag return every block at ZERO.
 The tag is properly written on sector 2 (see dump.png and is perfectly readable with a variety of tag readers.
 Tried with Lopy and Wipy.. no way.
 Any ideas?
 Thanks.
 SaverioA card has been detected, reading its UID ... UID has length 4 1 UID [4]: E6 51 3D 30 Sector 00 : Block: 00 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sector 00 : Block: 01 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sector 00 : Block: 02 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sector 00 : Block: 03 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ________________________________ Sector 01 : Block: 00 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sector 01 : Block: 01 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sector 01 : Block: 02 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sector 01 : Block: 03 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ________________________________ Sector 02 : Block: 00 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sector 02 : Block: 01 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sector 02 : Block: 02 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sector 02 : Block: 03 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ............
 
- 
					
					
					
					
 Great work! I was indeed expecting the issue to be something like this, but had a hard time testing without a working sample. Let me know if that works for you, and I'll have it changed in the libraries! 
 
- 
					
					
					
					
 @Gijs here is the bug in MFRC630: you are printing the lenght of response instead of the value...  
 On line 374 it should be:return dest
 
- 
					
					
					
					
 @Gijs Here the debug: 
 attached to pyscan_debug.py
 
- 
					
					
					
					
 Hi, 
 Could you instantiate the MFRC card reader with the flagdebug=True, this should give more debug output on what is actually happening. I was not able to find a readable card in the office at this time, so. I cannot check it for you right now.