MUSCLE Towitoko Chipdrive Extern
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 0x00FF); /* 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 ***
MUSCLE Towitoko Chipdrive Problems
Hi all! First: What I Do: I am working on a entrance control project. A ChipDrive is at the door. All People have there Chipcards, and are registered in a database. In the database are listed the rights to go in a special room or not. If everything is OK, the person can go in the room. My job is the comunication with the ChipDrive. It reads the data from the Card, looks in the Database, and open the door or not. I am working under linux (unix). My Problem: With the Chipdrive Extern 2.0 (Towitiko) everything is OK. When I use the ChipDrive Extern 4.3 I have some Problems. I get a wrong cardStatus sometimes. I flush the serialport, befor I send the command (0x03; 0x07) The response is most (0x00, 0x80, 0x40 or 0xC0), but sometimes it is 0x50, or something else ( not 0x20). I thought the problem is in my source, so I used towitoko.c, serial.c, ... from Carlos Prados. There I get sometimes false from Towitoko_GetRdrStatus(BYTE* result) back. But ONLY with the ChipDrive Extern 4.3. Can anybody help me?? richard *** Richard Lang Student of Telematik at University of Technology Graz, Austria eMail: [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 ***
MUSCLE Towitoko ChipDrive Extern
Hi! I have a Towitoko ChipDriveExtern 4.3 When I ask (0x03;0x07) for the CardStatus, I get sometimes 0x50 back. What does it mean? Richard *** 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 ***