Commit Graph

17 Commits

Author SHA1 Message Date
Christina Quast
394b894da1 change naming for default bus switch config 2015-02-27 15:31:09 +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
27c643d297 Sniffer functionality and sniffer bus board config 2015-02-24 19:09:08 +01:00
Christina Quast
b455427413 Add tag INPUT to input CLK and IO lines
CLK_SIM, I/O_SIM, CLK_PHONE, I/O_PHONE: Each of these lines connect
two pins of the microcontroller. Therefore they should NEVER be
configured as output line simultaneously. Otherwise the uC might get
destroyed.
2015-01-30 16:28:45 +01:00
Christina Quast
f6264fac95 Added inttypes.h include directive in board.h
For now the inttypes.h of the development computer is used.
Which is a bad state. The reason is

It should be fixed by creating a stdint.h in the Baselib, which
defines types like uint32_t, etc., or by entirely replacing the Baselibs
with the newlib.
2015-01-28 17:58:30 +01:00
Christina Quast
f7c28e0b0b phone: on reset by smartcardreader send ATR
Every time the reset line is pulled low, simtrace sends an ATR
packet over USART1.
The USART1 is slave in this configuration.
2015-01-23 20:57:52 +01:00
Christina Quast
ecd62c0289 Removed compiler dependent defines 2015-01-03 22:21:10 +01:00
Christina Quast
5f46d04c35 Defines for USB, SPI, simcard IO
Most defines where taken from this repository:
https://github.com/zwizwa/simtrace
2015-01-03 22:19:51 +01:00
Christina Quast
11e80aed9d iso7816: smartcard inserted detection partly works
Furthermore configuration of the iso7816 pins for communication
between processor and SIM card
2014-12-19 19:36:55 +01:00
Christina Quast
0f1b36f0ae Using existing atmel led routines
There is a config file called led.c in the atmel softpack source code
which provides routines for configuring, setting and clearing the LEDs.
2014-12-16 10:59:13 +01:00
Christina Quast
99f9f7b504 working printf 2014-12-13 13:30:31 +01:00
Christina Quast
dcb67a2843 move UART defines to board.h 2014-12-10 16:30:24 +01:00
Christina Quast
53b2105d38 Remove redundant includes 2014-12-09 15:34:35 +01:00
Christina Quast
d51b5f4843 Remove windows line endings 2014-12-02 13:21:17 +01:00
Christina Quast
1e83f8be92 define UART pin on board 2014-12-02 13:19:34 +01:00
Christina Quast
a42c11f876 simtrace board specific defines 2014-11-28 16:38:26 +01:00
Christina Quast
b0a0570e11 initial 2014-11-28 10:27:32 +01:00