# voxl-configure-mpa failled on voxl-esc step

Source: https://forum.modalai.com/topic/2805/voxl-configure-mpa-failled-on-voxl-esc-step
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2023-11-01 22:12:09 UTC by Cai Bill
Replies: 11 · Views: 2377

## Cai Bill · 2023-11-01 22:12:09 UTC

I was trying to get the drone flying again, so I tried the voxl-configure-mpa to reset all service. But It failed on voxl-esc setup_sentinel_v. Should I be worried? How should I fix this problem. 

Log shown bellow: 

```
executing: voxl-esc setup_sentinel_v1 
enabling bridge
detected voxl-px4 is enabled
Removed /etc/systemd/system/multi-user.target.wants/voxl-px4.service.
detected voxl-px4 is running, stopping it now
bridge enabled
[INFO] Scanning for ESC...
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
[ERROR] Unknown board detected: 
disabling bridge
re-enabling voxl-px4
Created symlink /etc/systemd/system/multi-user.target.wants/voxl-px4.service → /etc/systemd/system/voxl-px4.service.
restarting voxl-px4
bridge disabled
EXITING VOXL-ESC WITH ERROR
FAILED TO EXECUTE: voxl-esc setup_sentinel_v1

executing: voxl-configure-px4 sentinel_v1 
wiping old config file
enabling  voxl-px4 systemd service
Done configuring voxl-px4
Success!

executing: voxl-configure-px4-params -np MRB-D0006 
[INFO] Voxl-px4 service found and active.
[INFO] Loading the following param files: platforms/Sentinel_V1.params, EKF2_helpers/outdoor_gps_baro.params.

[INFO] Loading file: /usr/share/modalai/px4_params/v1.14/platforms/Sentinel_V1.params
[INFO] Scanning currently loaded parameters...

[INFO] Loading file: /usr/share/modalai/px4_params/v1.14/EKF2_helpers/outdoor_gps_baro.params
[INFO] Scanning currently loaded parameters...

[INFO] Loading file: /data/px4/param/parameters_gyro.cal
[INFO] Trimming duplicate parameters...
[INFO] Scanning currently loaded parameters...

[INFO] Loading file: /data/px4/param/parameters_acc.cal
[INFO] Trimming duplicate parameters...
[INFO] Scanning currently loaded parameters...

[INFO] Loading file: /data/px4/param/parameters_level.cal
[INFO] Trimming duplicate parameters...
[INFO] Scanning currently loaded parameters...

[INFO] Loading file: /data/px4/param/parameters_rc.cal
[INFO] Scanning currently loaded parameters...
[INFO] Done configuring for platform MRB-D0006
Success!

checking /data/modalai/voxl-imu-server.cal
checking /data/px4/param/parameters_mag.cal

------------------------------------------------------------------
         FAILED TO EXECUTE the following steps:
voxl-esc setup_sentinel_v1

      Encountered Problems Configuring MPA Services :-/
        Some Services may not start up on next reboot

checking /data/modalai/voxl-imu-server.cal
checking /data/px4/param/parameters_mag.cal
Calibration File Status:
Missing /data/modalai/voxl-imu-server.cal 
Present /data/modalai/opencv_tracking_intrinsics.yml 
Present /data/modalai/opencv_stereo_front_intrinsics.yml 
Present /data/modalai/opencv_stereo_front_extrinsics.yml 
Present /data/modalai/opencv_stereo_rear_intrinsics.yml 
Present /data/modalai/opencv_stereo_rear_extrinsics.yml 
Present /data/px4/param/parameters_gyro.cal 
Present /data/px4/param/parameters_acc.cal 
Missing /data/px4/param/parameters_mag.cal 
Present /data/px4/param/parameters_level.cal 

Detected Missing Calibration Files
please run the required cals
https://docs.modalai.com/calibration/

                PLEASE POWER CYCLE YOUR VOXL
------------------------------------------------------------------

```

## Reply by tom (ModalAI staff) · 2023-11-01 22:14:52 UTC

@Cai-Bill If you run `voxl-esc setup_sentinel_v1` manually does it still fail?

## Reply by Cai Bill · 2023-11-01 22:17:21 UTC (in reply to tom)

@tom Yes, It still fail:

Here is the log: 
```
$voxl-esc setup_sentinel_v1
enabling bridge
detected voxl-px4 is enabled
Removed /etc/systemd/system/multi-user.target.wants/voxl-px4.service.
detected voxl-px4 is running, stopping it now
bridge enabled
[INFO] Scanning for ESC...
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
Received standard error event 2
Received standard error event 2
Couldn't configure flight_controller sensor
Error calling voxl_uart_init
[ERROR] Unknown board detected: 
disabling bridge
re-enabling voxl-px4
Created symlink /etc/systemd/system/multi-user.target.wants/voxl-px4.service → /etc/systemd/system/voxl-px4.service.
restarting voxl-px4
bridge disabled
EXITING VOXL-ESC WITH ERROR

```

## Reply by tom (ModalAI staff) · 2023-11-01 22:29:17 UTC (in reply to Cai Bill)

@Cai-Bill I would inspect the ESC wiring, both power and data to voxl2. When power is given to the drone do the LEDs on the ESC light up? Does it make any noise?

## Reply by Cai Bill · 2023-11-01 22:38:16 UTC (in reply to tom)

@tom 
When I power on the drone, the ESC does light up blue and flash for a bit, then it turned off. The drone makes boot on noise. I check the wiring, all joint are connected to the broad.

## Reply by Cai Bill · 2023-11-01 22:58:01 UTC

```
voxl2:~$ px4-qshell modalai_esc
INFO  [qshell] Send cmd: 'modalai_esc'
ERROR [uORB] Error Sending [qshell_req] topic data over comm_channel
ERROR [qshell] command timed out
ERROR [qshell] Command failed
voxl2:~$ px4-listener esc_status
never published

```
I also tried px4-qshell modalai_esc and  px4-listener esc_status, Both of them failed

## Reply by Cai Bill · 2023-11-03 21:52:41 UTC (in reply to tom)

@tom Hi Tom,
I'm still unable to figure out what happen to the ESC, I can only suspected the firmware or the wiring. Do you guys offer mailed in repair?

## Reply by tom (ModalAI staff) · 2023-11-03 22:00:02 UTC (in reply to Cai Bill)

@Cai-Bill We do: https://www.modalai.com/pages/rma

but I suspect it is a wiring / cable issue given the ESC is lighting up and the motors are chiming as expected

## Reply by smilon · 2023-12-14 13:44:10 UTC

Any updates on this @Cai-Bill ? Was it a hardware-related issue? I am facing something similar.

## Reply by Alex Kushleyev (ModalAI staff) · 2023-12-15 16:05:40 UTC (in reply to smilon)

@smilon Hello, if you are seeing the following error: `Error calling voxl_uart_init` , then there is some mismatch between the `voxl-esc` tools and `libvoxl_io` library or a similar issue.

Please update to the latest SDK 1.1.1 to get everything in sync.

Thank you

Alex

## Reply by Eric Katzfey (ModalAI staff) · 2023-12-16 16:33:24 UTC (in reply to Alex Kushleyev)

@Alex-Kushleyev I agree, seems like a version mismatch. The newest SDK 1.1.2 was just released yesterday so we recommend you load that and try again.

## Reply by smilon · 2023-12-18 09:13:27 UTC

@Alex-Kushleyev @Eric-Katzfey Thank you for clearing this up. I am trying to install SDK 1.1.2 but my host machine can't discover the VOXL2 as a fastboot device (I have made an issue [here](https://forum.modalai.com/topic/2956/voxl2-unbricking-starlingv2-forced-fastboot-mode-doesn-t-work/3?_=1702890647711)). I would appreciate if you have any recommendations to hop on there as it is an urgent issue.
