Hi all,
I have meanwhile solved the first half of the bug that was causing a lot
of problems during the CCC Camp 2011.
In git commit fa7297b93f4187bce9439bb676874815f66d8f21 to openpcd.git,
I have made the following changes:
* make sure SIMtrace remains completely passive even in case of
(alleged) parity errors
* prevent an IRQ storm by properly clearing error flags in the USART,
which have lead to a watchdog triggered reset which in turn caused
a USB disconnect
So right now, you should not see the "No SIM card" or "SIM card
error"
in the display of your phone, no matter what phone / simcard is used.
However, the data logged by SIMtrace still is incorrect in those cases.
I hope to release a fix for that soon.
The updated 'main_simtrace.bin' firmware is attached to this mail. You
can install it by using
"dfu-util -d 16c0:0762 -a0 -D ./main_simtrace.bin -R"
which should produce something like:
=======
dfu-util - (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY
dfu-util does currently only support DFU version 1.0
Opening USB Device 0x16c0:0x0762...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Opening USB Device...
Found Runtime: [0x16c0:0x0762] devnum=41, cfg=0, intf=0, alt=0,
name="SimTrace DFU Interface - Application Partition"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Device returned transfer size 256
bytes_per_hash=415
Copying data from PC to DFU device
Starting download: [##################################################]
finished!
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
can't detach: error sending control message: Broken pipe
Resetting USB to switch back to runtime mode
========
After that, the new firmware has been programmed into your SIMtrace and
you can immediately use it again (no reset/re-plug/... needed)
Regards,
Harald
--
- Harald Welte <laforge(a)gnumonks.org>
http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)