timmerk / nfc-tools

Automatically exported from code.google.com/p/nfc-tools
0 stars 0 forks source link

Problem with write file command to desfire card EV1 #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I create a file and trying to write some data to this file. I could see that 
the data to card for write command (Length:38): 0x=3d 0f 00 00 00 1e 00 00 53 
6f 6d 65 20 64 61 74 61 20 74 6f 20 77 72 69 74 65 20 74 6f 20 74 68 65 20 63 
61 72 64 -- ("Some data to write to the card") is proper but the error is 
always 7e (Invalid command string length). I also get the same error message 
for read file command read_cmd(Length:8):  0x=bd 0f 00 00 00 00 00 00 

What is the expected output? What do you see instead?
response to be 0x00 but its always 0x7e

What version of the product are you using? On what operating system?
Windows

Please provide any additional information below.
Should we authenticate for write file command immediately after creating the 
file?

Original issue reported on code.google.com by keepinto...@gmail.com on 2 Sep 2011 at 11:30

GoogleCodeExporter commented 9 years ago
Err… wait… is this a libfreefare problem or is it completely unrelated to 
nfc-tools?

If the problem is with libfreefare, please attach a sample source code that 
triggers the problem, otherwise sorry, but here is not the place to get help to 
get your code fixed…

If you are "skay" from this post:
http://code.google.com/p/nfc-tools/issues/detail?id=78#makechanges
I remind you that the topic was about libfreefare, so I assumed you whre using 
it.

Thanks!

Original comment by romain.t...@gmail.com on 3 Sep 2011 at 9:06

GoogleCodeExporter commented 9 years ago

Original comment by romu...@libnfc.org on 19 Oct 2011 at 12:08