PN7642: Write operations fail on new project (SDK 2.15.0_NDA) previously worked - SDK 2.12.0_NDA

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

PN7642: Write operations fail on new project (SDK 2.15.0_NDA) previously worked - SDK 2.12.0_NDA

730 Views
alexankk
Contributor I

Hello,

I'm developing a new project based on the PN7642 platform using the NXP Reader Library and HAL components from SDK 2.15.0_NDA.

In an earlier internal project built on SDK 2.12.0_NDA, all operations — including card write/personalization flows — worked correctly.
Now, in the new project (migrated to the newer SDK, not just updated), read operations work, but write operations no longer succeed. The commands appear to execute without explicit error, yet the card content is not updated and further communication often requires a restart to recover.

To remain within NDA limits, I can’t include specific implementation details here, but could you please advise:

Were there functional or behavioral changes in the PN7642 Reader Library (especially AL/PAL layers) between SDK 2.12.0_NDA and SDK 2.15.0_NDA that may affect write or commit operations?

Did the DESFire EVx / secure-messaging handling change (for example, in session teardown or post-transaction authentication)?

Is there a migration note or compatibility checklist for porting PN7642 projects from SDK 2.12.0_NDA to 2.15.0_NDA?

Any pointers to documentation, release notes, or known issues would be very helpful.

Thank you for your support.

0 Kudos
Reply
8 Replies

704 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @alexankk

Hope you are doing well.

Please consider that an SDK is bound to a certain firmware version. If you are using the OM27642: Development Kit (which embeds PN7642 C100 variant), this board comes by default with firmware v01.00; otherwise, C101 variant comes with firmware version v02.00.

If FW version of PN7642 does not match the FW used by the SDK, some issues and unexpected behaviors can occur. Please make sure you are using the latest firmware version available; you can run the check_nxpfw_update demo from PN7642 SDK, and if PN7642 and SDK firmware versions do not match, this demo will help you updating the FW.

Regards,
Eduardo.

0 Kudos
Reply

690 Views
alexankk
Contributor I

Hello @EduardoZamora 

 

Thank you for your response.
Of cause I'm using FW 2 even I updated to the latest 2.6.
Here is the fist line of program output:

[PN76] FW v2.6 (HW 0x53 ROM 0x03) Cut=C101 (0x01)

0 Kudos
Reply

639 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

PN7642 SDK (NDA variant) includes a demo supporting MIFARE DESFire devices. By any chance, have you tried this demo with no modifications to test the basic Read and Write operations?

Since information about MIFARE DESFire is not public, if further support is required, I will recommend you submitting a support ticket.

Regards,
Eduardo.

0 Kudos
Reply

635 Views
alexankk
Contributor I

Hi

 

Actually my project based on an example and supports reading cards from Apple/Google Wallet and physical cards.

Everything related to the reading is working fine.

The writing logic I carried over from the old project mostly works except create application flow and changing key. If I remain default key after formatting card it creates a new application and I can read the card.

But there are couple of things (including changing key) do not work.

0 Kudos
Reply

585 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

As I understand, you are using the Apple ECP SDK for PN7642, is this correct? If so, since this is not the proper support path for this software, please redirect your inquiries to your NXP FAE/Sales or the person that provided you with this software for further support.

Regards,
Eduardo.

0 Kudos
Reply

580 Views
alexankk
Contributor I

Hi

As a part of the project - yes I'm using all 3 mentioned above. 

But now the question is about physical MifareDESFire cards writing, and correct flow for this purpose in the latest SDK.

0 Kudos
Reply

523 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

Hi,

I just sent you a private message.

Regards,
Eduardo.

0 Kudos
Reply

512 Views
alexankk
Contributor I

Thank you, @EduardoZamora 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2199107%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EPN7642%3A%20Write%20operations%20fail%20on%20new%20project%20(SDK%202.15.0_NDA)%20previously%20worked%20-%20SDK%202.12.0_NDA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2199107%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI'm%20developing%20a%20new%20project%20based%20on%20the%20PN7642%20platform%20using%20the%20NXP%20Reader%20Library%20and%20HAL%20components%20from%20SDK%202.15.0_NDA.%3C%2FP%3E%3CP%3EIn%20an%20earlier%20internal%20project%20built%20on%20SDK%202.12.0_NDA%2C%20all%20operations%20%E2%80%94%20including%20card%20write%2Fpersonalization%20flows%20%E2%80%94%20worked%20correctly.%3CBR%20%2F%3ENow%2C%20in%20the%20new%20project%20(migrated%20to%20the%20newer%20SDK%2C%20not%20just%20updated)%2C%20read%20operations%20work%2C%20but%20write%20operations%20no%20longer%20succeed.%20The%20commands%20appear%20to%20execute%20without%20explicit%20error%2C%20yet%20the%20card%20content%20is%20not%20updated%20and%20further%20communication%20often%20requires%20a%20restart%20to%20recover.%3C%2FP%3E%3CP%3ETo%20remain%20within%20NDA%20limits%2C%20I%20can%E2%80%99t%20include%20specific%20implementation%20details%20here%2C%20but%20could%20you%20please%20advise%3A%3C%2FP%3E%3CP%3EWere%20there%20functional%20or%20behavioral%20changes%20in%20the%20PN7642%20Reader%20Library%20(especially%20AL%2FPAL%20layers)%20between%20SDK%202.12.0_NDA%20and%20SDK%202.15.0_NDA%20that%20may%20affect%20write%20or%20commit%20operations%3F%3C%2FP%3E%3CP%3EDid%20the%20DESFire%20EVx%20%2F%20secure-messaging%20handling%20change%20(for%20example%2C%20in%20session%20teardown%20or%20post-transaction%20authentication)%3F%3C%2FP%3E%3CP%3EIs%20there%20a%20migration%20note%20or%20compatibility%20checklist%20for%20porting%20PN7642%20projects%20from%20SDK%202.12.0_NDA%20to%202.15.0_NDA%3F%3C%2FP%3E%3CP%3EAny%20pointers%20to%20documentation%2C%20release%20notes%2C%20or%20known%20issues%20would%20be%20very%20helpful.%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20support.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2202194%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PN7642%3A%20Write%20operations%20fail%20on%20new%20project%20(SDK%202.15.0_NDA)%20previously%20worked%20-%20SDK%202.12.0_NDA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202194%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F200888%22%20target%3D%22_blank%22%3E%40EduardoZamora%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2202034%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PN7642%3A%20Write%20operations%20fail%20on%20new%20project%20(SDK%202.15.0_NDA)%20previously%20worked%20-%20SDK%202.12.0_NDA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202034%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EI%20just%20sent%20you%20a%20private%20message.%3C%2FP%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3EEduardo.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2201023%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PN7642%3A%20Write%20operations%20fail%20on%20new%20project%20(SDK%202.15.0_NDA)%20previously%20worked%20-%20SDK%202.12.0_NDA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2201023%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EAs%20a%20part%20of%20the%20project%20-%20yes%20I'm%20using%20all%203%20mentioned%20above.%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20now%20the%20question%20is%20about%20physical%20MifareDESFire%20cards%20writing%2C%20and%20correct%20flow%20for%20this%20purpose%20in%20the%20latest%20SDK.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2200977%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PN7642%3A%20Write%20operations%20fail%20on%20new%20project%20(SDK%202.15.0_NDA)%20previously%20worked%20-%20SDK%202.12.0_NDA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200977%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EAs%20I%20understand%2C%20you%20are%20using%20the%20Apple%20ECP%20SDK%20for%20PN7642%2C%20is%20this%20correct%3F%20If%20so%2C%20since%20this%20is%20not%20the%20proper%20support%20path%20for%20this%20software%2C%20please%20redirect%20your%20inquiries%20to%20your%20NXP%20FAE%2FSales%20or%20the%20person%20that%20provided%20you%20with%20this%20software%20for%20further%20support.%3C%2FP%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3EEduardo.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2200376%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PN7642%3A%20Write%20operations%20fail%20on%20new%20project%20(SDK%202.15.0_NDA)%20previously%20worked%20-%20SDK%202.12.0_NDA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200376%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EActually%20my%20project%20based%20on%20an%20example%20and%20supports%20reading%20cards%20from%20Apple%2FGoogle%20Wallet%20and%20physical%20cards.%3C%2FP%3E%3CP%3EEverything%20related%20to%20the%20reading%20is%20working%20fine.%3C%2FP%3E%3CP%3EThe%20writing%20logic%20I%20carried%20over%20from%20the%20old%20project%20mostly%20works%20except%20create%20application%20flow%20and%20changing%20key.%20If%20I%20remain%20default%20key%20after%20formatting%20card%20it%20creates%20a%20new%20application%20and%20I%20can%20read%20the%20card.%3C%2FP%3E%3CP%3EBut%20there%20are%20couple%20of%20things%20(including%20changing%20key)%20do%20not%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2200363%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PN7642%3A%20Write%20operations%20fail%20on%20new%20project%20(SDK%202.15.0_NDA)%20previously%20worked%20-%20SDK%202.12.0_NDA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200363%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EPN7642%20SDK%20(NDA%20variant)%20includes%20a%20demo%20supporting%20MIFARE%20DESFire%20devices.%20By%20any%20chance%2C%20have%20you%20tried%20this%20demo%20with%20no%20modifications%20to%20test%20the%20basic%20Read%20and%20Write%20operations%3F%3C%2FP%3E%0A%3CP%3ESince%20information%20about%20MIFARE%20DESFire%20is%20not%20public%2C%20if%20further%20support%20is%20required%2C%20I%20will%20recommend%20you%20submitting%20a%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fsupport%3ASUPPORTHOME%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Esupport%20ticket%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3EEduardo.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2199482%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PN7642%3A%20Write%20operations%20fail%20on%20new%20project%20(SDK%202.15.0_NDA)%20previously%20worked%20-%20SDK%202.12.0_NDA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2199482%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F200888%22%20target%3D%22_blank%22%3E%40EduardoZamora%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThank%20you%20for%20your%20response.%3CBR%20%2F%3EOf%20cause%20I'm%20using%20FW%202%20even%20I%20updated%20to%20the%20latest%202.6.%3CBR%20%2F%3EHere%20is%20the%20fist%20line%20of%20program%20output%3A%3C%2FP%3E%3CP%3E%5BPN76%5D%20FW%20v2.6%20(HW%200x53%20ROM%200x03)%20Cut%3DC101%20(0x01)%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2199263%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PN7642%3A%20Write%20operations%20fail%20on%20new%20project%20(SDK%202.15.0_NDA)%20previously%20worked%20-%20SDK%202.12.0_NDA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2199263%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246813%22%20target%3D%22_blank%22%3E%40alexankk%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EHope%20you%20are%20doing%20well.%3C%2FP%3E%0A%3CP%3EPlease%20consider%20that%20an%20SDK%20is%20bound%20to%20a%20certain%20firmware%20version.%20If%20you%20are%20using%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fdevelopment-boards-and-designs%2FOM27642%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EOM27642%3A%20Development%20Kit%3C%2FA%3E%20(which%20embeds%20PN7642%20C100%20variant)%2C%20this%20board%20comes%20by%20default%20with%20firmware%20v01.00%3B%20otherwise%2C%20C101%20variant%20comes%20with%20firmware%20version%20v02.00.%3C%2FP%3E%0A%3CP%3EIf%20FW%20version%20of%20PN7642%20does%20not%20match%20the%20FW%20used%20by%20the%20SDK%2C%20some%20issues%20and%20unexpected%20behaviors%20can%20occur.%20Please%20make%20sure%20you%20are%20using%20the%20latest%20firmware%20version%20available%3B%20you%20can%20run%20the%20check_nxpfw_update%20demo%20from%20PN7642%20SDK%2C%20and%20if%20PN7642%20and%20SDK%20firmware%20versions%20do%20not%20match%2C%20this%20demo%20will%20help%20you%20updating%20the%20FW.%3C%2FP%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3EEduardo.%3C%2FP%3E%3C%2FLINGO-BODY%3E