Nuand / bladeRF

bladeRF USB 3.0 Superspeed Software Defined Radio Source Code
http://nuand.com
Other
1.13k stars 455 forks source link

FP exception / crash in lms.c #266

Closed f4gkr closed 10 years ago

f4gkr commented 10 years ago

Since last updates, lib does not work anymore. example libbladeRF_test_sync --verbosity verbose -o testfile -s1M [DEBUG] RX Frequency = 1000000000, RX Samplerate = 1000000 Floating point exception (core dumped)

Doing this with GDB: (gdb) r --verbosity verbose -o testfile -s1M

Starting program: /home/azarian/bladeRF/build/host/output/libbladeRF_test_sync --verbosity verbose -o testfile -s1M

[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff6722700 (LWP 9815)] [DEBUG] RX Frequency = 1000000000, RX Samplerate = 1000000

Program received signal SIGFPE, Arithmetic exception. 0x00007ffff7bc1a57 in lms_frequency_to_hz (f=0x7fffffffdb30) at /home/azarian/bladeRF/host/libraries/libbladeRF/src/lms.c:1365 1365 return (uint32_t)(((f->reference * pll_coeff) + (div >> 1)) / div);

In fact structure f is not correctly initialized here: (gdb) print *f $1 = {x = 0 '\000', nint = 0, nfrac = 0, freqsel = 0 '\000', reference = 38400000}

bpadalino commented 10 years ago

Can you please attach the verbosity log and the stack trace?

f4gkr commented 10 years ago

(gdb) backtrace

0 0x00007ffff7bc1a57 in lms_frequency_to_hz (f=0x7fffffffdb30) at /home/azarian/bladeRF/host/libraries/libbladeRF/src/lms.c:1365

1 0x00007ffff7bc10a8 in loopback_tx (dev=0x607250, mode=BLADERF_LB_NONE)

at /home/azarian/bladeRF/host/libraries/libbladeRF/src/lms.c:907

2 0x00007ffff7bc16bd in lms_set_loopback_mode (dev=0x607250, mode=BLADERF_LB_NONE)

at /home/azarian/bladeRF/host/libraries/libbladeRF/src/lms.c:1206

3 0x00007ffff7bbdbad in bladerf_set_loopback (dev=0x607250, l=BLADERF_LB_NONE)

at /home/azarian/bladeRF/host/libraries/libbladeRF/src/bladerf.c:224

4 0x0000000000402521 in initialize_device (p=0x7fffffffdc60)

at /home/azarian/bladeRF/host/libraries/libbladeRF/tests/test_sync/src/test.c:182

5 0x0000000000402ba8 in test_run (p=0x7fffffffdc60) at /home/azarian/bladeRF/host/libraries/libbladeRF/tests/test_sync/src/test.c:378

6 0x00000000004020f9 in main (argc=6, argv=0x7fffffffdd98)

at /home/azarian/bladeRF/host/libraries/libbladeRF/tests/test_sync/src/main.c:366

and verbosity log: ./libbladeRF_test_sync --verbosity verbose -o testfile -s1M [DEBUG] RX Frequency = 1000000000, RX Samplerate = 1000000 Floating point exception (core dumped)

Same kind of test with osmocom_fft osmocom_fft -a bladerf=0 -s 2000000 -f 446000000 -v gr-osmosdr v0.1.1-9-gc65d205d (0.1.2git) gnuradio v3.7.4git-386-g9a722257 built-in source types: file fcd rtl rtl_tcp bladerf rfspace Floating point exception (core dumped)

same with Gnuradio... feel free to ask any other test thanks

bpadalino commented 10 years ago

You said it was in some recent commits that it happened? Do you know a known good commit that it was fine, and do you feel like you could bisect to the bad commit?

f4gkr commented 10 years ago

Sorry, difficult to track exactly as I do not work on this daily... I made a git sync this morning and previous one was around 15th of may roughly... for sure this was working in mid-may.

bpadalino commented 10 years ago

Understandable.

One last thing - can you add a --lib-verbosity verbose to your libbladeRF_test_sync arguments and attach the log from that? It will be a lot more output but show us every access to the devices.

f4gkr commented 10 years ago

Sure ./libbladeRF_test_sync --verbosity verbose -o testfile -s1M --lib-verbosity verbose [VERBOSE] Using libusb version: 1.0.17.10830 [VERBOSE] Found a bladeRF (based upon VID/PID) [VERBOSE] Changing to USB alt setting 0 [VERBOSE] Changing to USB alt setting 1 [VERBOSE] Changing to USB alt setting 2 [VERBOSE] Changing to USB alt setting 1 [VERBOSE] Changing to USB alt setting 2 [VERBOSE] Changing to USB alt setting 1 [DEBUG] Setting integer sample rate: 1000000 [DEBUG] Found r value of: 4 [DEBUG] MSx a + b/c: 316 + 4/5 [DEBUG] MSx a + b/c: 316 + 4/5 [DEBUG] MSx P1: 0x00009c66 (40038) P2: 0x00000002 (2) P3: 0x00000005 (5) [DEBUG] Calculated samplerate: 1000000 + 0/1 [DEBUG] Writing MS1 [VERBOSE] usb_si5338_read: 0x25 0x01 [DEBUG] Wrote enable register: 0x01 [VERBOSE] usb_si5338_write: 0x25 0x01 [VERBOSE] usb_si5338_write: 0x40 0x66

[VERBOSE] usb_si5338_write: 0x41 0x9c

[VERBOSE] usb_si5338_write: 0x42 0x08

[VERBOSE] usb_si5338_write: 0x43 0x00

[VERBOSE] usb_si5338_write: 0x44 0x00

[VERBOSE] usb_si5338_write: 0x45 0x00

[VERBOSE] usb_si5338_write: 0x46 0x05

[VERBOSE] usb_si5338_write: 0x47 0x00

[VERBOSE] usb_si5338_write: 0x48 0x00

[VERBOSE] usb_si5338_write: 0x49 0x00

[DEBUG] Wrote r register: 0xc8 [VERBOSE] usb_si5338_write: 0x20 0xc8 [DEBUG] Set actual integer sample rate: 1000000 [VERBOSE] ---- Frequency ---- [VERBOSE] x : 4 [VERBOSE] nint : 104 [VERBOSE] nfrac : 1398101 [VERBOSE] freqsel : 0x25 [VERBOSE] reference: 38400000 [VERBOSE] freq : 1000000000 [VERBOSE] usb_lms_read: 0x09 0x00 [VERBOSE] usb_lms_write: 0x09 0x05 [VERBOSE] usb_lms_read: 0x25 0x95 [VERBOSE] usb_lms_read: 0x08 0x00 [VERBOSE] usb_lms_read: 0x46 0x00 [VERBOSE] usb_lms_write: 0x25 0x95 [VERBOSE] usb_lms_write: 0x20 0x34 [VERBOSE] usb_lms_write: 0x21 0x15 [VERBOSE] usb_lms_write: 0x22 0x55 [VERBOSE] usb_lms_write: 0x23 0x55 [VERBOSE] usb_lms_read: 0x26 0x8c [VERBOSE] usb_lms_write: 0x26 0x8c [VERBOSE] usb_lms_read: 0x27 0xe3 [VERBOSE] usb_lms_write: 0x27 0xe3 [VERBOSE] usb_lms_read: 0x28 0x40 [VERBOSE] usb_lms_write: 0x28 0x40 [VERBOSE] usb_lms_read: 0x29 0xa0 [VERBOSE] usb_lms_write: 0x29 0xa0 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] Found normal at VCOCAP: 32 [VERBOSE] usb_lms_write: 0x29 0x9f [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x9e [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x9d [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x9c [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x9b [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x9a [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x99 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x98 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x97 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x96 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x95 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x94 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x93 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x92 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x91 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x90 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8f [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8e [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8d [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8c [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8b [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8a [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x89 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x88 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x87 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x86 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x85 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x84 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x83 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x82 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x81 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x80 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] Found lower limit VCOCAP: 1 [VERBOSE] usb_lms_write: 0x29 0xa0 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa1 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa2 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa3 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa4 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa5 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa6 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa7 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa8 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa9 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xaa [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xab [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xac [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xad [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xae [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xaf [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb0 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb1 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb2 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb3 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb4 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb5 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb6 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb7 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb8 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb9 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xba [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xbb [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xbc [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xbd [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xbe [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xbf [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xc0 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] Found upper limit VCOCAP: 63 [VERBOSE] Goldilocks VCOCAP: 32 [VERBOSE] usb_lms_write: 0x29 0xa0 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] VTUNE: 0 [VERBOSE] usb_lms_read: 0x09 0x00 [VERBOSE] usb_lms_write: 0x09 0x00 [VERBOSE] usb_lms_read: 0x08 0x00 [VERBOSE] usb_lms_read: 0x46 0x00 [VERBOSE] usb_lms_read: 0x75 0xd0 [VERBOSE] usb_lms_write: 0x75 0xd0 [VERBOSE] usb_lms_read: 0x20 0x34 [VERBOSE] usb_lms_read: 0x21 0x15 [VERBOSE] usb_lms_read: 0x22 0x55 [VERBOSE] usb_lms_read: 0x23 0x55 [VERBOSE] usb_lms_read: 0x25 0x95 [DEBUG] RX Frequency = 1000000000, RX Samplerate = 1000000 [VERBOSE] usb_lms_read: 0x44 0x00 [VERBOSE] usb_lms_write: 0x44 0x02 [VERBOSE] usb_lms_read: 0x75 0xd0 [VERBOSE] usb_lms_write: 0x75 0xc0 [VERBOSE] usb_lms_read: 0x46 0x00 [VERBOSE] usb_lms_read: 0x08 0x00 [VERBOSE] usb_lms_write: 0x46 0x00 [VERBOSE] usb_lms_write: 0x08 0x00 [VERBOSE] usb_lms_read: 0x54 0x3e [VERBOSE] usb_lms_read: 0x55 0x0c [VERBOSE] usb_lms_read: 0x7d 0x00 [VERBOSE] usb_lms_write: 0x7d 0x00 [VERBOSE] usb_lms_read: 0x64 0x36 [VERBOSE] usb_lms_write: 0x64 0x36 [VERBOSE] usb_lms_read: 0x0b 0x00 [VERBOSE] usb_lms_write: 0x0b 0x00 [VERBOSE] usb_lms_read: 0x7d 0x00 [VERBOSE] usb_lms_write: 0x7d 0x00 [VERBOSE] usb_lms_read: 0x70 0x00 [VERBOSE] usb_lms_write: 0x70 0x00 [VERBOSE] usb_lms_read: 0x20 0x34 [VERBOSE] usb_lms_read: 0x21 0x15 [VERBOSE] usb_lms_read: 0x22 0x55 [VERBOSE] usb_lms_read: 0x23 0x55 [VERBOSE] usb_lms_read: 0x25 0x95 [VERBOSE] usb_lms_read: 0x08 0x00 [VERBOSE] usb_lms_read: 0x46 0x00 [VERBOSE] usb_lms_read: 0x75 0xc0 [VERBOSE] usb_lms_write: 0x75 0xd0 [VERBOSE] usb_lms_read: 0x10 0x00 [VERBOSE] usb_lms_read: 0x11 0x00 [VERBOSE] usb_lms_read: 0x12 0x00 [VERBOSE] usb_lms_read: 0x13 0x00 [VERBOSE] usb_lms_read: 0x15 0x00 Floating point exception (core dumped)

bpadalino commented 10 years ago

That's some interesting output.

The VCOCAP seems to be wrong. The range for that is usually a few counts, not the whole range. How are you powering the device? Do you have a barrel jack you could power it from to see if that changes the operation of the device?

f4gkr commented 10 years ago

I would say "as usual" directly through the USB cable, but I will try. I also have another board, more to come soon after the tests

f4gkr commented 10 years ago

Same board, powered by external supply: ./libbladeRF_test_sync --verbosity verbose -o testfile -s1M --lib-verbosity verbose [VERBOSE] Using libusb version: 1.0.17.10830 [VERBOSE] Found a bladeRF (based upon VID/PID) [VERBOSE] Changing to USB alt setting 0 [VERBOSE] Changing to USB alt setting 1 [VERBOSE] Changing to USB alt setting 2 [VERBOSE] Changing to USB alt setting 1 [VERBOSE] Changing to USB alt setting 2 [VERBOSE] Changing to USB alt setting 1 [DEBUG] Setting integer sample rate: 1000000 [DEBUG] Found r value of: 4 [DEBUG] MSx a + b/c: 316 + 4/5 [DEBUG] MSx a + b/c: 316 + 4/5 [DEBUG] MSx P1: 0x00009c66 (40038) P2: 0x00000002 (2) P3: 0x00000005 (5) [DEBUG] Calculated samplerate: 1000000 + 0/1 [DEBUG] Writing MS1 [VERBOSE] usb_si5338_read: 0x25 0x01 [DEBUG] Wrote enable register: 0x01 [VERBOSE] usb_si5338_write: 0x25 0x01 [VERBOSE] usb_si5338_write: 0x40 0x66

[VERBOSE] usb_si5338_write: 0x41 0x9c

[VERBOSE] usb_si5338_write: 0x42 0x08

[VERBOSE] usb_si5338_write: 0x43 0x00

[VERBOSE] usb_si5338_write: 0x44 0x00

[VERBOSE] usb_si5338_write: 0x45 0x00

[VERBOSE] usb_si5338_write: 0x46 0x05

[VERBOSE] usb_si5338_write: 0x47 0x00

[VERBOSE] usb_si5338_write: 0x48 0x00

[VERBOSE] usb_si5338_write: 0x49 0x00

[DEBUG] Wrote r register: 0xc8 [VERBOSE] usb_si5338_write: 0x20 0xc8 [DEBUG] Set actual integer sample rate: 1000000 [VERBOSE] ---- Frequency ---- [VERBOSE] x : 4 [VERBOSE] nint : 104 [VERBOSE] nfrac : 1398101 [VERBOSE] freqsel : 0x25 [VERBOSE] reference: 38400000 [VERBOSE] freq : 1000000000 [VERBOSE] usb_lms_read: 0x09 0x00 [VERBOSE] usb_lms_write: 0x09 0x05 [VERBOSE] usb_lms_read: 0x25 0x95 [VERBOSE] usb_lms_read: 0x08 0x00 [VERBOSE] usb_lms_read: 0x46 0x00 [VERBOSE] usb_lms_write: 0x25 0x95 [VERBOSE] usb_lms_write: 0x20 0x34 [VERBOSE] usb_lms_write: 0x21 0x15 [VERBOSE] usb_lms_write: 0x22 0x55 [VERBOSE] usb_lms_write: 0x23 0x55 [VERBOSE] usb_lms_read: 0x26 0x8c [VERBOSE] usb_lms_write: 0x26 0x8c [VERBOSE] usb_lms_read: 0x27 0xe3 [VERBOSE] usb_lms_write: 0x27 0xe3 [VERBOSE] usb_lms_read: 0x28 0x40 [VERBOSE] usb_lms_write: 0x28 0x40 [VERBOSE] usb_lms_read: 0x29 0xa0 [VERBOSE] usb_lms_write: 0x29 0xa0 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] Found normal at VCOCAP: 32 [VERBOSE] usb_lms_write: 0x29 0x9f [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x9e [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x9d [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x9c [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x9b [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x9a [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x99 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x98 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x97 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x96 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x95 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x94 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x93 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x92 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x91 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x90 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8f [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8e [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8d [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8c [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8b [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x8a [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x89 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x88 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x87 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x86 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x85 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x84 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x83 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x82 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x81 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0x80 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] Found lower limit VCOCAP: 1 [VERBOSE] usb_lms_write: 0x29 0xa0 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa1 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa2 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa3 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa4 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa5 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa6 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa7 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa8 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xa9 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xaa [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xab [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xac [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xad [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xae [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xaf [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb0 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb1 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb2 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb3 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb4 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb5 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb6 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb7 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb8 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xb9 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xba [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xbb [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xbc [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xbd [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xbe [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xbf [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] usb_lms_write: 0x29 0xc0 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] Found upper limit VCOCAP: 63 [VERBOSE] Goldilocks VCOCAP: 32 [VERBOSE] usb_lms_write: 0x29 0xa0 [VERBOSE] usb_lms_read: 0x2a 0x03 [VERBOSE] VTUNE: 0 [VERBOSE] usb_lms_read: 0x09 0x00 [VERBOSE] usb_lms_write: 0x09 0x00 [VERBOSE] usb_lms_read: 0x08 0x00 [VERBOSE] usb_lms_read: 0x46 0x00 [VERBOSE] usb_lms_read: 0x75 0xd0 [VERBOSE] usb_lms_write: 0x75 0xd0 [VERBOSE] usb_lms_read: 0x20 0x34 [VERBOSE] usb_lms_read: 0x21 0x15 [VERBOSE] usb_lms_read: 0x22 0x55 [VERBOSE] usb_lms_read: 0x23 0x55 [VERBOSE] usb_lms_read: 0x25 0x95 [DEBUG] RX Frequency = 1000000000, RX Samplerate = 1000000 [VERBOSE] usb_lms_read: 0x44 0x00 [VERBOSE] usb_lms_write: 0x44 0x02 [VERBOSE] usb_lms_read: 0x75 0xd0 [VERBOSE] usb_lms_write: 0x75 0xc0 [VERBOSE] usb_lms_read: 0x46 0x00 [VERBOSE] usb_lms_read: 0x08 0x00 [VERBOSE] usb_lms_write: 0x46 0x00 [VERBOSE] usb_lms_write: 0x08 0x00 [VERBOSE] usb_lms_read: 0x54 0x02 [VERBOSE] usb_lms_read: 0x55 0x0c [VERBOSE] usb_lms_read: 0x7d 0x00 [VERBOSE] usb_lms_write: 0x7d 0x00 [VERBOSE] usb_lms_read: 0x64 0x36 [VERBOSE] usb_lms_write: 0x64 0x36 [VERBOSE] usb_lms_read: 0x0b 0x00 [VERBOSE] usb_lms_write: 0x0b 0x00 [VERBOSE] usb_lms_read: 0x7d 0x00 [VERBOSE] usb_lms_write: 0x7d 0x00 [VERBOSE] usb_lms_read: 0x70 0x00 [VERBOSE] usb_lms_write: 0x70 0x00 [VERBOSE] usb_lms_read: 0x20 0x34 [VERBOSE] usb_lms_read: 0x21 0x15 [VERBOSE] usb_lms_read: 0x22 0x55 [VERBOSE] usb_lms_read: 0x23 0x55 [VERBOSE] usb_lms_read: 0x25 0x95 [VERBOSE] usb_lms_read: 0x08 0x00 [VERBOSE] usb_lms_read: 0x46 0x00 [VERBOSE] usb_lms_read: 0x75 0xc0 [VERBOSE] usb_lms_write: 0x75 0xd0 [VERBOSE] usb_lms_read: 0x10 0x00 [VERBOSE] usb_lms_read: 0x11 0x00 [VERBOSE] usb_lms_read: 0x12 0x00 [VERBOSE] usb_lms_read: 0x13 0x00 [VERBOSE] usb_lms_read: 0x15 0x00 Floating point exception (core dumped) I will try now with another board

f4gkr commented 10 years ago

Works with x115.............. (was a x40 previously). I have another x40 elsewhere... I may try also. more soon

f4gkr commented 10 years ago

Damned :-( works also with other x40................ looks like I killed it ? What is your feeling ... looks like the LMS is no longer able to lock in fact, the issue is inside the PLL

Nuand commented 10 years ago

Uh oh - that sounds bad.

I agree with the statement that it seems the PLL isn't able to lock? Do you have an ability to see how much current the board is taking? It could be that it's trying to use too much power for some reason and is causing a brown out of the LMS?

Either way, I don't think this is a software issue. Do you mind if I close this issue?

f4gkr commented 10 years ago

Ok for closing the issue, sure. I will make the current measurement and update you. Thanks for the fast and efficient support

f4gkr commented 10 years ago

Ok for closing the issue, sure. I will make the current measurement and update you. Thanks for the fast and efficient support