#2509·firmware

RFID - NFC tag erase breaks tag (becomes read-only)

Author: JustCallMeQuincyCreated Jun 4, 2026Updated Sep 23, 2026
Labelsbug

Describe the bug: Using the Erase data function in the RFID menu on the little write-able NFC tag provided with the T-embed (and its variants) makes the tag read-only.

Steps To Reproduce:

  1. Navigate to the RFID menu
  2. Navigate to the Erase data function
  3. Scan the NFC tag
  4. "Tag erased successfully."
  5. Attempt to write data to the tag (e.g. using an Android phone with the TagWriter application)
  6. Write error
  • Device used: LilyGO T-Embed CC1101 Plus

Expected behavior: Tag should still be write-able, not read-only.

Actual behavior: The tag becomes read-only and loses NDEF structure.

Additional context / logs: I've attempted a few things to fix it, including formatting the tag using the TagWriter application and a few others, manually sending commands to override the bad sectors, and even using other firmwares but sadly I was unsuccessful thus-far.

Below are the logs I gathered from the TagWriter application after scanning the tag. The "Before" is from when I had not yet modified the tag, the "After" is from when it had become read-only, right after using the "Erase data" function.

Before:

Report Type: -- IC INFO ------------------------------

# IC Manufacturer:
Shanghai Fudan Microelectronics Co. Ltd.

# IC Type:
Unknown IC

# NFC Forum NDEF-compliant tag:
Type 2 Tag

-- NDEF ------------------------------

# NFC data set information:
NDEF message containing 1 record
Current message size: 19 bytes
Maximum message size: 142 bytes
NFC data set access: Read & Write
Can be made Read-Only

# Record #1: Text record:
Type Name Format: NFC Forum well-known type (1)
Short Record
type: "T"
encoding: UTF-8
lang: "en"
text: "Hello LilyGo"
Payload length: 15 bytes
Payload data:

[0] 02 65 6E 48 65 6C 6C 6F 20 4C 69 6C 79 47 6F    |␂enHello␠LilyGo |


# NDEF message:
[00] D1 01 0F 54 02 65 6E 48 65 6C 6C 6F 20 4C 69 6C |.␁␏T␂enHello␠Lil|

[10] 79 47 6F                                        |yGo             |


# NDEF Capability Container (CC):
Mapping version: 1.0
Maximum NDEF data size: 144 bytes (0x12)
NDEF access: Read & Write (0x00)
 E1 10 12 00                                     |.␐␒␀            |


-- EXTRA ------------------------------

# TagInfo Version:
Version :6.2.0

# Device Info:
Device Model :[REDACTED]
Android OS Version :15

-- FULL SCAN ------------------------------

# Technologies Supported:
ISO/IEC 14443-3 (Type A) compatible
NOT ISO/IEC 14443-2 (Type A) compatible

# Android Technology Information:
Tag description:
* TAG: Tech [android.nfc.tech.NfcA, android.nfc.tech.Ndef]
* Maximum transceive length: 253 bytes
* Default maximum transceive time-out: 618 ms
MIFARE Classic support present in Android

# Detailed Protocol Information:
ID: 1D:45:2A:FB:16:10:80
ATQA: 0x4400
SAK: 0x00

# Memory Content:
[00] * 1D:45:2A FA
[01] * FB:16:10:80
[02] . 7D C0 00 00
[03] . E1:10:12:00
[04] . 03 13 D1 01 |␃␓.␁|
[05] . 0F 54 02 65 |␏T␂e|
[06] . 6E 48 65 6C |nHel|
[07] . 6C 6F 20 4C |lo␠L|
[08] . 69 6C 79 47 |ilyG|
[09] . 6F FE 00 00 |o.␀␀|
[0A] . 00 00 00 00 |␀␀␀␀|
[0B] . 00 00 00 00 |␀␀␀␀|
[0C] . 00 00 00 00 |␀␀␀␀|
[0D] . 00 00 00 00 |␀␀␀␀|
[0E] . 00 00 00 00 |␀␀␀␀|
[0F] . 00 00 00 00 |␀␀␀␀|
[10]   00 00 00 00 |␀␀␀␀|
[11]   00 00 00 00 |␀␀␀␀|
[12]   00 00 00 00 |␀␀␀␀|
[13]   00 00 00 00 |␀␀␀␀|
[14]   00 00 00 00 |␀␀␀␀|
[15]   00 00 00 00 |␀␀␀␀|
[16]   00 00 00 00 |␀␀␀␀|
[17]   00 00 00 00 |␀␀␀␀|
[18]   00 00 00 00 |␀␀␀␀|
[19]   00 00 00 00 |␀␀␀␀|
[1A]   00 00 00 00 |␀␀␀␀|
[1B]   00 00 00 00 |␀␀␀␀|
[1C]   00 00 00 00 |␀␀␀␀|
[1D]   00 00 00 00 |␀␀␀␀|
[1E]   00 00 00 00 |␀␀␀␀|
[1F]   00 00 00 00 |␀␀␀␀|
[20]   00 00 00 00 |␀␀␀␀|
[21]   00 00 00 00 |␀␀␀␀|
[22]   00 00 00 00 |␀␀␀␀|
[23]   00 00 00 00 |␀␀␀␀|
[24]   00 00 00 00 |␀␀␀␀|
[25]   00 00 00 00 |␀␀␀␀|
[26]   00 00 00 00 |␀␀␀␀|
[27]   00 00 00 00 |␀␀␀␀|
[28]   00 00 00 BD |␀␀␀.|
[29]   00 00 00 FF |␀␀␀.|
[2A]   00 00 00 00 |␀␀␀␀|
[2B]   00 00 00 00 |␀␀␀␀|


  *:locked & blocked, x:locked,
  +:blocked, .:un(b)locked

--------------------------------------

After:

Report Type: -- IC INFO ------------------------------

# IC Manufacturer:
Shanghai Fudan Microelectronics Co. Ltd.

# IC Type:
Unknown IC

-- NDEF ------------------------------

# No NDEF Message present:

-- EXTRA ------------------------------

# TagInfo Version:
Version :6.2.0

# Device Info:
Device Model :[REDACTED]
Android OS Version :15

-- FULL SCAN ------------------------------

# Technologies Supported:
ISO/IEC 14443-3 (Type A) compatible
NOT ISO/IEC 14443-2 (Type A) compatible

# Android Technology Information:
Tag description:
* TAG: Tech [android.nfc.tech.NfcA, android.nfc.tech.Ndef]
* Maximum transceive length: 253 bytes
* Default maximum transceive time-out: 618 ms
MIFARE Classic support present in Android

# Detailed Protocol Information:
ID: 1D:45:2A:FB:16:10:80
ATQA: 0x4400
SAK: 0x00

# Memory Content:
[00] 1D 45 2A FA |␝E*.|
[01] FB 16 10 80 |.␖␐.|
[02] 7D C0 00 00 |}.␀␀|
[03] E1 10 12 00 |.␐␒␀|
[04] 03 00 FE 00 |␃␀.␀|
[05] 00 00 00 00 |␀␀␀␀|
[06] 00 00 00 00 |␀␀␀␀|
[07] 00 00 00 00 |␀␀␀␀|
[08] 00 00 00 00 |␀␀␀␀|
[09] 00 00 00 00 |␀␀␀␀|
[0A] 00 00 00 00 |␀␀␀␀|
[0B] 00 00 00 00 |␀␀␀␀|
[0C] 00 00 00 00 |␀␀␀␀|
[0D] 00 00 00 00 |␀␀␀␀|
[0E] 00 00 00 00 |␀␀␀␀|
[0F] 00 00 00 00 |␀␀␀␀|
[10] 00 00 00 00 |␀␀␀␀|
[11] 00 00 00 00 |␀␀␀␀|
[12] 00 00 00 00 |␀␀␀␀|
[13] 00 00 00 00 |␀␀␀␀|
[14] 00 00 00 00 |␀␀␀␀|
[15] 00 00 00 00 |␀␀␀␀|
[16] 00 00 00 00 |␀␀␀␀|
[17] 00 00 00 00 |␀␀␀␀|
[18] 00 00 00 00 |␀␀␀␀|
[19] 00 00 00 00 |␀␀␀␀|
[1A] 00 00 00 00 |␀␀␀␀|
[1B] 00 00 00 00 |␀␀␀␀|
[1C] 00 00 00 00 |␀␀␀␀|
[1D] 00 00 00 00 |␀␀␀␀|
[1E] 00 00 00 00 |␀␀␀␀|
[1F] 00 00 00 00 |␀␀␀␀|
[20] 00 00 00 00 |␀␀␀␀|
[21] 00 00 00 00 |␀␀␀␀|
[22] 00 00 00 00 |␀␀␀␀|
[23] 00 00 00 00 |␀␀␀␀|
[24] 00 00 00 00 |␀␀␀␀|
[25] 00 00 00 00 |␀␀␀␀|
[26] 00 00 00 00 |␀␀␀␀|
[27] 00 00 00 00 |␀␀␀␀|
[28] 00 00 00 BD |␀␀␀.|
[29] 00 00 00 00 |␀␀␀␀|
[2A] 00 00 00 00 |␀␀␀␀|
[2B] 00 00 00 00 |␀␀␀␀|

--------------------------------------