I2C Smart Card memory


Results 1 to 11 of 11

Threaded View

  1. #2
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: I2C Smart Card memory

    Try to scan all addresses.
    Something like this
    Code:
    FOR i = 0 TO 255
        Adr VAR BYTE/WORD depending on memory size expected
        ADR=10
        I2CWRITE datapin,clock,i,Adr,[123]
        PAUSE 10
        TestByte=0
        I2CREAD datapin,clock,i,Adr,[TestByte]
        IF TestByte=123 THEN
            Write 0,i
            END
        ENDIF
    NEXT i
    And after few seconds read eeprom of PIC, Or you can use serout to show address on PC, etc...
    I guess it should be $A0.
    Can you post picture of smart card, so someone can recognize it and find internal schematic?
    Last edited by pedja089; - 25th December 2015 at 11:57.

Similar Threads

  1. Clock for smart card
    By aherrera in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 24th August 2011, 16:34
  2. Replies: 12
    Last Post: - 4th March 2010, 21:20
  3. Smart card reader with PIC16F84A
    By bangunprayogi in forum Serial
    Replies: 0
    Last Post: - 12th August 2005, 10:36
  4. Smart Card Envelope
    By Art in forum Schematics
    Replies: 0
    Last Post: - 8th August 2003, 19:15
  5. Logging to a memory card
    By Tim in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th July 2003, 11:47

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts