Configuring NTAG 424 DNA with Encrypted-Part and CMAC-Part

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring NTAG 424 DNA with Encrypted-Part and CMAC-Part

637 Views
manuel_mertl
Contributor III

Problem:

How do i configure my NTAG 424 DNA using the TagXplorer and and my Macbook.

Goal:

I want to be able to configure my tags in a way like described in the section 4.4.4 (https://www.nxp.com/docs/en/application-note/AN12196.pdf )

https://ntag.nxp.com/424?e=EF963FF7828658A599F3041510671E88&c=94EED9EE65337086

So the goal is to have 2 parameters in my URL called "e" and "c" where "e" holds the encrypted version of the UID and the CTR and "c" would hold the cmac value.

Description:

Lets say i would like to use the following URL as base "https://ntag.nxp.com/424"

What configuration settings would i need to do in the following two screens? (using default keys is sufficent for my problem at that point)

pastedImage_5.png

and here:

pastedImage_6.png

might there also be other screens where i would have to configure things to be able to achieve my goal?

jonathaniglesias

Thank you :smileyhappy:

4 Replies

484 Views
Contributor
Contributor I

Dear jonathaniglesia, please give me a similar step by step instruction for generating a plain URI as in AN12196 4.4.1 that looks like this:

https://ntag.nxp.com/424?uid=04C767F2066180&ctr=000001&c=54A45B2C3A558765

I am completely lost with File settings  and Mirroring features that do not match

0 Kudos

531 Views
Jonathan_Iglesias
NXP TechSupport
NXP TechSupport

Hi Manuel Mertl,

Hope you are doing great, all of this steps are assuming that you have a new tag, for this please follow the next steps :

  1.  go to mirroring features
  2. NTAG 424 DNA
  3. select the protocol in this case is https://www.
  4. copy and paste this ntag.nxp.com/424?e=00000000000000000000000000000000&c=0000000000000000 in the URI data 
  5. then be sure that the offset values for e and c. as you can see the tool let you check it by putting the cursor in the part you want to know the offset value  in this case e offset is 1A0000 or 26d in decimal ( this tool use decimal values but for other cases please use hex) and for c the offset is 3D0000 = 61d.
  6. leave the offset for epastedImage_2.pngpastedImage_3.png
  7. then write the NDEFpastedImage_4.png
  8. then go an authenticate to card key number with default valuepastedImage_5.png
  9. go to get/change file settings
  10. please use the settings in the following images,  please try to follow the numbering because some things enable others, like the check box for SDM and mirroring enable the SDM access rights and then this enables the check box for uid and ctr.

pastedImage_6.pngpastedImage_7.png

pastedImage_8.png

I tested on my side this worked, let me know if you still have any issue or questions or if there is any error on your side.

Have a nice day !!

BR

Jonathan

531 Views
manuel_mertl
Contributor III

Hi, jonathaniglesias‌!

Thank you so much, works like a charm. I just had to adapt die values for the keys a little bit to get it working with my backend verification. So I ended up with the following configuration for the first test version:

pastedImage_1.png

531 Views
Jonathan_Iglesias
NXP TechSupport
NXP TechSupport

great :smileygrin:  glad that it worked.

let me know if  you have any questions in the future. 

Have a nice day !
BR

Jonathan

0 Kudos