Dear all,
I'm struggling to get started with a 1.1p board. When I connect it via
USB (with no simcard inserted and no connection to a phone), the red
led is on. Sometimes, both leds remain off after connecting the board
when I have a simcard inserted and a phone connected.
On one box (debian lenny), the board is never recognized by lsusb or
kernel messages. Do I need anything special (other than basic usb
support) compiled into the kernel for libusb to do its work in user
space?
I tried dfu-util -l, the board wasn't listed.
On a second box (debian squeeze) there's log messages when the usb is
connected
Feb 15 22:34:44 greta kernel: [186232.651806] usb 1-1.1: new full speed
USB device using ehci_hcd and address 13
Feb 15 22:34:44 greta kernel: [186232.745566] usb 1-1.1: New USB device
found, idVendor=16c0, idProduct=0762
Feb 15 22:34:44 greta kernel: [186232.745573] usb 1-1.1: New USB device
strings: Mfr=4, Product=5, SerialNumber=0
Feb 15 22:34:44 greta kernel: [186232.745577] usb 1-1.1: Product:
SimTrace SIM Sniffer - Runtime Mode
Feb 15 22:34:44 greta kernel: [186232.745581] usb 1-1.1: Manufacturer:
sysmocom - systems for mobile communications GmbH
Feb 15 22:34:44 greta kernel: [186232.745694] usb 1-1.1: configuration
#1 chosen from 1 choice
lsusb doesn't show anything either
the red led is on after connecting, simtrace (linked against libusb-1.0)
says "can't open USB device"
After some more tries, dfu-util recognizes the board
root@greta:~# dfu-util -l
dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY
dfu-util does currently only support DFU version 1.0
Found DFU: [0x16c0:0x0762] devnum=17, cfg=0, intf=0, alt=0,
name="SimTrace DFU Interface - Application Partition"
Found DFU: [0x16c0:0x0762] devnum=17, cfg=0, intf=0, alt=1,
name="SimTrace DFU Interface - Bootloader Partition"
Found DFU: [0x16c0:0x0762] devnum=17, cfg=0, intf=0, alt=2,
name="SimTrace DFU Interface - RAM"
However, I'm not able to write a firmware. I tried the main_simtrace.bin
that Harald posted to this list some days ago.
root@greta:~# dfu-util -d 16c0:0762 -a0 -D
/home/martin/tmp/main_simtrace.bin -R
dfu-util - (C) 2007-2008 by 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...
Found Runtime: [0x16c0:0x0762] devnum=17, cfg=0, intf=0, alt=0,
name="SimTrace DFU Interface - Application Partition"
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 8
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x0100
bytes_per_hash=417
Starting download:
[#################################################dfu_download:
usb_control_msg returned -32: error sending control message: Broken pipe
Error during download
Retrying multiple times, I always get the same error.
I tried resetting the board with the bootloader button pressed, this
didn't change anything. While trying to flash the firmware, there was no
sim inserted and no phone connected.
Does anyone have an idea what else I can try to track down the problems
and get the board up and running?
Thanks in advance,
Martin
Hi
I’m not very familiar with git, but there is something strange with the git repository “git://git.gnumonks.org/openpcd.git”:
First of all the the identical revision number “4f7ca20bf40b911c035264d86ef0359d20e7ac88” appears several times:
git rev-parse --all
4f7ca20bf40b911c035264d86ef0359d20e7ac88
4f7ca20bf40b911c035264d86ef0359d20e7ac88
4f7ca20bf40b911c035264d86ef0359d20e7ac88
f49cbc1f2503f737a96296993133aec065910935
4f7ca20bf40b911c035264d86ef0359d20e7ac88
3aa065ac48f21ce7c4d0879686fb07b04a60771f
45c13574ff89e3139567943e6a6cae82e754eab0
0febfc567d3f9441811a5490f0ea4d960798d313
Compiling “4f7ca20bf40b911c035264d86ef0359d20e7ac88” results in a not working firmware, even so the changes (PPS changes from Harald) are all correct.
(I applied these changes to the v0.4 firmware (revision ebf16b4ddf0dcbadf96aebdec3304f703917fdc7) and it works all nicely.)
Could somebody have a look ...
Regards,
Ben
Hi all!
JFYI, the SIM protocol dissector has finally been merged into wirshark
mainline (svn rev. 40854). This means that the daily builds from
https://www.wireshark.org/download/automated/osx/ and
https://www.wireshark.org/download/automated/win32/
will now work out-of-the-box for SIM card tracing, without applying any
patches.
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)