Help with Writing Data to MIFARE DESFire Card (OSS-SO) Using Python-DESFire and ACS ACR1281 1S Reade

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help with Writing Data to MIFARE DESFire Card (OSS-SO) Using Python-DESFire and ACS ACR1281 1S Reade

1,176 Views
DiegoGuzman-37
Contributor I

Hello everyone,

I’m new to developing access control applications and I’m currently experimenting with MIFARE DESFire cards for an OSS-SO-based project.

I’d like to understand whether it’s absolutely necessary to know the PICC (UID) and AID in advance to write data on the card — or if the AID should be created manually within my own application. My goal is to write and manage data using Python, specifically with the Python-DESFire library.

Right now, I’m facing a permissions issue that prevents me from writing to the card. I’m using an ACS ACR1281 1S Dual Reader, which is supposed to support MIFARE DESFire, but I can’t seem to get past the write access restrictions.

So, I have a few questions:

Is it mandatory to know or define the AID and PICC beforehand to perform write operations under the OSS-SO standard?

Could this issue be related to the reader itself? Is the ACR1281 1S suitable for this kind of development, or would you recommend a different reader model for DESFire and Python integration?

Any guidance, examples, or reader recommendations would be greatly appreciated.
Thank you in advance for your help!

0 Kudos
Reply
3 Replies

1,141 Views
Fabian_R
NXP TechSupport
NXP TechSupport

Hello, thank you for your interest in our products.

In order to fully understand MIFARE DESFire products, I have to recommend please check the respective documentation and specifications.

All our cards work under ISO14443-4 specification and, in order to start personalizing each tag, is necessary to select them by UID. There is a similar requirement for Application ID.

Is possible to use Python for writing and managing the data but, we don't have such tools. Ours are only based on C or a C# library.

Still, to access to information is required to sign an NDA. For further information, please take a look at our FAQ.

Best Regards,
Fabian
0 Kudos
Reply

1,139 Views
DiegoGuzman-37
Contributor I

Ok, thank you so much Fabian!

Where can I sign that NDA, and where can I find that libraries for C# or C?

0 Kudos
Reply

1,115 Views
Fabian_R
NXP TechSupport
NXP TechSupport

Hello sir,

I shared the FAQ link where you can find the NDA-form to sign. You need to create a new ticket for the NDA request.

After having your NDA active, you just need to request the documentation as described in this Guide: nxp-secure-files-user-guide.pdf

Best Regards,
Fabian
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2180712%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHelp%20with%20Writing%20Data%20to%20MIFARE%20DESFire%20Card%20(OSS-SO)%20Using%20Python-DESFire%20and%20ACS%20ACR1281%201S%20Reade%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2180712%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20everyone%2C%3C%2FP%3E%3CP%3EI%E2%80%99m%20new%20to%20developing%20access%20control%20applications%20and%20I%E2%80%99m%20currently%20experimenting%20with%20MIFARE%20DESFire%20cards%20for%20an%20OSS-SO-based%20project.%3C%2FP%3E%3CP%3EI%E2%80%99d%20like%20to%20understand%20whether%20it%E2%80%99s%20absolutely%20necessary%20to%20know%20the%20%3CSTRONG%3EPICC%20(UID)%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EAID%3C%2FSTRONG%3E%20in%20advance%20to%20write%20data%20on%20the%20card%20%E2%80%94%20or%20if%20the%20AID%20should%20be%20created%20manually%20within%20my%20own%20application.%20My%20goal%20is%20to%20write%20and%20manage%20data%20using%20%3CSTRONG%3EPython%3C%2FSTRONG%3E%2C%20specifically%20with%20the%20%3CSTRONG%3EPython-DESFire%3C%2FSTRONG%3E%20library.%3C%2FP%3E%3CP%3ERight%20now%2C%20I%E2%80%99m%20facing%20a%20permissions%20issue%20that%20prevents%20me%20from%20writing%20to%20the%20card.%20I%E2%80%99m%20using%20an%20%3CSTRONG%3EACS%20ACR1281%201S%20Dual%20Reader%3C%2FSTRONG%3E%2C%20which%20is%20supposed%20to%20support%20MIFARE%20DESFire%2C%20but%20I%20can%E2%80%99t%20seem%20to%20get%20past%20the%20write%20access%20restrictions.%3C%2FP%3E%3CP%3ESo%2C%20I%20have%20a%20few%20questions%3A%3C%2FP%3E%3CP%3EIs%20it%20mandatory%20to%20know%20or%20define%20the%20AID%20and%20PICC%20beforehand%20to%20perform%20write%20operations%20under%20the%20OSS-SO%20standard%3F%3C%2FP%3E%3CP%3ECould%20this%20issue%20be%20related%20to%20the%20reader%20itself%3F%20Is%20the%20%3CSTRONG%3EACR1281%201S%3C%2FSTRONG%3E%20suitable%20for%20this%20kind%20of%20development%2C%20or%20would%20you%20recommend%20a%20different%20reader%20model%20for%20DESFire%20and%20Python%20integration%3F%3C%2FP%3E%3CP%3EAny%20guidance%2C%20examples%2C%20or%20reader%20recommendations%20would%20be%20greatly%20appreciated.%3CBR%20%2F%3EThank%20you%20in%20advance%20for%20your%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2182070%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Help%20with%20Writing%20Data%20to%20MIFARE%20DESFire%20Card%20(OSS-SO)%20Using%20Python-DESFire%20and%20ACS%20ACR1281%201S%20R%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2182070%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20sir%2C%3C%2FP%3E%0A%3CP%3EI%20shared%20the%20FAQ%20link%20where%20you%20can%20find%20the%20NDA-form%20to%20sign.%20You%20need%20to%20create%20a%20new%20ticket%20for%20the%20NDA%20request.%3C%2FP%3E%0A%3CP%3EAfter%20having%20your%20NDA%20active%2C%20you%20just%20need%20to%20request%20the%20documentation%20as%20described%20in%20this%20Guide%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fuser-guide%2Fnxp-secure-files-user-guide.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Enxp-secure-files-user-guide.pdf%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2181419%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Help%20with%20Writing%20Data%20to%20MIFARE%20DESFire%20Card%20(OSS-SO)%20Using%20Python-DESFire%20and%20ACS%20ACR1281%201S%20R%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2181419%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EOk%2C%20thank%20you%20so%20much%20Fabian!%3CBR%20%2F%3E%3CBR%20%2F%3EWhere%20can%20I%20sign%20that%20NDA%2C%20and%20where%20can%20I%20find%20that%20libraries%20for%20C%23%20or%20C%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2181412%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Help%20with%20Writing%20Data%20to%20MIFARE%20DESFire%20Card%20(OSS-SO)%20Using%20Python-DESFire%20and%20ACS%20ACR1281%201S%20R%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2181412%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EHello%2C%20thank%20you%20for%20your%20interest%20in%20our%20products.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EIn%20order%20to%20fully%20understand%20MIFARE%20DESFire%20products%2C%20I%20have%20to%20recommend%20please%20check%20the%20respective%20documentation%20and%20specifications.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EAll%20our%20cards%20work%20under%20ISO14443-4%20specification%20and%2C%20in%20order%20to%20start%20personalizing%20each%20tag%2C%20is%20necessary%20to%20select%20them%20by%20UID.%20There%20is%20a%20similar%20requirement%20for%20Application%20ID.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EIs%20possible%20to%20use%20Python%20for%20writing%20and%20managing%20the%20data%20but%2C%20we%20don't%20have%20such%20tools.%20Ours%20are%20only%20based%20on%20C%20or%20a%20C%23%20library.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3EStill%2C%20to%20access%20to%20information%20is%20required%20to%20sign%20an%20NDA.%20For%20further%20information%2C%20please%20take%20a%20look%20at%20our%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fsupport%2Fnon-disclosure-agreement-faqs%3ANDA-FAQS%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EFAQ%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E