简体   繁体   中英

When I create standard data file in Desfire EV1 card, I get 0x0E error

  • I'm using Desfire EV1 8K card. I create 10 applications inside it and create multiple files in that applications successfully.
  • When I try to create first file of size 250 bytes in last application, it gives error 0x0E. But if I count total file sizes of previously created files, it's 6100 bytes.
  • It means I have still 2092 (=8192(8KB)-6100) bytes to use for file. Please guide where I'm wrong.
  • APDU command: CD 00 03 1111 FA0000
  • Response: 0x0E (OUT_OF_EEPROM_ERROR)

您是否在计算中考虑过创建应用程序会产生一些开销,例如文件结构,但主要是每个应用程序的14个键?

I got the answer. If I check the FreeMemory of the card, I get the 0 bytes. The misunderstanding is, I was only calculating file sizes, but if I calculate the key bytes per application, the card is full with no memory left inside.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM