'no simcard' bug / SIMtrace firmware update

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/simtrace@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Mon Aug 15 21:06:40 UTC 2011


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 at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main_simtrace.bin
Type: application/octet-stream
Size: 20756 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/simtrace/attachments/20110815/cea2db38/attachment.bin>


More information about the simtrace mailing list