Hello, I'm newbie and want to learn about osmocombb. I already compiled all of the programs, but when I try to upload helloworld program, it stuck on this error
$ host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor target/firmware/board/ compal_e88/hello_world.compalram.bin -c
got 1 bytes from modem, data looks like: 00 . got 1 bytes from modem, data looks like: f7 . got 1 bytes from modem, data looks like: 00 . got 1 bytes from modem, data looks like: 72 r got 2 bytes from modem, data looks like: 82 bf .. got 1 bytes from modem, data looks like: 7d } got 1 bytes from modem, data looks like: fd . got 1 bytes from modem, data looks like: 7f . got 1 bytes from modem, data looks like: 00 . got 1 bytes from modem, data looks like: a6 . got 1 bytes from modem, data looks like: 51 Q got 1 bytes from modem, data looks like: d2 . got 1 bytes from modem, data looks like: 51 Q got 1 bytes from modem, data looks like: 0a . got 1 bytes from modem, data looks like: 3a : got 1 bytes from modem, data looks like: 00 . got 1 bytes from modem, data looks like: 4d M got 1 bytes from modem, data looks like: a3 . got 1 bytes from modem, data looks like: a3 . got 1 bytes from modem, data looks like: da . got 1 bytes from modem, data looks like: 00 . got 1 bytes from modem, data looks like: 00 .
I don't know if it hardware problem, or software problem. When I try to debug using putty to listen to /dev/ttyUSB0 there is no fmttool erro just like this article said http://www.linuxx.eu/2014/09/osmocombb-hardware-and-software-setup.html
Regards.
On Sat, Dec 02, 2017 at 10:43:40PM +0700, felangga@gmail.com wrote:
$ host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor target/firmware/board/ compal_e88/hello_world.compalram.bin -c
have you tried 'c123' without XOR? Are you running in some kind of VM or on bare hardware? The timing is very critical, and some combinations of hardware + drivers + software are not able to fulfill the strict timing requirements.
In case of doubt, try using a different computer.
Yes I've tried using xor and without xor. I'm running on bare hardware. Linux mint 18. Do I need to configure baud rate? Or the default 115200 should be OK? Hmm okay, i'll try on other computer.
Btw, will it be affected with the length of the cable?
On Dec 3, 2017 6:00 PM, "Harald Welte" laforge@gnumonks.org wrote:
On Sat, Dec 02, 2017 at 10:43:40PM +0700, felangga@gmail.com wrote:
$ host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor target/firmware/board/ compal_e88/hello_world.compalram.bin -c
have you tried 'c123' without XOR? Are you running in some kind of VM or on bare hardware? The timing is very critical, and some combinations of hardware + drivers + software are not able to fulfill the strict timing requirements.
In case of doubt, try using a different computer.
-- - Harald Welte laforge@gnumonks.org http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
Hi,
Length of the cable and the type of serial adapter can also cause some issues.
What adapter are you using?
Cheers, Domi
2017. dec. 3. dátummal, 12:09 időpontban Felix Angga felangga@gmail.com írta:
Yes I've tried using xor and without xor. I'm running on bare hardware. Linux mint 18. Do I need to configure baud rate? Or the default 115200 should be OK? Hmm okay, i'll try on other computer.
Btw, will it be affected with the length of the cable?
On Dec 3, 2017 6:00 PM, "Harald Welte" laforge@gnumonks.org wrote: On Sat, Dec 02, 2017 at 10:43:40PM +0700, felangga@gmail.com wrote:
$ host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor target/firmware/board/ compal_e88/hello_world.compalram.bin -c
have you tried 'c123' without XOR? Are you running in some kind of VM or on bare hardware? The timing is very critical, and some combinations of hardware + drivers + software are not able to fulfill the strict timing requirements.
In case of doubt, try using a different computer.
--
- Harald Welte laforge@gnumonks.org http://laforge.gnumonks.org/
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
I'm using CP2102 with apprx 1 m stereo cable. I create another jack with shorter cable and still the same error. I have cp2102 and Pl 2303 and has the same resut. My last suspect is the phone. My phone is C118 made in china. Is that any limitations on specified region that support osmocom ?
On Dec 3, 2017 6:35 PM, "Tomcsányi, Domonkos" domi@tomcsanyi.net wrote:
Hi,
Length of the cable and the type of serial adapter can also cause some issues.
What adapter are you using?
Cheers, Domi
- dec. 3. dátummal, 12:09 időpontban Felix Angga felangga@gmail.com
írta:
Yes I've tried using xor and without xor. I'm running on bare hardware. Linux mint 18. Do I need to configure baud rate? Or the default 115200 should be OK? Hmm okay, i'll try on other computer.
Btw, will it be affected with the length of the cable?
On Dec 3, 2017 6:00 PM, "Harald Welte" laforge@gnumonks.org wrote:
On Sat, Dec 02, 2017 at 10:43:40PM +0700, felangga@gmail.com wrote:
$ host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor target/firmware/board/ compal_e88/hello_world.compalram.bin -c
have you tried 'c123' without XOR? Are you running in some kind of VM or on bare hardware? The timing is very critical, and some combinations of hardware + drivers + software are not able to fulfill the strict timing requirements.
In case of doubt, try using a different computer.
--
- Harald Welte laforge@gnumonks.org
http://laforge.gnumonks.org/
================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
Hi,
My last suspect is the phone. My phone is C118 made in china. Is that any limitations on specified region that support osmocom ?
No but a lot of "old" phones have a pretty damaged/ dirty jack connector inside that makes the data transfer unreliable. You could try replacing it.
Cheers,
Sylvain
Hi, thanks for all the support :) I found out that my 2.5mm stereo jack is not long enough into the port. So I try to cut out the plastic and now it work with the Hello World program. But when I try to flash RSSI program, it said that not enough memory 64k blabla...
On Sun, Dec 3, 2017 at 6:46 PM, Sylvain Munaut 246tnt@gmail.com wrote:
Hi,
My last suspect is the phone. My phone is C118 made in china. Is that any limitations on specified region that support osmocom ?
No but a lot of "old" phones have a pretty damaged/ dirty jack connector inside that makes the data transfer unreliable. You could try replacing it.
Cheers,
Sylvain
baseband-devel@lists.osmocom.org