2021-03-18 08:15 AM
Hello to all!
I have boards - NUCLEOL476RG and X-NUCLEO-NFC06A1 with project "STM32L476RG-Nucleo_PollingTagDetectNdef" running on it.
And got an error when trying to read any tag:
When debugging program i found that error, its here in the code, doesn't match
apduParam->statusWord == RFAL_T4T_ISO7816_STATUS_COMPLETE
The walue of statusWord is 27266 instead of 36864 (0x9000)
Appreciate for help and sorry for my english))
Solved! Go to Solution.
2021-03-26 12:35 AM
Hello, Ulysses!
At the moment, the problem is that in the Tag Emulation mode, writing to the "tag" works, that is, the content of the ndefFile changes to what I write, but when reading the content of the ndefFile changes to the default - "st.com/st25-demo".
I am trying to track the exchange of useful data between phone and board, I looked at the contents of the array txBuf[100] in demoCE() function, but I did not see the default content of the tag ("st.com/st25-demo") there during data exchange.
Best regards.
2021-03-26 01:13 AM
Hi VIVAN.1,
it makes me curious and I will try to find some time next week to debug into this. In case you have additional findings, please let me know!
BR, Ulysses
2021-03-26 01:23 AM
Hi,
ok, thanks!)
2021-03-29 07:11 AM
Hi VIVAN.1,
Using v1.1.0 of X-CUBE-NFC6 I moved the demoCeInit() call from demoCE() to demoIni() and then the content of NDEF file started to stay in memory.
BR, Ulysses
2021-03-29 07:43 AM
Hi Ulysses!
Its working, thanks!
Best regards