Topic: Problems with nfc-emulate-forum-tag2 using PN533/Nexus S

I’m trying to execute nfc-emulate-forum-tag2.exe with following working environment:

Device: PN533 v2.7 / Nexus S (Android 2.3.3)
OS: Windows 7 32bit
Code revision: 1134
Build environment: TDM-GCC-4.5.2, libusb-win32 1.2.5.0, CMake 2.8.5


[Problem 1]
The program usually receives a HALT command after the first 4 blocks were sent.

Connected to NFC device: NXP / PN533 - PN533 v2.7 (0x07)
Emulating NDEF tag now, please touch it with a second NFC device
    In: 30  02
    Out: 00  00  ff  ff  e1  10  06  0f  03  21  d1  02  1c  53  70  91
    In: 50  00
HALT sent
ERROR C:\Src\libnfc\examples\nfc-emulate-forum-tag2.c:143
    Software caused connection abort (103)
nfc-emulate-forum-tag2.exe: Success

Such situation remains even the memory area is modified by the example given on Page 31 of NFCForum-TS-Type-2-Tag_1.0.

Connected to NFC device: NXP / PN533 - PN533 v2.7 (0x07)
Emulating NDEF tag now, please touch it with a second NFC device
    In: 30  02
    Out: 00  00  00  00  e1  10  06  00  03  00  fe  00  00  00  00  00
    In: 50  00
HALT sent
ERROR C:\Src\libnfc\examples\nfc-emulate-forum-tag2.c:143
    Software caused connection abort (103)
nfc-emulate-forum-tag2.exe: Success

By the way, the program sometimes can receive another unknown error as following:

Connected to NFC device: NXP / PN533 - PN533 v2.7 (0x07)
Emulating NDEF tag now, please touch it with a second NFC device
    In: 30  02
    Out: 00  00  ff  ff  e1  10  06  0f  03  21  d1  02  1c  53  70  91
    In: 93  70  08  00  b0  0b  b3
Unknown command: 0x93
ERROR C:\Src\libnfc\examples\nfc-emulate-forum-tag2.c:143
    Unknown error (134)
nfc-emulate-forum-tag2.exe: Success

Did I miss anything or do anything wrong?


[Problem 2]
I tried to directly put the Nexus S on PN533, and executed the nfc-emulate-forum-tag2.exe again and agan. Sometimes the program hangs as following:

Connected to NFC device: NXP / PN533 - PN533 v2.7 (0x07)
Emulating NDEF tag now, please touch it with a second NFC device

And at this moment, the NFC TagInfo 1.04 running on Nexus S can collect a JIS-X 6319-4/FeliCa tag like https://picasaweb.google.com/lh/photo/T … directlink.

Shouldn’t the chip emulate a ISO/IEC 14443-3 tag?


[Problem 3]
If the initialization of .nbr is assigned to NBR_424 or NBR_106 instead of NBF_UNDEFINED, the program will always hang like what is shown in Problem 2. The NFC Tag Info now collects a ISO 14443A tag like https://picasaweb.google.com/lh/photo/n … directlink.

Does someone have any idea about this?

Any help would be highly appreciated. smile