SLE4442 Smart Card adapter (KF-011C)

Found the correct branch an built it - test_file_updates_2

Had to tweak pySim.
It was using RTS the wrong way.
So added this in pySm-shell.py at 1006
sl = init_reader(opts, proactive_handler = Proact(), rst=‘+rts’) # -rts +rts -dtr +dtr

Also stopped reading atr after part 2
lawrence@dell7520:~/git/pysim$ ./pySim-shell.py -d /dev/buspirate-text -b 9600
No reader/driver specified; falling back to default (Serial reader)
Using reader serial:/dev/buspirate-text
Waiting for card…
+rts 0
atr1.1 0x3b,0x9f,0x95,0x80
atr2.1 0x3b,0x9f,0x95,0x80,0x1f,0x47,0x80,0x31,0xe0,0x73,0xfe,0x21,0x13,0x57,0x4a,0x33,0x5,0x2c,0x32

I had to terminate early as getting garbage afterwards, even with pullups enabled. pySim detects end of atr when it times out waiting for another character…

Good news the concept of using pySim over buspirate appears valid.

RTS works.

1 Like