From renxianyuanqi at gmail.com Mon Jun 15 04:25:27 2020 From: renxianyuanqi at gmail.com (=?UTF-8?B?6Zuq56KnIDB4cm9vdA==?=) Date: Mon, 15 Jun 2020 12:25:27 +0800 Subject: simtrace2 flash firmware images issue Message-ID: Hi community: when i try to flash firmware images from https://ftp.osmocom.org/binaries/simtrace2/firmware/latest/simtrace-dfu-flash-latest.bin simtrace2-sniff doesn't work. sudo bossac --port=/dev/ttyACM0 --usb-port=1 --erase --verify --boot=1 --write simtrace-dfu-flash-latest.bin Erase flash Done in 0.013 seconds Write 15880 bytes to flash (63 pages) [==============================] 100% (63/63 pages) Done in 0.604 seconds Verify 15880 bytes of flash [==============================] 100% (63/63 pages) Verify successful Done in 0.474 seconds Set boot flash true $ lsusb Bus 003 Device 030: ID 1d50:60e3 OpenMoko, Inc. $sudo ./simtrace2-list USB matches: 1 1d50:60e3 Addr=30, Path=3-2, Cfg=2, Intf=0, Alt=0: 255/255/0 (0.7.0.60-859f) $ sudo ./simtrace2-sniff simtrace2-sniff - Phone-SIM card communication sniffer (C) 2010-2017 by Harald Welte (C) 2018 by Kevin Redon No compatible USB devices found: Resource temporarily unavailable sudo dfu-util --list dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2014 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to dfu-util at lists.gnumonks.org Found DFU: [1d50:60e3] ver=0000, devnum=30, cfg=1, intf=0, alt=2, name="not available", serial="51203120395134503230333139303033" Found DFU: [1d50:60e3] ver=0000, devnum=30, cfg=1, intf=0, alt=1, name="Flash (Application Partition)", serial="51203120395134503230333139303033" Found DFU: [1d50:60e3] ver=0000, devnum=30, cfg=1, intf=0, alt=0, name="RAM", serial="51203120395134503230333139303033" What should I do? -------------- next part -------------- An HTML attachment was scrubbed... URL: From laforge at osmocom.org Mon Jun 15 12:06:52 2020 From: laforge at osmocom.org (Harald Welte) Date: Mon, 15 Jun 2020 14:06:52 +0200 Subject: simtrace2 flash firmware images issue In-Reply-To: References: Message-ID: <20200615120652.GF1778522@nataraja> On Mon, Jun 15, 2020 at 12:25:27PM +0800, ?? 0xroot wrote: > No compatible USB devices found: Resource temporarily unavailable something seems to be claiming / using the USB interface already. Maybe there is some other software that tries to open/claim/use the simtrace2 USB device? I'd suggest to try on another computer (or another Linux version/distribution) and see how things go there. does a 'lsusb -v' on the device work, or do you get errors? do yo usee any related errors in dmesg? -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From jsteiger at sysmocom.de Mon Jun 15 14:09:39 2020 From: jsteiger at sysmocom.de (Joachim Steiger) Date: Mon, 15 Jun 2020 16:09:39 +0200 Subject: simtrace2 flash firmware images issue In-Reply-To: References: Message-ID: Hi, have you flashed the application firmware after you flashed the bootloader via bossac? this will be the case when you power it up and only the green led is lit. see https://osmocom.org/projects/simtrace2/wiki/Flashing#DFU or simply: sudo dfu-util --device 1d50:60e3 --cfg 1 --alt 1 --reset --download simtrace-trace-dfu.bin afterwards you will see both leds (red and green) lit when plugging it in. kind regards -- - Joachim Steiger http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Directors: Harald Welte From renxianyuanqi at gmail.com Tue Jun 16 01:40:20 2020 From: renxianyuanqi at gmail.com (=?UTF-8?B?6Zuq56KnIDB4cm9vdA==?=) Date: Tue, 16 Jun 2020 09:40:20 +0800 Subject: Fwd: simtrace2 flash firmware images issue In-Reply-To: References: Message-ID: sorry for forgetting to cc community Best Wishes ---------- Forwarded message --------- ???? ?? 0xroot Date: 2020?6?16??? ??9:34 Subject: Re: simtrace2 flash firmware images issue To: Joachim Steiger Thanks for the reply of Joachim Steiger and Harald Welte. I try to flashed again,when *sudo bossac --port=/dev/ttyACM0 --usb-port=1 --erase --verify --boot=1 --write simtrace-dfu-flash-latest.bin *done,press RESET key,and execute *sudo dfu-util --device 1d50:60e3 --cfg 1 --alt 1 --reset --download simtrace-trace-dfu.bin* finally?SIMtrace works fine now. Thanks,And have a nice day. Joachim Steiger ?2020?6?15??? ??10:53??? > Hi, > > have you flashed the application firmware after you flashed the > bootloader via bossac? > > this will be the case when you power it up and only the green led is lit. > > see https://osmocom.org/projects/simtrace2/wiki/Flashing#DFU > > or simply: > > sudo dfu-util --device 1d50:60e3 --cfg 1 --alt 1 --reset --download > simtrace-trace-dfu.bin > > afterwards you will see both leds (red and green) lit when plugging it in. > > kind regards > > -- > - Joachim Steiger http://www.sysmocom.de/ > ======================================================================= > * sysmocom - systems for mobile communications GmbH > * Alt Moabit 93 > * 10559 Berlin, Germany > * Sitz / Registered office: Berlin, HRB 134158 B > * Geschaeftsfuehrer / Managing Directors: Harald Welte > -------------- next part -------------- An HTML attachment was scrubbed... URL: