# Voxl2 Mini Failed to Configure px4

Source: https://forum.modalai.com/topic/3319/voxl2-mini-failed-to-configure-px4
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2-mini
Posted: 2024-04-11 22:20:49 UTC by Nicholas Hansen
Replies: 13 · Views: 2412

## Nicholas Hansen · 2024-04-11 22:20:49 UTC

While updating the SDK of a Voxl2 Mini form 1.0.0 to 1.1.2, px4 failed to configure the parameters. I tried power cycling and running voxl-configure-mpa again with the same result. It says the error is likely because voxl-px4 on the SDSP failed to restart, but px4 is always enabled and running when I check voxl-inspect-services. Is there a way to make sure px4 restarts correctly so the parameters can be configured?

![Screenshot from 2024-04-11 18-08-19.png](https://forum.modalai.com/assets/uploads/files/1712873675284-screenshot-from-2024-04-11-18-08-19.png)

## Reply by tom (ModalAI staff) · 2024-04-11 22:48:15 UTC

@Nicholas-Hansen Can you try flashing SDK 1.1.2 using the  `-w` option which will wipe all the board's partitions like so: 

```
cd voxl2-mini_SDK_1.1.2
./install.sh -w
```

## Reply by Nicholas Hansen · 2024-04-12 18:28:03 UTC (in reply to tom)

@tom That reflash with wiping all partitions fixed the configuring px4 issue, but has created another issue. The voxl-imu-server is enabled but not running. Attempting to start the server does not work.
When you connect to QGroundControl the IMU is clearly working because the horizon changes as you move the voxl2 mini board.

## Reply by tom (ModalAI staff) · 2024-04-12 18:40:21 UTC (in reply to Nicholas Hansen)

@Nicholas-Hansen what do you see with `systemctl status voxl-imu-server`?

## Reply by Nicholas Hansen · 2024-04-12 18:52:49 UTC (in reply to tom)

@tom here is what I got ![6db85361-8214-4252-a722-93f35483dfa3-image.png](https://forum.modalai.com/assets/uploads/files/1712947964135-6db85361-8214-4252-a722-93f35483dfa3-image.png)

## Reply by tom (ModalAI staff) · 2024-04-12 19:13:28 UTC (in reply to Nicholas Hansen)

@Nicholas-Hansen Hmm what do you see if you run `voxl-imu-server` manually from the command line?

## Reply by Nicholas Hansen · 2024-04-12 19:28:59 UTC (in reply to tom)

@tom here is what I get when I run that command ![ff9affb7-249b-4858-a3f6-e9b52cb020f5-image.png](https://forum.modalai.com/assets/uploads/files/1712950136302-ff9affb7-249b-4858-a3f6-e9b52cb020f5-image.png)

## Reply by tom (ModalAI staff) · 2024-04-12 22:11:49 UTC (in reply to Nicholas Hansen)

@Nicholas-Hansen ![d423ca41-24e9-462f-872e-fafb69a07259-image.png](https://forum.modalai.com/assets/uploads/files/1712959864645-d423ca41-24e9-462f-872e-fafb69a07259-image.png) 

Here is what my setup looks like with the same release.

Can you confirm that your config file looks the same:

```
voxl2-mini:/$ cat /etc/modalai/voxl-imu-server.conf 
{
	"imu0_enable":	true,
	"imu0_sample_rate_hz":	1000,
	"imu0_lp_cutoff_freq_hz":	92,
	"imu0_rotate_common_frame":	true,
	"imu0_fifo_poll_rate_hz":	100,
	"aux_imu1_enable":	false,
	"aux_imu1_bus":	1,
	"aux_imu1_sample_rate_hz":	1000,
	"aux_imu1_lp_cutoff_freq_hz":	92,
	"aux_imu1_fifo_poll_rate_hz":	100,
	"aux_imu2_enable":	false,
	"aux_imu2_spi_bus":	14,
	"aux_imu2_sample_rate_hz":	1000,
	"aux_imu2_lp_cutoff_freq_hz":	92,
	"aux_imu2_fifo_poll_rate_hz":	100,
	"aux_imu3_enable":	false,
	"aux_imu3_spi_bus":	5,
	"aux_imu3_sample_rate_hz":	1000,
	"aux_imu3_lp_cutoff_freq_hz":	92,
	"aux_imu3_fifo_poll_rate_hz":	100
}
```

## Reply by tom (ModalAI staff) · 2024-04-12 22:20:45 UTC (in reply to Nicholas Hansen)

@Nicholas-Hansen Can you also provide me with the board's serial number? 

It will be on a white sticker in the format `MXXXXXXXXXX`

## Reply by tom (ModalAI staff) · 2024-04-12 22:22:30 UTC (in reply to Nicholas Hansen)

@Nicholas-Hansen Lastly can you provide the output of `voxl-imu-server -t`

## Reply by Nicholas Hansen · 2024-04-15 13:51:05 UTC (in reply to tom)

@tom M22000006B0 is the serial number, and the output of voxl-imu-server -t is ![963ed4e9-2164-46a9-93be-7e720fc358d9-image.png](https://forum.modalai.com/assets/uploads/files/1713189061253-963ed4e9-2164-46a9-93be-7e720fc358d9-image.png)

## Reply by Nicholas Hansen · 2024-04-15 15:47:25 UTC (in reply to tom)

@tom the config appears to match ![151bac38-95dc-4f03-9f95-1ed30345be06-image.png](https://forum.modalai.com/assets/uploads/files/1713196027474-151bac38-95dc-4f03-9f95-1ed30345be06-image.png)

## Reply by tom (ModalAI staff) · 2024-04-15 16:51:36 UTC (in reply to Nicholas Hansen)

@Nicholas-Hansen It seems as though there is a hardware issue preventing the IMU from communicating correctly. 

Our factory test data all looks good so this failure must've occurred post shipment.

If you'd like, you can send this board in for an RMA: https://www.modalai.com/pages/rma

## Reply by Nicholas Hansen · 2024-04-15 17:14:06 UTC (in reply to tom)

@tom Ok, thank you for you help & time in troubleshooting this issue
