Skip to main content
Visitor II
May 10, 2023
Solved

How to read blocks after 64(256bytes)

  • May 10, 2023
  • 2 replies
  • 802 views

I am build an andriod app,device is using ST25DV04K NFC chip

i should read first 256 bytes using commnad 0x02,0x23,0x00,0x3f

but failed to read last 256 bytes

I try 2 commands:

  1. send 0x02,0x23,0x40,0x7f,respone:0x01,0x0f
  2. send 0x02,0x33,0x40,0x00,0x7f,0x00,respone:0x01,0x0f

how to read last 256 bytes?

Thank you

    This topic has been closed for replies.
    Best answer by Brian TIDAL

    Hi,

    the Read Multiple Blocks command (23h) takes 2 parameters:

    • first block number (here 40h if you want to read after the first 64 blocks)
    • number of blocks: 3Fh if you want to read 64 blocks

    Thus the correct command is 0x02,0x23,0x40,0x3F

    Rgds

    BT

    2 replies

    Technical Moderator
    May 10, 2023

    Hi,

    the Read Multiple Blocks command (23h) takes 2 parameters:

    • first block number (here 40h if you want to read after the first 64 blocks)
    • number of blocks: 3Fh if you want to read 64 blocks

    Thus the correct command is 0x02,0x23,0x40,0x3F

    Rgds

    BT

    cJK.1Author
    Visitor II
    May 11, 2023

    Thanks.It's work fine.

    BR.