Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-11-10 | Removed printfs from PIO Smartcard ISRchristina/master | Christina Quast | 1 | -5/+0 | |
2015-11-10 | Send on Slot updates over USB on CCID init | Christina Quast | 1 | -2/+2 | |
When SIM card gets inserted into the SIM card slot, pinSmartCard is connected to GND; otherwise a pullup connects the pin to VCC. | |||||
2015-11-05 | Remove check for PIO_ISR interrue | Christina Quast | 1 | -26/+15 | |
At first I thought I had to check the interrupt source when my interrupt handler was called. But then, the smart card insertion pin was never marked as the interrupt source in the PIO_ISR. It turns out, the ISR register is cleared on read, which is done by the atmel lib function PioInterruptHandler. | |||||
2015-06-24 | simtrace.h: Increased host to SIMtrace buf size | Christina Quast | 1 | -1/+1 | |
The host got stuck sometimes when large data frames had to be send from the host program to SIMtrace. The printouts would just stop if many large packets were received from the SIM card and needed to be transferred to the mobile phone. Increasing the buffer length removed the problem. | |||||
2015-06-24 | main: Increase timeout for USB configured state | Christina Quast | 1 | -1/+1 | |
When the timeout was too small, the main function would infinitely loop around, restarting the board and waiting for the USB interface to get configured. But since configuration seems to take more than one second, it rarely succeeded. Increasing the timeout makes the USB configuration finish in the first try. | |||||
2015-05-14 | usb.c: Corrected grammatical mistake | Christina Quast | 1 | -1/+1 | |
2015-05-08 | phone.c: removed comments | Christina Quast | 1 | -24/+1 | |
Removed comment describing the typical first few packets between the SIM card and phone I used for development and testing: SuperSIM, Motorola C123 | |||||
2015-05-08 | phone.c: Removed comment about wait time extension | Christina Quast | 1 | -20/+0 | |
Wait time extension commands are not implemented yet. They are a nice-to-have for the future, since they would enable the board to work with phones that expect a higher frequency. With a wait time extension request towards the phone, SIMtrace could signal the phone to wait for a longer time period while SIMtrace is still waiting for a response from the SIM card. | |||||
2015-05-08 | cciddriverdesc: Atmel bug fix of slot status register | Christina Quast | 1 | -1/+0 | |
Atmel library mixes up the value for two different messages. Explanation can be found here: http://permalink.gmane.org/gmane.comp.mobile.osmocom.simtrace/29 Actually, a better fix for this problem would be to go through the Atmel code and replace ICC_INSERTED_EVENT with ICC_BS_PRESENT_NOTACTIVATED where appropriate and in accordance with the Smart Card CCID standard (and libccid, for this matter). | |||||
2015-05-08 | firmware, host: Changed vendor and product id | Christina Quast | 2 | -5/+3 | |
The code used a vendor and product id taken from Atmel example code. Now it is changed to the vendor and product id, which was also previously used in the original SIMtrace code. | |||||
2015-05-08 | tc_etu.c: Removed, because was never used | Christina Quast | 1 | -114/+0 | |
Since the host side does the parsing of the packets, (not the firmware, as it was in the old simtrace version), we do not need to check for expired max waiting time. Instead, every byte received from the phone is filled into a ring buffer. As soon as the USB endpoint to the host is not busy anymore, it is sent to the host over the respective USB endpoint. | |||||
2015-05-08 | mitm.c: Removed unused commented out code | Christina Quast | 1 | -15/+0 | |
2015-05-08 | main.c: Removed TC_Start/_Stop (was commented out) | Christina Quast | 1 | -9/+0 | |
Removed FIXME comment Removed TC_Start, TC_Stop function call, which was commented out anyways. | |||||
2015-05-08 | sniffer.c: Removed unused PR macro defnition | Christina Quast | 1 | -2/+0 | |
2015-05-08 | usb.c: Removed FIXME comment | Christina Quast | 1 | -5/+0 | |
MITM does not support two interface settings. The comment mixed up interface configurations and alternative interface settings. | |||||
2015-05-08 | USBDDriver.c: swaped args to memset | Christina Quast | 1 | -1/+1 | |
2015-05-08 | usb.c: removed comment, named phone interface of MITM conf | Christina Quast | 1 | -6/+2 | |
String descriptor #0 always is the language descriptor. The second USB interface is in the MITM configuration is the interface to the phone. | |||||
2015-05-08 | Makefile: Removed unused object file target tc_etu | Christina Quast | 1 | -1/+1 | |
2015-05-08 | Remove PR define, replace with TRACE_DEBUG | Christina Quast | 3 | -17/+9 | |
The define PR was introduced to switch quickly between TRACE levels for specific debug print messages. Now, it all became debug output, since it is not needed in normal operation. | |||||
2015-05-06 | main.c: Set green LED when USB is configured | Christina Quast | 1 | -1/+3 | |
2015-05-03 | command to change fidi send by host | Christina Quast | 5 | -252/+79 | |
2015-05-03 | iso7816_uart.c: Do not compile | Christina Quast | 1 | -1/+1 | |
2015-05-02 | Added not working PTS parsing to host communication | Christina Quast | 4 | -474/+85 | |
2015-05-02 | ringbuf.c: rbuf peek function | Christina Quast | 3 | -6/+6 | |
2015-05-02 | iso7816_uart: starting point for pts parsing | Christina Quast | 2 | -0/+647 | |
2015-04-21 | host_communication.c: printf becomes TRACE_DEBUG | Christina Quast | 1 | -2/+2 | |
2015-04-21 | cciddriver.c: Removed loop waiting for host on CCID_Read | Christina Quast | 1 | -3/+3 | |
2015-04-20 | Moved ISR_PhoneRST into iso code file and simtrace header | Christina Quast | 3 | -34/+35 | |
2015-04-20 | simtrace_iso7816.c: Remove unused _ISO7816_Init | Christina Quast | 1 | -44/+0 | |
2015-04-18 | iso7816_4.c: Removed time guard | Christina Quast | 1 | -4/+0 | |
2015-04-17 | iso7816_4.c: CLK div differs for Master and Slave | Christina Quast | 3 | -13/+10 | |
Attention: Each init function has to enable and disable receiver and transmitter on its own! | |||||
2015-04-17 | board.h: RST pin low per default on startup | Christina Quast | 1 | -2/+1 | |
2015-04-16 | ccid.c: removed SMARTCARD_CONNECT_PIN check (always defined) | Christina Quast | 1 | -15/+0 | |
2015-04-16 | main.c: Removed double declaration of var i | Christina Quast | 1 | -3/+2 | |
2015-04-16 | iso7816_4.c: Moved around lines, only sniffer works | Christina Quast | 1 | -8/+27 | |
2015-04-16 | Moved global Usart state into usart struct | Christina Quast | 6 | -15/+19 | |
2015-04-16 | board.h: init more phone pins (as input) | Christina Quast | 1 | -1/+1 | |
2015-04-13 | sniffer.c: Enable/disable interrupts in init/exit function | Christina Quast | 1 | -1/+4 | |
2015-04-13 | phone.c: Enable/disable interrupts on init/exit | Christina Quast | 1 | -3/+9 | |
2015-04-13 | phone.c: Callback routine for reenabling RST interrupt | Christina Quast | 1 | -2/+7 | |
2015-04-13 | Makefile: Check for already opened ttyUSBx | Christina Quast | 1 | -1/+1 | |
If two ttyUSBx interfaces are read from by ts at the same time, some letters arrive at one terminal and others in the second one. Therefore only one terminal should be open at all times. | |||||
2015-04-12 | main.c: Reset board if USB not configured | Christina Quast | 1 | -3/+10 | |
2015-04-12 | iso7816_4.c: Increased max interations | Christina Quast | 1 | -1/+1 | |
2015-04-12 | Merge branch 'new_iso_init' (sniffer not working) | Christina Quast | 10 | -174/+123 | |
Conflicts: firmware/src_simtrace/phone.c firmware/src_simtrace/simtrace.h | |||||
2015-04-12 | Sniffer with ringbuf, works SOMETIMES | Christina Quast | 8 | -59/+59 | |
* Sniffer uses phone endpoints for communication and the ringbuffer routines the phone communication uses * Most times the Usart1 interrupt is not triggered, and therefore no values are recorded | |||||
2015-04-11 | phone.c: Sniffer bus config make switch | Christina Quast | 3 | -6/+13 | |
2015-04-11 | tc_etu: Corrected compiler warning | Christina Quast | 1 | -1/+1 | |
2015-04-11 | ringbuffer implementation | Christina Quast | 7 | -196/+135 | |
2015-04-11 | tc_etu.c: Fixed PIN initialisation compiler waring | Christina Quast | 2 | -3/+2 | |
2015-04-11 | basic ringbuffer implementation | Christina Quast | 1 | -0/+34 | |