Topic: nfc-list -v doesn't list ISO14443A passive target - NXP MIFARE U C Tag

Hi,

I'm using the last released version of libnfc (+ UART driver) (1.7.0), a RPI Pi B 2.0 and the ITEAD PN532 NFC MODULE.

I can list my Nexus 7 (first generation), and use others tools like nfc-dep-target with it :

nfc-list uses libnfc 1.7.0
NFC device: pn532_uart:/dev/ttyAMA0 opened

1 Felica (212 kbps) passive target(s) found:
FeliCa (212 kbps) target:
ID (NFCID2): 01  fe  7c  a8  75  7d  72  74
Parameter (PAD): c0  c1  c2  c3  c4  c5  c6  c7
System Code (SC): 0f  ab

But not my HTC One.

And not with the two  NXP MIFARE Ultralight C Tags (NFC Forum Type 2) : they can be both written and read with the Nexus 7 and the HTC One.

Should I modify these tools to detect these tags or should it work from the nfc-list tools ?

Thank you for having read my text smile

Re: nfc-list -v doesn't list ISO14443A passive target - NXP MIFARE U C Tag

Hmm strange.
You can try pn53x-tamashell and type the following bytes:
4A0100 (enter)
Then it will poll for type A tags such as your Ultralight C tags.
bring one tag near the antenna, you should get some bytes back including the UID.
If it doesn't work it's more likely a hardware problem (antenna tuning?)

You can also activate debug info, will be easier for us to help you.

LIBNFC_LOG_LEVEL=3 nfc-list -t 1

option -t 1 tells to try only type A tags, otherwise you'll get a lot of extra polling we are not interested into.

Phil

Re: nfc-list -v doesn't list ISO14443A passive target - NXP MIFARE U C Tag

Hi,

Thank you for your answer. I just received NXP Mifare Classic 1K Tags, they worked very well (detected by nfc-poll, nfc-list...), but I have to work on libfreefare before, and Android don't work with it.

What can I do for an antenna problem?  I'm not really a boss in electronic sad, but I tried and independent supply without success (same result, others tags OK, but not NXP MIFARE Ultralight C Tags (NFC Forum Type 2)). I will ask it to the distributor.

I have this result when I apply this command line with the  NXP MIFARE Ultralight C Tags (NFC Forum Type 2):

LIBNFC_LOG_LEVEL=3 nfc-list -t 1
info    libnfc.config   Unable to open file: /etc/nfc/libnfc.conf
debug   libnfc.config   key: [device.name], value: [PN532 board via UART]
debug   libnfc.config   key: [device.connstring], value: [pn532_uart:/dev/ttyAMA0]
debug   libnfc.config   key: [device.allow_intrusive_scan], value: [true]
info    libnfc.config   Unknown key in config line: device.allow_intrusive_scan = true
debug   libnfc.general  log_level is set to 3
debug   libnfc.general  allow_autoscan is set to true
debug   libnfc.general  allow_intrusive_scan is set to false
debug   libnfc.general  1 device(s) defined by user
debug   libnfc.general    #0 name: "PN532 board via UART", connstring: "pn532_uart:/dev/ttyAMA0"
nfc-list uses libnfc 1.7.0
usage: nfc-list [-v]
  -v     verbose display

Here is the conf file for the PN532 board driver:

cat /etc/nfc/devices.d/pn532_uart_on_rpi.conf

name = "PN532 board via UART"
connstring = pn532_uart:/dev/ttyAMA0
allow_intrusive_scan = true


For the tamashell command, no result at all :

pn53x-tamashell
NFC reader: pn532_uart:/dev/ttyAMA0 opened
> 4A0100
4A0100
Tx: 4a  01  00

I will maybe buy new NXP MIFARE Ultralight C Tags (NFC Forum Type 2), they were include on the box of my old Galaxy S2 (NFC version), maybe they are not respected standards.

Jon

Re: nfc-list -v doesn't list ISO14443A passive target - NXP MIFARE U C Tag

> LIBNFC_LOG_LEVEL=3 nfc-list -t 1
> nfc-list uses libnfc 1.7.0
> usage: nfc-list [-v]
>   -v     verbose display

Ha sorry you're using v1.7.0 but the option -t was added only later and is not supported in your setup.

But if "4a0100" doesn't return anything it means it's probably not a problem of your setup, it's between the reader and the tag.

Can you try nfc-poll and various tags?
It's like nfc-list but only for pn532 and is using an internal polling sequence.

Phil

Re: nfc-list -v doesn't list ISO14443A passive target - NXP MIFARE U C Tag

Hi,

Ok, ty saying it's probably not a problem of my setup.

Yes I tried NFC Mifare Classic 1K which works very well with nfc-poll.

I will wait until I receive others NXP MIFARE Ultralight C Tags (NFC Forum Type 2).

Jon

Re: nfc-list -v doesn't list ISO14443A passive target - NXP MIFARE U C Tag

Hi,

Sorry for little off-topic, but I wanted to PM you, but I wasn't able to.
Could you please tell me how you wired your Rpi with the module?

Mika.