Firstly, I am new to NFC, and the wiki and forum have been a great help. Thank you to all who contribute.

I am reading a mifare1k. I am getting same result on the emulated card in the Nokia NFC Manager, and a physical card. I have tested this on a 6212 device and emulator.

I read the first sector, then I print out it to the screen for debugging, I notice the first 6 octets of the last block are read as 0 and not ff. Is there a common mistake/issue I am not familiar with?

Thanks

Card UID : 92d1ac65

Code:
byte[] bKeyA = {(byte)0xff,(byte)0xff,(byte)0xff,(byte)0xff,(byte)0xff,(byte)0xff};
MFKey.KeyA KeyA = new MFKey.KeyA(bKeyA);
try{
	String tagurl ="nfc:rf;type=mf1k;uid="+tp[0].getUid();
	MFStandardConnection mfconn = (MFStandardConnection) Connector.open(tagurl);
	MFSector sector = mfconn.getSector(0);
	byte[] buf = new byte[sector.size()];
	sector.read(KeyA, buf, 0, 0, sector.size());
	for(int i =0;i<buf.length;i++){
		if(i%16==0&&i!=0)
			System.out.println("");
		System.out.print(Integer.toHexString(buf[i] & 0xFF));
	}
	mfconn.close();
} catch (Exception e){System.out.println(e);}

/**
OUTPUT:
92d1ac658a8840468e36116130154
0000000000000000
0000000000000000
000000ff78069ffffffffffff
*/