Hello, everyone,
I restart my linux project with the trf7970a chip. Now other people help me to include the trf7970a driver and neard into the linux kernel. I am testing it with the neard test command.
The following is from the console term:
root@phycore-am335x-1:/usr/lib/neard# ./test-adapter powered nfc0 on
root@phycore-am335x-1:/usr/lib/neard# ./test-adapter poll nfc0 on Initiator
root@phycore-am335x-1:/usr/lib/neard# [ 7483.165874] systemd-journald[1041]: /dev/kmsg buffer overrun, some messages lost.
[ 7483.188894] systemd-journald[1041]: /dev/kmsg buffer overrun, some messages lost.
[ 7483.216274] systemd-journald[1041]: /dev/kmsg buffer overrun, some messages lost.
......................
[ 7484.225002] systemd-journald[1041]: /dev/kmsg buffer overrun, some messages lost.
[ 7484.255893] systemd-journald[1041]: /dev/kmsg buffer overrun, some messages lost.
root@phycore-am335x-1:/usr/lib/neard# ./test-tag list(no feedback)
root@phycore-am335x-1:/usr/lib/neard# ./test-tag dump(no feedback)
root@phycore-am335x-1:/usr/lib/neard# nfctool --list
nfc0:
Tags: [ tag24 ]
Devices: [ ]
Protocols: [ Felica MIFARE ISO-DEP NFC-DEP ]
Powered: Yes
RF Mode: Initiator
lto: 150
rw: 15
miux: 2047
root@phycore-am335x-1:/usr/lib/neard#
-------------------------------------------------------------------------------------------
Compared with the sloa210.pdf, I have some questions:
(1) For every command, no command prompt back. It is normal?
(2) After calling the command "test-tag list" and the command "test-tag dump", I did not get any response.
Then I use the command "nfctool --list". I found that each time i swipe the rfid card, the string in the Tags item will change like "tag1", "tag2", "tag3", "tag4", "tag5", "tag6", "tag7",.... It seems that the nfc tag has been read out.
(3) where can i find some document about how to program the user space code for neard?
Thank you
Fei