Reply To: DesFire EV2 BackupData file write and read

Forum MIFARE SDK DesFire EV2 BackupData file write and read Reply To: DesFire EV2 BackupData file write and read

Re: DesFire EV2 BackupData file write and read

3. April 2020 at 9:50
Hi Support,

Thanks for the reply.

I tried as you asked for. But i'm getting the same result.

Below is what i tried after setting MACed communication type during file creation.

byte[] data = {(byte) 0x01, (byte) 0x12, (byte) 0x11};
desFireEV2.writeData(0, 0, data, IDESFireEV1.CommunicationType.MACed);

Utilities.dumpBytes(desFireEV2.readData(0, 0, 6, IDESFireEV1.CommunicationType.MACed, backupFileSize));


I even tried with Enciphered and Plain but produced similar result (0x000000000000).

During the both write and read actions no exceptions are thrown but the data read are all zeroes.

Seems like nothing is being written to the file.
I've been stuck for a week over this.

Please help



+ 0  |  - 0