simtrace2/firmware/apps
Harald Welte a5d537973d 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
2022-07-25 20:00:54 +02:00
..
blupdate firmware: add crc stub to all dfu apps to ensure reliable loading 2021-12-15 14:04:20 +00:00
cardem cardem: reset the uC in case of USB disconnect 2022-07-25 20:00:54 +02:00
ccid Structure build system to build for multiple boards/apps/environments 2017-02-27 22:18:45 +01:00
dfu treewide: remove FSF address 2021-12-14 11:47:21 +01:00
freq_ctr Patch actual board name into the USB iProduct string descriptor 2019-12-06 19:19:23 +01:00
gpio_test Patch actual board name into the USB iProduct string descriptor 2019-12-06 19:19:23 +01:00
trace treewide: remove FSF address 2021-12-14 11:47:21 +01:00
triple_play treewide: remove FSF address 2021-12-14 11:47:21 +01:00