Hi all,
I've got my hands on a simtrace2 device - first of all thanks for your
great work and thanks for making this project open source!
So far I've tried out the sniffing functionality which is working
flawlessly - however I struggle to get the remote-sim functionality working.
I've built (make BOARD=simtrace APP=cardem) the cardemulation-firmware of
the current master-branch (0.4.131-8f70) and flashed the resulting
simtrace-cardem-dfu.bin using dfu-util.
Furthermore I compiled the host binaries, triggered a reset on my simtrace2
device to make sure it's in runtime mode and then executed the remote-sim
program (sudo ./simtrace2-remsim -V 1d50 -P 60e3 -C 1 -I 0 -A `sudo
./simtrace2-list | cut -d = -f 2 | cut -d , -f 1 | tail -1`). The simtrace2
device, as well as an USB-CCID compliant omnikey cardreader are attached to
my linux computer as described in the QMOD manual. During runtime mode the
red LED on the simtrace2 is blinking, while the green LED is off.
I noticed that when the simtrace2-remsim program tries to send an ATR to
the simtrace2 device via usb (cardem_request_set_atr), the
libusb_bulk_transfer function is blocking, before returning
LIBUSB_ERROR_TIMEOUT. The serial debugging-output I got on the simtrace2
doesn't show any futher information (last state is "-I- USB is now
configured").
When I reset the usb-modem that is connected to the simtrace2 device I get
the following messages on the debug-serial:
-I- Changed to ISO 7816-3 state 1
reset de-asserted
-I- WT updated to 9600
-I- Changed to ISO 7816-3 state 0
reset asserted
-I- Changed to ISO 7816-3 state 1
reset de-asserted
[...]
while the simtrace2-remsim program is also receiving some garbage:
URB:
-> 03 00 00 00 00 00 0c 00 04 00 00 00
unknown simtrace msg type 0x00
URB:
-> 03 00 00 00 00 00 0c 00 08 00 00 00
unknown simtrace msg type 0x00
URB:
-> 03 00 00 00 00 00 0c 00 04 00 00 00
unknown simtrace msg type 0x00
[...]
I've also tried several older versions/commits - however I didn't get any
of them working properly.
When using version 0.4.13-ba2a (from this commit:
https://git.osmocom.org/simtrace2/commit/?id=ba2ad563cc0e389213a3f6f6ebe79d…)
I was able to send the ATR to the simtrace and directly entered the main
loop on the host program.
The serial debugging-output (after a manual modem-reset) also looked
somehow more promising, but didn't work either:
-I- 0: VCC activated
-I- 0: CLK activated
-I- 0: RST released
-I- 0: computed Fi(1) Di(1) ratio: 372
-I- 0: send_tpdu_header: 00 a4 00 04 02
-I- 0: VCC deactivated
-I- 0: CLK deactivated
-I- 0: VCC activated
-I- 0: CLK activated
-I- 0: VCC deactivated
-I- 0: CLK deactivated
[...]
I've also tried a few different modems/dongles (Huawei, ZTE) which also
didn't really change anything.
Am I missing something? Is the remote-sim functionality supposed to work on
the current master branch? If not, could anyone hint me to a version/commit
that should work?
Would love to get some feedback - thanks in advance and keep up the good
work!
Greetings from Vienna,
Gabriel
Dears,
I have received SIMTrace 2 just now and I tried to connect it to PC with
the same parameter as for previous version of SIMTrace.
But I found that USB VENDOR ID and USB PRODUCT ID were changed. For the
previous version they were 0x16c0 and 0x0762 correspondingly.
All host sources at git://git.osmocom.org/simtrace.git repository use
this parameters.
Now I can see that VENDOR ID is 0x1d50 and PRODUCT ID is 0x60e3.
Could you please help me to find USB connectivity parameters for the
SIMTrace device which I received?
--
/Best regards,
Andrei Mikhailov
/
I noticed the modem issued command with CLA 0 (usim) or a0 (gsm)... just wondering what cause it to use 0 or a0??? Or does it try different CLA automatically
i am getting somethin like
00 2c 00 01 00
00 20 00 01 00
00 2c 00 81 00
i see somewhere 0x20 is defined as "verify chv" and 0x2c is defined as
"unblock chv"
but i also see somewhere else saying 0x2c is "reset error counter"
can someone point me to where these commands are defined, and what kind
of response are
expected from SIM ???
thanks
tom
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Hi Kevin and wider SIMtrace community,
I've finally managed to set up a build verification jobs for the simtrace2
firmware, and in the process migrate simtrace2.git to gerrit.
* https://jenkins.osmocom.org/jenkins/job/master-simtrace2/ is automatically
* building the master branch for all apps/boards,
* building the master branch of the host software
* executing actual unit tests (currently only cardem) in "firmware/test"
* https://jenkins.osmocom.org/jenkins/job/gerrit-simtrace2/
is triggered by gerrit and will perform automatic verification of any
patches submitted for review (using the above-mentioned tests)
In case anyone hasn't worked with gerrit before, please see
https://osmocom.org/projects/cellular-infrastructure/wiki/gerrit for detailed
information on how to set it up.
@Kevin: You don't appear to have a gerrit account yet, so I couldn't give
you the proper credentials. Let me know once you created the account, so
I can give you credentials so you can continue to push to kredon/simtrace
or related branches.
Write access to the git.osmocom.org/simtrace2.git repository has been removed,
only gerrit will replicate to that repository.
I've also pushed tons of Kevin's fixes to master, leaving mainly the work
on the "trace" firmware in "kredon/simtrace". You can rebase your branch
cleanly on top of master.
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)
== OsmoCon 2018 ==
OsmoCon (Osmocom Conference) 2018 is the technical conference for
Osmocom users, operators and developers!
We are happy to announce the date of OsmoCon 2018. It has been scheduled
on October 18 + 19, 2018 and will happen in Berlin, Germany.
For the second time, the Osmocom Conference brings together users,
operators and developers of the Osmocom Open Source cellular
infrastructure projects, such as OsmoBTS, OsmoBSC, OsmoSGSN, OpenGGSN
and others.
Join us for two days of presentations and discussions with the main
developers behind Open Source Mobile Communications, as well as
commercial and non-profit users of the Osmocom cellular infrastructure
software.
You can find some initial information in our wiki at
http://osmocom.org/projects/osmo-dev-con/wiki/OsmoCon2018
which will be updated as more information becomes available.
== Call for Participation ==
We're also at the same time announcing the Call for Participation and
call on everyone with experiences to share around the Osmocom member
projects to submit talks, workshops, discussions or other proposals.
You can find the CfP at https://pretalx.sysmocom.de/osmocon2018/cfp
We are particularly looking for contributions about:
* updates on features/functionality/status of individual Osmocom projects
* success stories on how Osmocom projects are deployed in practice
* migration from OsmoNITB to the post-NITB architecture
* tutorials / workshops on how to setup / analyze Osmocom projects
* statistics, reporting, operations aspects of Osmocom projects
* third-party open source utilities to be used with Osmocom projects
Looking forward to meeting many existing and new Osmocom users at OsmCon
this October!
Regards,
Harald Welte
--
- 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)
i noticed the GSM modem issued a couple SELECT (a4) commands that i
cannot find the documentation for
would any one be able to help identify these ???
thanks
00 a4 00 04 02 7f ff
00 a4 00 04 02 7f 66
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Dear Osmocom Community,
[please respect the Reply-To and post all follow-up discussion to this
to openbsc(a)lists.osmocom.org, so we avoid having long threads
cross-posted to several mailing lists.]
Like every year in early December, it is time to discuss as schedule for
OsmoDevCon in the upcoming year.
Note: Ths is about OsmoDevCon, the more private meeting of developers,
*NOT* about OsmoCon, the public conference.
== When, Who, Where ==
I propose the following date for OsmoDevCon 2018:
April 20 - April 23rd, 2018
* Who: Active developers/contributors of Osmocom projects (as usual)
* Where: IN-Berlin, Berlin (as usual)
Please let me know ASAP if that proposed date works for everyone who'd
want to attend. We can still change it now, but I would want to nail
down the date pretty soon.
== Format ==
After the experiment of reducing from 4 to 3 days last year (due to
OsmoCon), we will again go for *four days* in 2018.
However, we should clearly divide the days in a way that e.g. "GSM/3G"
topics are on two days, while SDR+Other topics are on the other days, so
people not interested in some topics can skip one or two days, as
needed.
We could even divide it further like:
* 1 day 3GPP RAN (osmo-bts, osmo-bsc, osmo-pcu, virt_phy, fake_trx, ...)
* 1 day 3GPP CN (osmo-msc, osmo-hlr, osmo-sip-connector, nextepc, etc.)
* 2 days misc
Regards, and looking forward to meeting you [again] in 2018,
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)
question about DFU...
working with AT91SAM3 board,
i tried,
1. use sam-ba to flash the DFU image (works fine)
2. try to use dfu-util to flash the APP, but it does not seem to write
into flash (after reboot
we still have the initial DFU image ??)
(i am using the same argument as SAM7
-a0 -D filename -R
is there any tips you can provide before i start digging ?