PN7150: Technical question in reading out data on a MFC card with the command "XCHG_DATA_REQ"

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PN7150: Technical question in reading out data on a MFC card with the command "XCHG_DATA_REQ"

1,275件の閲覧回数
Tadashi_1
Contributor II

Hello, I am working with PN7150 for a product with NFC function.

After card authentication, I cannot get 16 bytes data from a specific block of a Mifare Classic Card.
Detail below. 

I challenged for authentication with a specific Key-A with the command of "MFC_Authenticate_REQ", acknowledged with STATUS_OK.
Then sending "XCHG_DATA_REQ" as "00 00 03 10 30 xx". (xx, I set it a specific block address).

To this what I received was "XCHG_DATA_RSP", or "00 00 03 10 yy 00".
"yy" should be the data from the block, according to UM10936, PN7150 User Manual, Rev. 2.0 . 6 November 2020.
But what I am expecting is all the 16 byte data on the block address.
Could someone tell me how I can find a solution to this problem?

Regards

0 件の賞賛
返信
1 返信

1,174件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Tadashi:

 

There is a package (sw685610) which contains Linux examples applications demonstrating MIFARE cards handling through linux libnfc-nci library and dedicated MIFARE library.  API phhalMfc_Sw_Read can read block data.  This package is under NDA.

 

Regards

Daniel

0 件の賞賛
返信