commit | a5d537973db9359804e82a506057f3dd6d53fab9 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Mon Jul 25 19:59:08 2022 +0200 |
committer | Harald Welte <laforge@osmocom.org> | Mon Jul 25 20:00:54 2022 +0200 |
tree | 5507e4d3cd29c0b0961d29d1cfa75ad8844b4634 | |
parent | fdfb02418fccd2ad7af90eaed12e27b02f61cda9 [diff] |
cardem: reset the uC in case of USB disconnect This fixes the firmware USB interface somehow getting stuck after a USB disconnect/reconnect without power cycle. Right now there are a number of things we only execute the first time we reach USBD_STATE_CONFIGURED, but not at any subsequent such event. It's also rather clear that this doesn't really show in simtrace2 as it is bus-powered. And it doesn't show on OWHW as we don't have any USB unplug situations of the USB between the on-board traces of USB host and SAM3S. So this really only is relevant to QMOD. A cheap and dirty work-around is to simply reset the entire uC every time a USB unplug happens. Change-Id: I6678bb2192c1419ed388b46c4ae7aa1ce18dc7ee Related: OS#5578
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.
This repository contains several directory
The host software includes