Hi,
I successfully downloaded and compiled libnfc-1.7.1, mfoc and mfcuk on my Raspberry Pi3 following these instructions:
https://blandais.github.io/mifare/en; I use a Adafruit PN532 Arduino shield v1.0 clone connected to my RPi trough a FT232-based USB to UART adapter.
I created the libnfc configuration file libnfc.conf in /etc/nfc with this content:
allow_autoscan = false
allow_intrusive_scan = true
log_level = 1
device.name="PN532 Adafruit Arduino Shield"
device.connstring = "pn532_uart:/dev/ttyUSB1"
All works well with demos available in libnfc-1.7.1/examples folder (the PN532 responds at the pn53x-diagnose demo and I can also read tags info using nfc-poll); I also see TX/RX LEDs on the FT232 board flash
This is the output of pn53x-diagnose with log_level = 1:
/home/pi/libnfc/libnfc-1.7.1/examples/.libs/lt-pn53x-diagnose uses libnfc 1.7.1
NFC device [pn532_uart:/dev/ttyUSB1] opened.
Communication line test: OK
ROM test: OK
RAM test: OK
However, when I try to use mfoc -O dump_file.mfd command I obtain almost immediately the answer No NFC device found and LED on the FT232 breakout board don't flash at all.
Same result with mfcuk; the command ./mfcuk -C given in the src folder os mfcuk gives this output without any flash of the RX/TX LEDs on the FT232 breakout board
It is not clear to me if mfoc/mfcuk uses the same configuration file of libnfc-1.7.1
Please, is there anyone else that uses mfoc/mfcuk on the Raspberry Pi3 and can give me some hints to solve these problems?
Thanks in advance to anyone who will answer.