2024-06-20 12:09 AM
Hello everyone, I am trying to use the NFC TAG App on my iPhone to read and write st25dv. I often meet an error command saying Read/Write memory command failed: com.st.st25.STException: Error CMD_FAILED. I believe I meet this command when two situations occur but I don't know how to solve them:
a. I tried to read the EEPROM as soon as the RF_Write command is finished, but it's not that perfect, and I2C seems to collide with the RF command. I researched some information and it seems that I can use polling. But when I use the NFCTAG_IsDeviceReady function(is it the right function to do polling?), it always sends me OK during the RF_Write process, so I can't tell the finish time.
b. When I try to use the WriteData function to write data with more than 256 Bytes into EEPROM and then read the data using the NFC TAG App, the error will occur. However, I have tried to reset the MAX_WRITE_BYTE to 2048, I don't know why the problem still occurs.
Thanks.
2024-07-16 12:16 AM
hi ZHANGHN,
Please, could you provide more information on how to reproduce issue ?
- iphone + iOS version used ?
- ST25DVxxx ?
- NFC Tap version
- FW embedded with ST25DV Discovery
- Sequence used for reproducing issues.
Thx. It will help for us for better understand issues.
Br,