Commit Graph

238 Commits

Author SHA1 Message Date
Christina Quast
7dab6abf47 cciddriver.c: Replace USBD_Write with CCID_Write 2015-04-09 16:53:32 +02:00
Christina Quast
362a4da94a simtrace.py: Sleep a sec after changing the config 2015-04-09 13:39:38 +02:00
Christina Quast
20a6814c46 cciddriver.c: Fixed slot status bugs
The atmel lib takes the wrong values to signalize the current
slot status to the PC.
2015-04-09 13:36:28 +02:00
Christina Quast
7f634868dd cciddriver.c: Off by one error when setting config 2015-04-09 13:34:53 +02:00
Christina Quast
c870b52233 iso7816: Hold RST line low for longer time period
Based on the sniff with a logic analyzer the time when the RST line
is holded low by simtrace is too short.
A better timeout value should be searched for later anyways.
2015-04-09 13:31:58 +02:00
Christina Quast
2831b8c1a0 cciddrv: Remove MIN macro 2015-04-09 09:02:50 +02:00
Christina Quast
55cd8734be Makefile: 'make log' for debug dumps over serial 2015-04-08 00:12:17 +02:00
Christina Quast
7b6f7b084a phone.c: Rename state NONE to WAIT_FOR_RST 2015-04-07 21:17:41 +02:00
Christina Quast
90393b3392 phone.c: Replace defines with enum 2015-04-07 21:15:12 +02:00
Christina Quast
4396fee97e Rename simtrace/ to simtrace_src 2015-04-07 21:12:53 +02:00
Christina Quast
86bf2c3f4d atmellib: Remove pngs in usb/ 2015-04-07 21:03:12 +02:00
Christina Quast
0cc6142506 Remove USBLib_Trace.h 2015-04-07 20:53:45 +02:00
Christina Quast
b6f77d390c Makefile: Compile silently and show code files used 2015-04-07 20:51:44 +02:00
Christina Quast
29c99b97af Makefile: Enabled iprintf, removed comment 2015-04-07 20:13:44 +02:00
Christina Quast
85951cef7f Deleted unused examples folder 2015-04-07 20:06:51 +02:00
Christina Quast
b0bbb1b52e Removed sym links, replaced them with actual folders 2015-04-07 20:04:19 +02:00
Christina Quast
fbcd8a1bfd simtrace: Rename main 2015-04-07 19:43:18 +02:00
Christina Quast
2279b75c26 gitignore: stop ignoring main.c 2015-04-07 19:38:44 +02:00
Christina Quast
d0339af87b Removed unused code and header files from atmel lib
Also, remove includes of unused header files in chip.h
2015-04-07 19:30:47 +02:00
Christina Quast
d3f1638f1b Deleted folder minimal 2015-04-07 18:24:36 +02:00
Christina Quast
5a67c0fef3 Renamed main folder to firmware 2015-04-07 18:24:06 +02:00
Christina Quast
f5cd7efede Remove mains/ and sub-files 2015-04-07 18:21:14 +02:00
Christina Quast
58c1ae31ee Makefile: local openocd config folder 2015-04-07 18:19:13 +02:00
Christina Quast
767fdeb0ca iso7816.c:Solve compiler sign compare warn with pragma 2015-04-07 13:50:23 +02:00
Christina Quast
73c2b6498b iso7816_4.c: GetChar returns status 2015-04-07 13:49:26 +02:00
Christina Quast
b2d5aeb850 ccid.c: Remove test code 2015-04-07 12:51:11 +02:00
Christina Quast
fe25784411 simtrace_iso7816.c: removed unused fct get_buf_start 2015-04-06 23:30:47 +02:00
Christina Quast
b06fc38939 usb.c: fix compiler warning USBConfigurationDescriptor 2015-04-06 23:30:21 +02:00
Christina Quast
46f5ccabb1 cciddriver.c: comment out unused USBDCallbacks_RequestReceived 2015-04-06 23:29:42 +02:00
Christina Quast
4b1e98d058 cciddriver.c: Directly access configurationDescriptorsArr 2015-04-06 23:28:41 +02:00
Christina Quast
3debfd6595 Bugfix: ccid.c: Remove dead code 2015-04-06 23:26:38 +02:00
Christina Quast
ca005698dd Bugfix: Compiler warning RST pin type 2015-04-06 23:26:14 +02:00
Christina Quast
c063cfe887 phone.c: Removed redundant definition of PR 2015-04-06 21:34:43 +02:00
Christina Quast
2f27c7c3d2 phone.c: Fixed incompatible pointer type comparison 2015-04-06 20:46:40 +02:00
Christina Quast
e76a3ee499 phone.c: Removed dead code (rst_cnt) 2015-04-06 20:43:11 +02:00
Christina Quast
a4d1d1619b phone.c: Remove double define of waittime 2015-04-06 20:41:50 +02:00
Christina Quast
443e55017d phone.c: remove dot printout 2015-04-06 20:38:51 +02:00
Christina Quast
fab4ce958f Bug fix: board.h: corrected definition of phone clk 2015-04-06 20:22:59 +02:00
Christina Quast
076396fdd3 Makefile: disable format warnings 2015-04-06 19:57:53 +02:00
Christina Quast
c1cc1b7b3e Remove any Baselibc remains from Makefile 2015-04-06 19:52:42 +02:00
Christina Quast
5958587fd1 Impl of _write for usage by newlib printf 2015-04-06 19:47:22 +02:00
Christina Quast
1e15cb6616 Uart_console: remove custom printf 2015-04-06 19:26:50 +02:00
Christina Quast
ca39e16797 tc_etu.c: newline in printout inserted 2015-04-06 19:19:16 +02:00
Christina Quast
82ba0ac6d8 Phone.c: remove unused ep finder function 2015-04-06 19:08:37 +02:00
Christina Quast
6f664a3cc2 mitm.py: read atr on startup, do not reset card to retrieve atr 2015-04-06 19:08:04 +02:00
Christina Quast
7741f7159c ccid_raw.py: Reset smartcard method 2015-04-06 19:06:05 +02:00
Christina Quast
bdaa95484c Bug fix: Fix endless loop when ATR is not received
Without this fix, if the host software does not send an ATR, simtrace
waits for this answer in an endless loop of unsuccessfull USB
endpoint write attempts.
2015-04-06 00:52:08 +02:00
Christina Quast
5163624c24 ccid_raw.py: ATR function 2015-04-06 00:44:50 +02:00
Christina Quast
14fbf9c8ad phone.c: more debug info in send_ATR 2015-04-06 00:36:12 +02:00
Christina Quast
88c7fa1bad mitm.py: using new ccid_raw.py functions 2015-04-06 00:35:03 +02:00