This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NFC Write Not Working SDK 17 after working consistently for weeks

I am currently trying to test the writable ndef message example on my nrf52 development board. I have gotten it to work so many times in the past weeks but now it seems when I use NFC tools to write a message to the nfc tags I get the error on nfc tools, "write error". I am really confused as to what the issue can be hand have tried almost everything suggested in the forums to no avail. I will provide a screen shot of the appearance of this error message. 

The code is literally the exact writable ndef message example which is why I left it out. Just wondering if any one has some possible solutions or approaches to try. Thank you.

  • Hi 

    Does it start working again if you reset the nRF52DK?

    What if you erase the chip and reprogram it, does that make a difference?

    Do you have another phone or NFC reader device at hand that you could try, to see if it is somehow related to the reader or just to the nRF52DK?

    Best regards
    Torbjørn

  • I tried pushing the reset button on development board and then writing to the nfc tag, no luck, I tried erasing the chip and running the code again, still no luck. 

    I tried with another phone, an iphone, and the error, nfc tag not supported came up. But that is so strange because I have had this working consistently for a long time, I am using the tag given with the nRF52 development board.

  • To give the situation more context, I am implementing aspects of the wrtiable ndef message example to some firmware I have written for a custom board using the same nrf52 chip as the development board. I was testing the firmware on the development board since I didnt have the actual one yet. I got it working for weeks and now that the actual board has arrived the nfc write feature is not working and neither is the nfc writing firmware on the development board. This is really strange and I dont know how firmware that was working for weeks on the development board does not work on the development board anymore. 

  • Hi

    That is really odd. 

    What happens if you try a simple read only example, like the record_text example in the SDK?

    Best regards
    Torbjørn

  • It does work with the record_text example. The nfc tag is coming up as a mifare tag which I dont think that nfc tools can write to. However, I dont believe the nfc tag was always coming up as a mifare tag. I debugged with someone else who has the board and in there case the tag came up as a different type which nfc tools can write to. The issue seems to be that somewhere in the debugging process when I tested the custom board both the tags I was using all the sudden came up as types that nfc tools can not write to when before the antenna was a type that nfc tools supported. 

Related