# VOXL2 IMU server not working

Source: https://forum.modalai.com/topic/2418/voxl2-imu-server-not-working
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2023-07-14 07:50:27 UTC by yashas katte
Replies: 9 · Views: 1225

## yashas katte · 2023-07-14 07:50:27 UTC

Hello, 
I have VOXL 2(M0054) board, with VOXL suite version : 0.9.5.
My imu0 is not working, when i directly run the inu server with this commnad
```sh
voxl-imu-server

voxl2:/$ voxl-imu-server 
loading calibration file
=================================================================
calibration for IMU0:
Gyro Offsets (rad/s): X:   0.000 Y:   0.000 Z:   0.000
Accl Offsets (m/s^2): X:   0.000 Y:   0.000 Z:   0.000
Accl Scale          : X:   1.000 Y:   1.000 Z:   1.000

has_baseline_temp:      0
gyro_baseline_temp (C):  30.000
accl_baseline_temp (C):  30.000

has_temp_cal:          0
gyro_drift_coeff: X:   0.000000   0.000000   0.000000
gyro_drift_coeff: Y:   0.000000   0.000000   0.000000
gyro_drift_coeff: Z:   0.000000   0.000000   0.000000
accl_drift_coeff: X:   0.000000   0.000000   0.000000
accl_drift_coeff: Y:   0.000000   0.000000   0.000000
accl_drift_coeff: Z:   0.000000   0.000000   0.000000

calibration for IMU1:
Gyro Offsets (rad/s): X:   0.000 Y:   0.000 Z:   0.000
Accl Offsets (m/s^2): X:   0.000 Y:   0.000 Z:   0.000
Accl Scale          : X:   1.000 Y:   1.000 Z:   1.000

has_baseline_temp:      0
gyro_baseline_temp (C):  30.000
accl_baseline_temp (C):  30.000

has_temp_cal:          0
gyro_drift_coeff: X:   0.000000   0.000000   0.000000
gyro_drift_coeff: Y:   0.000000   0.000000   0.000000
gyro_drift_coeff: Z:   0.000000   0.000000   0.000000
accl_drift_coeff: X:   0.000000   0.000000   0.000000
accl_drift_coeff: Y:   0.000000   0.000000   0.000000
accl_drift_coeff: Z:   0.000000   0.000000   0.000000

calibration for IMU2:
Gyro Offsets (rad/s): X:   0.000 Y:   0.000 Z:   0.000
Accl Offsets (m/s^2): X:   0.000 Y:   0.000 Z:   0.000
Accl Scale          : X:   1.000 Y:   1.000 Z:   1.000

has_baseline_temp:      0
gyro_baseline_temp (C):  30.000
accl_baseline_temp (C):  30.000

has_temp_cal:          0
gyro_drift_coeff: X:   0.000000   0.000000   0.000000
gyro_drift_coeff: Y:   0.000000   0.000000   0.000000
gyro_drift_coeff: Z:   0.000000   0.000000   0.000000
accl_drift_coeff: X:   0.000000   0.000000   0.000000
accl_drift_coeff: Y:   0.000000   0.000000   0.000000
accl_drift_coeff: Z:   0.000000   0.000000   0.000000

calibration for IMU3:
Gyro Offsets (rad/s): X:   0.000 Y:   0.000 Z:   0.000
Accl Offsets (m/s^2): X:   0.000 Y:   0.000 Z:   0.000
Accl Scale          : X:   1.000 Y:   1.000 Z:   1.000

has_baseline_temp:      0
gyro_baseline_temp (C):  30.000
accl_baseline_temp (C):  30.000

has_temp_cal:          0
gyro_drift_coeff: X:   0.000000   0.000000   0.000000
gyro_drift_coeff: Y:   0.000000   0.000000   0.000000
gyro_drift_coeff: Z:   0.000000   0.000000   0.000000
accl_drift_coeff: X:   0.000000   0.000000   0.000000
accl_drift_coeff: Y:   0.000000   0.000000   0.000000
accl_drift_coeff: Z:   0.000000   0.000000   0.000000

=================================================================
loading config file
=================================================================
imu_apps_enable:                 1
imu_apps_bus:                    3
imu_apps_sample_rate_hz:         1000.0
imu_apps_lp_cutoff_freq_hz:      92.0
imu_apps_rotate_common_frame:    1
imu_apps_fifo_poll_rate_hz:      100.0

aux_imu1_enable:                 0
aux_imu1_bus:                    1
aux_imu1_sample_rate_hz:         1000.0
aux_imu1_lp_cutoff_freq_hz:      92.0
aux_imu1_fifo_poll_rate_hz:      100.0

aux_imu2_enable:                 0
aux_imu2_spi_bus:                14
aux_imu2_sample_rate_hz:         1000.0
aux_imu2_lp_cutoff_freq_hz:      92.0
aux_imu2_fifo_poll_rate_hz:      100.0

aux_imu3_enable:                 0
aux_imu3_spi_bus:                5
aux_imu3_sample_rate_hz:         1000.0
aux_imu3_lp_cutoff_freq_hz:      92.0
aux_imu3_fifo_poll_rate_hz:      100.0
=================================================================
detected ICM42688 on spi bus[id] 3
Detected board M0054
Initializing IMU0
using ODR=1000.00hz which is the nearest the icm42688 can get to 1000.0
ERROR: in icm42688_basic_read read all 0's
ERROR: failed to read data from IMU0
ERROR: failed to init at least one IMU
```

I have tried flashing previous versions of voxl suite but its same result.
It was working perfectly before, but suddenly it stopped working.
So flashed suite again.

Please help

## Reply by Achyut Sapariya · 2024-12-20 08:53:05 UTC

@yashas-katte Same Problem

## Reply by Achyut Sapariya · 2024-12-20 08:54:07 UTC (in reply to Achyut Sapariya)

@Achyut-Sapariya @Moderator Please help on this

## Reply by tom (ModalAI staff) · 2024-12-20 17:11:55 UTC (in reply to Achyut Sapariya)

@Achyut-Sapariya Can you try updating to the latest SDK (1.3.5) and give it a go?

## Reply by Achyut Sapariya · 2024-12-21 03:25:48 UTC (in reply to tom)

@tom I am running The Latest one 1.3.5. I had tried all possible things mentioned on docs but still not getting imu server running.

## Reply by tom (ModalAI staff) · 2024-12-22 20:42:54 UTC (in reply to Achyut Sapariya)

@Achyut-Sapariya You said "VOXL suite version : 0.9.5" so I wasn't sure if that was what you currently had loaded. Did the IMU work at one point and then stop working? Trying to determine whether or not this is a hardware issue.

## Reply by Achyut Sapariya · 2024-12-23 06:37:21 UTC (in reply to tom)

@tom Yes Initially IMU was working but suddenly next day it stops working.

## Reply by tom (ModalAI staff) · 2024-12-23 18:43:59 UTC (in reply to Achyut Sapariya)

@Achyut-Sapariya When flashing the board did you go through SKU setup and allow `voxl-configure-mpa` to run?

Can you post the output of  `voxl-version` and `voxl-inspect-sku`?

## Reply by Achyut Sapariya · 2024-12-24 04:49:05 UTC (in reply to tom)

@tom 
I didn't aware about SKU setup but when I flashed i had run ``` voxl-configure-mpa ```
output of ```voxl-version```
```
voxl2:/$ voxl-version
--------------------------------------------------------------------------------
system-image: 1.7.10-M0054-14.1a-perf
kernel:       #1 SMP PREEMPT Fri Sep 27 21:18:59 UTC 2024 4.19.125
--------------------------------------------------------------------------------
hw platform:  M0054
mach.var:     1.0.0
--------------------------------------------------------------------------------
voxl-suite:   1.3.5
--------------------------------------------------------------------------------
Packages:
Repo:  http://voxl-packages.modalai.com/ ./dists/qrb5165/sdk-1.3/binary-arm64/
Last Updated: 2024-12-20 06:50:35
List:
kernel-module-voxl-fsync-mod-4.19.125     1.0-r0
kernel-module-voxl-gpio-mod-4.19.125      1.0-r0
kernel-module-voxl-platform-mod-4.19.125  1.0-r0
libfc-sensor                              1.0.7
libmodal-cv                               0.5.11
libmodal-exposure                         0.1.1
libmodal-journal                          0.2.2
libmodal-json                             0.4.3
libmodal-pipe                             2.10.2
libqrb5165-io                             0.4.6
libvoxl-cci-direct                        0.2.3
libvoxl-cutils                            0.1.1
modalai-slpi                              1.1.19
mv-voxl                                   0.1-r0
qrb5165-bind                              0.1-r0
qrb5165-dfs-server                        0.2.0
qrb5165-imu-server                        1.0.1
qrb5165-rangefinder-server                0.1.3
qrb5165-slpi-test-sig                     01-r0
qrb5165-system-tweaks                     0.3.0
qrb5165-tflite                            2.8.0-2
voxl-bind-spektrum                        0.1.1
voxl-camera-calibration                   0.5.7
voxl-camera-server                        2.0.1
voxl-ceres-solver                         2:1.14.0-10
voxl-configurator                         0.8.5
voxl-cpu-monitor                          0.4.8
voxl-docker-support                       1.3.1
voxl-elrs                                 0.2.2
voxl-esc                                  1.4.7
voxl-feature-tracker                      0.4.1
voxl-flow-server                          0.3.6
voxl-fsync-mod                            1.0-r0
voxl-gphoto2-server                       0.0.10
voxl-gpio-mod                             1.0-r0
voxl-jpeg-turbo                           2.1.3-5
voxl-lepton-server                        1.2.3
voxl-lepton-tracker                       0.0.2
voxl-libgphoto2                           0.0.4
voxl-libuvc                               1.0.7
voxl-logger                               0.4.7
voxl-mavcam-manager                       0.5.7
voxl-mavlink                              0.1.1
voxl-mavlink-server                       1.4.2
voxl-modem                                1.1.3
voxl-mongoose                             7.7.0-1
voxl-mpa-to-ros                           0.3.9
voxl-mpa-tools                            1.2.3
voxl-neopixel-manager                     0.0.3
voxl-open-vins                            0.4.14
voxl-open-vins-server                     0.2.75
voxl-opencv                               4.5.5-2
voxl-osd                                  0.0.1
voxl-platform-mod                         1.0-r0
voxl-portal                               0.7.0
voxl-px4                                  1.14.0-2.0.84
voxl-px4-imu-server                       0.1.2
voxl-px4-params                           0.5.3
voxl-qvio-server                          1.0.4
voxl-remote-id                            0.0.9
voxl-reset-slpi                           0.0.1
voxl-state-estimator                      0.0.2
voxl-streamer                             0.7.4
voxl-suite                                1.3.5
voxl-tag-detector                         0.0.4
voxl-tflite-server                        0.3.4
voxl-utils                                1.4.3
voxl-uvc-server                           0.1.7
voxl-vision-hub                           1.8.9
voxl-vtx                                  1.1.0
voxl2-io                                  0.0.3
voxl2-system-image                        1.7.10-r0
voxl2-wlan                                1.0-r0
--------------------------------------------------------------------------------

```
output of ```voxl-inspect-sku```
```
voxl2:/$ voxl-inspect-sku

family code:   MRB-D0006 (sentinel)
compute board: 4 (voxl2)
hw version:    1
cam config:    11
modem config:  4 (LTE v2, 7610 NA (M0030))
tx config:     7 (elrs_beta_fpv)
extras config: 0 (none)
SKU:           MRB-D0006-4-V1-C11-T7-M4-X0
```

## Reply by tom (ModalAI staff) · 2024-12-26 19:10:59 UTC (in reply to Achyut Sapariya)

@Achyut-Sapariya That all looks normal, I'd recommend submitting an RMA and our team can diagnose the issue: https://www.modalai.com/pages/rma
