<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>NFCのトピックNFC Reader Library NDA-for-CLRC663 can only read/write empty cards with the key 0x00</title>
    <link>https://community.nxp.com/t5/NFC/NFC-Reader-Library-NDA-for-CLRC663-can-only-read-write-empty/m-p/2324169#M14092</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;DIV class=""&gt;I am using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;OM26630FDK develop kit&lt;/STRONG&gt;&amp;nbsp;to learn how to use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NFC-Reader Library-v071300-NDA-for-CLRC663&lt;/STRONG&gt;,.The problem I am currently facing is that when using example 10 to read and write desfire cards, whether it is EV1, EV2, or EV3, they can only read and write blank &lt;STRONG&gt;empty cards&lt;/STRONG&gt; because the &lt;STRONG&gt;master key&lt;/STRONG&gt; is &lt;STRONG&gt;0x00&lt;/STRONG&gt;. When using cards with&lt;STRONG&gt; non-zero keys&lt;/STRONG&gt;, key &lt;STRONG&gt;authentication fails.&lt;/STRONG&gt; I have changed the key in the code to the correct key, but still cannot authenticate successfully. For example, &lt;STRONG&gt;I use a desfire EV1 card, which can successfully verify the 16-byte master key "key0" using the AES encryption method on the PC side of other card readers, and can also read and write normally. However, this card fails the AES authentication on the development kit, even though it uses the same AES key as the PC card reading tool.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Additionally, I also attempted to modify the values of several parameters in the function phalMfdfEVx_Authenticate.&lt;BR /&gt;phStatus_t phalMfdfEVx_Authenticate ( void * pDataParams,&lt;BR /&gt;uint16_t wOption,&lt;BR /&gt;uint16_t wKeyNo,&lt;BR /&gt;uint16_t wKeyVer,&lt;BR /&gt;uint8_t bKeyNoCard,&lt;BR /&gt;uint8_t * pDivInput,&lt;BR /&gt;uint8_t bDivLen&lt;BR /&gt;)&lt;/DIV&gt;&lt;DIV class=""&gt;I tried modifying the values of the two parameters wKeyNo and wKeyVer, which correspond to the macro definitions AES128_KEY_ADDRESS and AES128_KEY_VERSION, but neither AES verification succeeded after the modification.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;In the example code, if we want Example 10 to successfully authenticate with AES and perform normal read and write operations, besides modifying the array value of the correct master key, what other modifications are needed?&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 27 Feb 2026 07:14:05 GMT</pubDate>
    <dc:creator>albert_wang</dc:creator>
    <dc:date>2026-02-27T07:14:05Z</dc:date>
    <item>
      <title>NFC Reader Library NDA-for-CLRC663 can only read/write empty cards with the key 0x00</title>
      <link>https://community.nxp.com/t5/NFC/NFC-Reader-Library-NDA-for-CLRC663-can-only-read-write-empty/m-p/2324169#M14092</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;DIV class=""&gt;I am using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;OM26630FDK develop kit&lt;/STRONG&gt;&amp;nbsp;to learn how to use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NFC-Reader Library-v071300-NDA-for-CLRC663&lt;/STRONG&gt;,.The problem I am currently facing is that when using example 10 to read and write desfire cards, whether it is EV1, EV2, or EV3, they can only read and write blank &lt;STRONG&gt;empty cards&lt;/STRONG&gt; because the &lt;STRONG&gt;master key&lt;/STRONG&gt; is &lt;STRONG&gt;0x00&lt;/STRONG&gt;. When using cards with&lt;STRONG&gt; non-zero keys&lt;/STRONG&gt;, key &lt;STRONG&gt;authentication fails.&lt;/STRONG&gt; I have changed the key in the code to the correct key, but still cannot authenticate successfully. For example, &lt;STRONG&gt;I use a desfire EV1 card, which can successfully verify the 16-byte master key "key0" using the AES encryption method on the PC side of other card readers, and can also read and write normally. However, this card fails the AES authentication on the development kit, even though it uses the same AES key as the PC card reading tool.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Additionally, I also attempted to modify the values of several parameters in the function phalMfdfEVx_Authenticate.&lt;BR /&gt;phStatus_t phalMfdfEVx_Authenticate ( void * pDataParams,&lt;BR /&gt;uint16_t wOption,&lt;BR /&gt;uint16_t wKeyNo,&lt;BR /&gt;uint16_t wKeyVer,&lt;BR /&gt;uint8_t bKeyNoCard,&lt;BR /&gt;uint8_t * pDivInput,&lt;BR /&gt;uint8_t bDivLen&lt;BR /&gt;)&lt;/DIV&gt;&lt;DIV class=""&gt;I tried modifying the values of the two parameters wKeyNo and wKeyVer, which correspond to the macro definitions AES128_KEY_ADDRESS and AES128_KEY_VERSION, but neither AES verification succeeded after the modification.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;In the example code, if we want Example 10 to successfully authenticate with AES and perform normal read and write operations, besides modifying the array value of the correct master key, what other modifications are needed?&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Feb 2026 07:14:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NFC-Reader-Library-NDA-for-CLRC663-can-only-read-write-empty/m-p/2324169#M14092</guid>
      <dc:creator>albert_wang</dc:creator>
      <dc:date>2026-02-27T07:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: NFC Reader Library NDA-for-CLRC663 can only read/write empty cards with the key 0x00</title>
      <link>https://community.nxp.com/t5/NFC/NFC-Reader-Library-NDA-for-CLRC663-can-only-read-write-empty/m-p/2324408#M14093</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259478"&gt;@albert_wang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you changed the master key, when you're running EX10 to read/write EV1,you should know the key version/no./value of the new key!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2026 12:35:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NFC-Reader-Library-NDA-for-CLRC663-can-only-read-write-empty/m-p/2324408#M14093</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2026-02-27T12:35:46Z</dc:date>
    </item>
  </channel>
</rss>

