Christina Quast
1a224af098
Re-fixed ATR error not send on reset
2015-03-10 15:11:37 +01:00
Christina Quast
53d94264ee
gemalto: dump of select file and read further commands
2015-03-09 17:19:48 +01:00
Christina Quast
c9c62ce7c7
dump: bug of usb select file request
2015-03-09 17:18:53 +01:00
Christina Quast
31b5b4ed93
renamed ccid reader select file python script
...
The command can be called now using the following command:
./simtrace -S
2015-03-09 17:17:14 +01:00
Christina Quast
b58434eb2f
Atr[3] is protocol, not Atr[5], right?
...
Also: Added debug information for command not supported
2015-03-09 17:13:07 +01:00
Christina Quast
d89f4ee948
Ignore python bytecode files (pyc)
2015-03-09 16:44:11 +01:00
Christina Quast
d065a4b59d
moved config change code to simtrace.py
2015-03-06 19:12:55 +01:00
Christina Quast
71742c770c
CCID reader general: does not work yet
...
Protocol type 0x2 not supported
2015-03-06 19:11:45 +01:00
Christina Quast
f2582fc124
python simtrace suit: sniffer, ccid reader
2015-03-06 19:09:35 +01:00
Christina Quast
2dcaa10221
add kevins iccid, imsi, .. read commands
2015-03-06 18:14:43 +01:00
Christina Quast
60dce5d5fc
Ignore .E, pycache, atmel_softpack lib files
2015-03-05 15:49:17 +01:00
Christina Quast
297f1a4d55
moved gitignore to root dir
2015-03-05 15:46:47 +01:00
Christina Quast
0166c6d64e
Temporary fix: mitm mode use EP 4-6
2015-03-05 15:44:05 +01:00
Christina Quast
b5ebebea0f
main: configure red led, just in case
2015-03-05 15:43:01 +01:00
Christina Quast
541656cf60
Add CCID functions to func ptrs struct
2015-03-05 15:42:40 +01:00
Christina Quast
73e5658665
sniffer: removed debug write
2015-03-05 15:41:51 +01:00
Christina Quast
1bcac26786
removed atr buf in run func
2015-03-05 15:41:17 +01:00
Christina Quast
53a76082dc
ccid: Get card atr in init
2015-03-04 19:01:34 +01:00
Christina Quast
8043fdd4d3
bus configuration in phone
2015-03-04 18:45:30 +01:00
Christina Quast
800019f0dd
Fixed ccid define bug in board.h
2015-03-04 13:40:54 +01:00
Christina Quast
83628d41eb
Added pin defines simcard power
2015-03-03 23:08:44 +01:00
Christina Quast
f274a78e1a
Send poweroff in ccid.py
2015-03-03 22:20:22 +01:00
Christina Quast
db7b1abd17
CCID config, init, run
...
Switching to config 1 and 2 works, but to 3 and 4 usb_enum.py is
hanging for some reason. Switching the USB config from Sniffer to
CCID reader was not tested yet.
2015-03-03 12:34:54 +01:00
Christina Quast
4ba4d2230b
sniffer functionality fixed buffer
...
It is possible to use sniffer.py to sniff the phone-simcard-communication.
To be fixed: The buffer size read is fixed and the data is only send
over USB if the buffer max length is reached. which means we don not
get the last bytes of the transaction.
This should be changed in one of the next commits. Maybe the former
simtrace code can give some inspiration on this topic.
2015-03-02 16:14:09 +01:00
Christina Quast
cafde00218
conf initially sniff conf
2015-03-02 16:12:16 +01:00
Christina Quast
57e200539b
python code usb config change
2015-03-02 16:10:04 +01:00
Christina Quast
763e5309a3
sniff of phone startup bytes
2015-03-02 16:09:45 +01:00
Christina Quast
9836933a27
python sniffer host side
2015-03-02 16:08:40 +01:00
Christina Quast
394b894da1
change naming for default bus switch config
2015-02-27 15:31:09 +01:00
Christina Quast
da373fde1b
Add input interrupt endpoint to all configurations
2015-02-27 15:26:26 +01:00
Christina Quast
6032e796b9
string descr 0 is language identifier
2015-02-27 15:22:25 +01:00
Christina Quast
33864fa36c
Set default trace level to FATAL
...
Because to compile with a debug trace level you can simply type:
colormake TRACE_LEVEL=5
2015-02-27 13:41:34 +01:00
Christina Quast
fb524b9bb3
Function pointer struct in main for run,init
2015-02-27 13:39:45 +01:00
Christina Quast
1edf350c34
MITM code and run and init decl in header
2015-02-27 13:33:52 +01:00
Christina Quast
f5462b47bd
Change Makefile to compile simtrace firmware
2015-02-25 18:47:45 +01:00
Christina Quast
6f856337e2
Merge branch 'master' of ssh://git.admin.sysmocom.de/christina/simtrace
...
Conflicts:
sam3s_example/.gitignore
2015-02-25 18:46:48 +01:00
Christina Quast
d2b05f014c
comment changed
2015-02-25 18:44:24 +01:00
Christina Quast
0ae0314f6b
Add usb config changed callback func
2015-02-25 18:43:46 +01:00
Christina Quast
10b2e5accc
Consistent config num enum for main.c and usb.c
2015-02-25 18:40:15 +01:00
Christina Quast
54d0c1fca8
USB enum works again, No CCID conf
2015-02-25 16:04:25 +01:00
Christina Quast
1161b27e7d
main while loop: wait for USB
2015-02-25 14:15:57 +01:00
Christina Quast
968b974cbe
Moved usb descriptors and funcs into single file
2015-02-25 14:10:12 +01:00
Christina Quast
c0aa769a35
Redundant functions in phone and sniffer moved
...
File simtrace_iso7816.c is like a library for iso specific functions.
The next step will be to use the atmel softlib functions instead.
2015-02-25 14:02:01 +01:00
Christina Quast
c02571ebe2
basic structure for main while loop with all configs
2015-02-24 19:09:55 +01:00
Christina Quast
27c643d297
Sniffer functionality and sniffer bus board config
2015-02-24 19:09:08 +01:00
Christina Quast
a90eefa865
sniffer functions
2015-02-24 17:52:29 +01:00
Christina Quast
995e0d1319
git ignore memory librariers
2015-02-24 17:39:57 +01:00
Christina Quast
566d3f9e4a
Made ohone functions extern in header file
2015-02-24 17:39:03 +01:00
Christina Quast
01bbdc3d52
device descriptor phone added
2015-02-24 17:38:45 +01:00
Christina Quast
f554950742
device descriptor sniffer, MITM
2015-02-24 14:27:08 +01:00