Hello!
I have a question to the Chipdrive Extern.
I need 3 commands to write something to a I2C-chip-cards with a
storage capacity of 2kBit.
1. step
0x7C;
0x64;
0x41;
0xA0;
0x00;
0x64;
0x40;
0xA1;
0x0F;
0x36; /* check-sum */
2. Step
0x7E;
0x10;
0xDA; /* check-sum */
3. Step
0x7E;
0x66;
0x6E;
(char)(addr & 0x000000FF); /* Lo.addr */
0xA0; /* (Hi.addr << 1) | 0xA0 ... always 0xA0 for 2kBit */
0x01; /* page mode */
0x0F;
strQS(0, buf, 7); /* calculate check-sum */
(addr... 0-256 addres start to write on chipcard)
writing
0x40 | ((char)(n)); /* encoding number of bytes to write
...
My question is in step 3. What is the page mode ?
What is the Hi.addr vor Chipcards over 2kBit
Thanks for respons
Richard
*/
--
______________________________________________________________
Richard Lang
Student of Telematik at University of Technology Graz, Austria
eMail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************