mirror of https://gerrit.osmocom.org/simtrace2
SIMtrace2 (based on AT91SAM3), firmware and host tools, including card emulation
https://osmocom.org/projects/simtrace2
Harald Welte
050b9dde68
This adds an unconditional endpoint reset procedure to every SET_FEATURE(UnHalt). It doesn't really make sense that this is required, *particularly* as we *MUST NOT* set bEndpoint->bank to 0 here. Without this patch, I'm observing the following problem: Every first OUT transfer after a SET_INTERFACE + UNHALT on a bulk endpoint is lost. "lost" means that it completes successfully on the host, can be seen completing successfully with an ACK on a USB bus analyzer, but still doesn't show up in the firmware. No Endpoint Interrupt is generated. This can be reproduced by calling libusb_set_interface_alt_setting() from the host and then submitting a single OUT transfer. Change-Id: I18ed530e617baddf76e8f9829512443ce2a76e0d |
||
---|---|---|
contrib | ||
debian | ||
firmware | ||
hardware | ||
host | ||
.clang-format | ||
.gitignore | ||
.gitmodules | ||
.gitreview | ||
Makefile | ||
README.md | ||
TODO-RELEASE | ||
clk_calc.py | ||
git-version-gen |
README.md
SIMtrace v2.0
This is the repository for the next-generation SIMtrace devices, providing abilities to trace the communication between (U)SIM card and phone, remote (U)SIM card forward, (U)SIM man-in-the-middle, and more.
NOTE: Nothing in this repository applies to the SIMtrace v1.x hardware or its associated firmware. SIMtrace v1.x is based on a different CPU / microcontroller architecture and uses a completely different software stack and host software.
Supported Hardware
- Osmocom SIMtrace 1.x with SAM3 controller ** this is open hardware and schematics / PCB design is published
- sysmocom sysmoQMOD (with 4 Modems, 4 SIM slots and 2 SAM3) ** this is a proprietary device, publicly available from sysmocom
- sysmocom OWHW (with 2 Modems and 1 SAM3 onboard) ** this is not publicly available hardware, but still supported
This Repository
This repository contains several directory
- firmware - the firmware to run on the actual devices
- hardware - some information related to the hardware
- host - Programs to use on the USB host to interface with the hardware
The host software includes
- libosmo-simtrace2 - a shared library to talk to devices running the simtrace2 firmware
- simtrace2-list - list any USB-attached devices running simtrace2 firmware
- simtrace2-sniff - interface the 'trace' firmware to obtain card protocol traces
- simtrace2-cardem-pcsc - interface the 'cardem' fimrware to use a SIM in a PC/SC reader