I'm at the point w/ flashing firmware where I feel like I need to use a debugger w/ JTAG. I figured I could probably use serial line logging somehow but JTAG seems better and I should learn it anyway.
Has anyone pried open the shield on a c139/c140 and tried attaching to the JTAG test points that are just inside the shield next to the test points which are accessible via the battery compartment?
Attached is simple patch which adds little-endian & big-endian macro to move bytes to
and from multibyte integer types like uint16_t, uint32_t etc.
Some of this code is used right away in msgb.h but it will also be used in kasumi
implementation later on.
--
best regards,
Max, http://fairwaves.ru
Hello.
Attached is a trivial patch which breaks existing GPRS cipher API of libosmocore by
switching from fixed 64-bit length Kc to variable-length.
There are several justifications for that:
- compliance with ETSI TS 155.22 (GEA4 - 128 bits Kc) and all further versions
- similarity to existing auth api (osmocom/crypt/auth.h uses 128 bits as well)
- nobody uses this API anyway (except my other patches with GEA)
- patch breaks nothing within libosmocore (make check succeeds) and openbsc (uses
gea0 only)
That's why I think next libosmocore version should apply this patch and change unused
API before someone actually start using it and makes transition more difficult.
--
best regards,
Max, http://fairwaves.ru
Hello dear osmocom team
first off, thanks for all the work you have
put into this project. Its great to have a starting
point for toying with this new/old technology. ;)
I got myself a C155 and have used osmocom-bb on it
to read some traffic with wireshark. So far everything
works nicely.
Now i wanted to communicate with a second phone and
have tried setting up a BTS following this guide
http://openbsc.osmocom.org/trac/wiki/network_from_scratch
(using a single phone)
My problem is that the phone doesnt transmit anything.
Yes i have enabled the transmitter flag in the Makefile. ;)
When i use osmocon to load the TRX into the phone and start the
osmocom-transceiver i get this debug output from osmocon.
...
Synchronize_TDMA
=>FB @ FNR 26585 fn_offset=2002505 qbits=4924
LOST 1910!
BTS MODE: 255 65535 {0,0,0,0,0,0,0,0} TX 0..7 RX 0..7
After taking a look at the code the values seem weird
and they come from the transceiver function l1ctl_tx_bts_mode()
like that.
/host/layer23/src/transceiver/l1ctl.c:120
As a test i got the phone to transmit something by
overwriting the values on the TRX side.
I havent gone further yet but wanted to ask if someone could
maybe point me to an obvious mistake i did before i
spend more hours on this issue.
A hint as to how i enable the different logging settings
would be great as well.
thanks,
best regards, Christian
Hi everyone,Now I am facing some unknown problem to me.
I am getting the following error messages
(1) on the terminal after uploading layer1:
Failed to write msg to the socket(2) failed to connect to '/tmp/osmocom_sap'
Failed during sap_open (), no SIM reader
<000c> l1ctl.c:118 FBSB RESP: result=255
<000f> sim.c:858 received APDU but no job, please fixShall anyone tell me where I am doing wrong?
What exactly is the problem. Because earlier when I run mobile application then it was working well.Thanks in advance.NeeteshSent from RediffmailNG on Android
From: "neetesh saxena"saxenaneetesh061(a)rediffmail.com
Sent:Wed, 22 Jan 2014 16:51:45 +0530
To: "baseband-devel " baseband-devel(a)lists.osmocom.org
Subject: Query regarding running osmoocomBB
Hi everyone,
>
>Here, i wish to know the answer of a basic question. When I uploaded the firmware onto the mobile phone (with ./osmocon command), I can start other application programs like CCCh program, mobile program in other terminals.
>
>My problem is when I am doing it I can see that the layer1 is uploaded onto the phone but I am not able to switch on my phone. When I again press the red button to start phone, it again starts getting uploaded layer1.
>
>When I terminate the command of uploading firmware and start my phone then I am not able to view of SIM details and it shows me "service is unavailable" or "administratively down".
>
>My question is we need to continue run the terminal with ./osmocon command (for uploading layer1) or i need to stop it after uploading layer1 once onto the phone. When to switched on my phone ?
>
>
>With regards
> Neetesh Saxena...
>
>
>
>Get your own FREE website, FREE domain & FREE mobile app with Company email. Know More >
neetesh saxena wrote:
> My question is we need to continue run the terminal with ./osmocon
> command (for uploading layer1)
Yes.
> or i need to stop it after uploading layer1 once onto the phone.
No.
> When to switched on my phone ?
If layer1 is successfully uploaded then the phone is already switched on.
Just start the layer23 (mobile, ccch_scan, etc..) program on the host.
//Peter
Hi everyone,
Here, i wish to know the answer of a basic question. When I uploaded the firmware onto the mobile phone (with ./osmocon command), I can start other application programs like CCCh program, mobile program in other terminals.
My problem is when I am doing it I can see that the layer1 is uploaded onto the phone but I am not able to switch on my phone. When I again press the red button to start phone, it again starts getting uploaded layer1.
When I terminate the command of uploading firmware and start my phone then I am not able to view of SIM details and it shows me "service is unavailable" or "administratively down".
My question is we need to continue run the terminal with ./osmocon command (for uploading layer1) or i need to stop it after uploading layer1 once onto the phone. When to switched on my phone ?
With regards
Neetesh Saxena...