SCM Microsystems @MAXX lite User Manual Page 59

  • Download
  • Add to my manuals
  • Print
  • Page
    / 87
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 58
SCM3712 REFERENCE MANUAL 55
8.5.1.8. Write-Erase 8 bytes (WRITE-E8)
Description
This command erases a memory block and then writes a value to it.
Format
CLA
INS
P1
P2
P3
Data
0xFF
0x5E
0x00
Block
Address
0x08
8 bytes of data to be
written
Where P2 codes the block address (value between 0x00 and 0xFF)
Response
Data
SW1 SW2
8 bytes of data that have been written 0x90 0x00
8.5.1.9. Write-No-Erase 8 bytes (WRITE-NE8)
Description
This command writes with no erase to a block of memory.
This command does not erase the value of the targetedblock before writing the new data. Using this
command, EEPROM bits can be set but not reset.
Format
CLA
INS
P1
P2
P3
Data
0xFF
0x60
0x00
Block
Address
0x08
8 bytes of data to be
written
Where P2 codes the block address (value between 0x00 and 0xFF).
Response
Data
SW1 SW2
8 bytes of data
0x90 0x00
Example
Sending the following command to an NFC Forum type 1 tag that has the value (0x01 0x02 0x03 0x04
0x000x000x00 0x00) in the first EEPROM block
CLA
INS
P1
P2
P3
Data
0xFF 0x60 0x00 0x00 0x08 0x00 0x01 0x03 0x04
0x05 0x06 0x07 0x08
Will give the answer
Data
SW1 SW2
0x01 0x03 0x03 0x04
0x05 0x06 0x07 0x08
0x90 0x00
Page view 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 86 87

Comments to this Manuals

No comments