<?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のトピックRe: Using PN7120 Linux Software Stack linux_libnfc-nci for block level access Mifare Classic and UL tags</title>
    <link>https://community.nxp.com/t5/NFC/Using-PN7120-Linux-Software-Stack-linux-libnfc-nci-for-block/m-p/488018#M161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already managed to get demo application work with cards I have.&lt;/P&gt;&lt;P&gt;I now hope that this dokument helps also understand what actually happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Toivo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2016 05:21:06 GMT</pubDate>
    <dc:creator>toivokiisk</dc:creator>
    <dc:date>2016-04-11T05:21:06Z</dc:date>
    <item>
      <title>Using PN7120 Linux Software Stack linux_libnfc-nci for block level access Mifare Classic and UL tags</title>
      <link>https://community.nxp.com/t5/NFC/Using-PN7120-Linux-Software-Stack-linux-libnfc-nci-for-block/m-p/488016#M159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using OM5577/PN7120S on Raspberry Pi.&lt;/P&gt;&lt;P&gt;It is working great with Raspberry Pi and I can read ID and NDEF info from tag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how to authenticate, read and write sectors and blocks Mifare Classic and UL tags?&lt;/P&gt;&lt;P&gt;Hints that this is possible can be found in demo application function "WaitDeviceArrival"&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;//Cmd Mifare Auth Key A : 0x60U&lt;/P&gt;&lt;P&gt;MifareAuthCmd[12] = {0x60U, block, 0x02, 0x02, 0x02, 0x02, key[0] , key[1] , key[2] , key[3] , key[4] , key[5] };&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;//Cmd Mifare Read 16 : 0x30U&lt;/P&gt;&lt;P&gt;MifareReadCmd[2] = {0x30U,&amp;nbsp; block};&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;These commands are sent using function "nfcTag_transceive"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any documentation describing how to do tags block level access using libnfc-nci?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 09:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Using-PN7120-Linux-Software-Stack-linux-libnfc-nci-for-block/m-p/488016#M159</guid>
      <dc:creator>toivokiisk</dc:creator>
      <dc:date>2016-04-07T09:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using PN7120 Linux Software Stack linux_libnfc-nci for block level access Mifare Classic and UL tags</title>
      <link>https://community.nxp.com/t5/NFC/Using-PN7120-Linux-Software-Stack-linux-libnfc-nci-for-block/m-p/488017#M160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Toivo Kiisk:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All commands to MIFARE cards are sent through the PN7120 using &lt;STRONG&gt;NCI&lt;/STRONG&gt; data packets. That code you found indeed shows the authentication (command &lt;STRONG&gt;0x60&lt;/STRONG&gt;) and read (command &lt;STRONG&gt;0x30&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;PN7120&lt;/STRONG&gt; also includes a proprietary RF interface called &lt;STRONG&gt;TAG-CMD&lt;/STRONG&gt; which is not defined by NFC Forum NCI specification.&lt;/P&gt;&lt;P&gt;This interface simplifies the access to MIFARE Classic cards using also data packets but with a different payload scheme. Details in the PN7120 user manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/documents/application_note/UM10819.pdf" title="http://cache.nxp.com/documents/application_note/UM10819.pdf"&gt;http://cache.nxp.com/documents/application_note/UM10819.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The commands for MIFARE Classic and MIFARE Ultralight are described in the corresponding datasheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Apr 2016 02:08:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Using-PN7120-Linux-Software-Stack-linux-libnfc-nci-for-block/m-p/488017#M160</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-04-10T02:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using PN7120 Linux Software Stack linux_libnfc-nci for block level access Mifare Classic and UL tags</title>
      <link>https://community.nxp.com/t5/NFC/Using-PN7120-Linux-Software-Stack-linux-libnfc-nci-for-block/m-p/488018#M161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already managed to get demo application work with cards I have.&lt;/P&gt;&lt;P&gt;I now hope that this dokument helps also understand what actually happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Toivo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 05:21:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Using-PN7120-Linux-Software-Stack-linux-libnfc-nci-for-block/m-p/488018#M161</guid>
      <dc:creator>toivokiisk</dc:creator>
      <dc:date>2016-04-11T05:21:06Z</dc:date>
    </item>
  </channel>
</rss>

