cancel
Showing results for 
Search instead for 
Did you mean: 

Error using NFC TAG App to read/write st25dv

ZHANGHN
Associate II

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.

0 REPLIES 0