# QGroundControl parameters are missing from firmware

Source: https://forum.modalai.com/topic/2930/qgroundcontrol-parameters-are-missing-from-firmware
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: starling
Posted: 2023-12-08 14:57:59 UTC by smilon
Replies: 7 · Views: 2718

## smilon · 2023-12-08 14:57:59 UTC

Re: [QGroundControl parameters are missing from firmware](/topic/2604/qgroundcontrol-parameters-are-missing-from-firmware)

Hello, 

I have been facing the same problem on my newly aqcuired StarlingV2 after I did a few nominal tests with QGroundControl. Steps:

* I only slightly modified voxl-vision-hub, voxl-tag-detector, tag_location conf files for AprilTag fixed frame relocalization. After rebooting I got this error on QGroundcontrol. Only changed the parameters as this docu states https://docs.modalai.com/voxl-vision-hub-apriltag-relocalization/

* In order to overcome it I then ran voxl-configure-mpa to reset to factory default and I am getting the following error:

![Screenshot from 2023-12-08 16-50-30.png](https://forum.modalai.com/assets/uploads/files/1702047058596-screenshot-from-2023-12-08-16-50-30.png) 

Not really sure how to proceed since resetting to factory defaults should bring back the original calibration files no? Feels like the problem is elsewhere and I would first like to be sure before wasting time in calibration. 

Best, 

Milton

## Reply by smilon · 2023-12-08 15:16:24 UTC

After power cycling, I am now getting the following QGC error:

![Screenshot from 2023-12-08 17-14-12.png](https://forum.modalai.com/assets/uploads/files/1702048535162-screenshot-from-2023-12-08-17-14-12.png) 

Further on, running **voxl-esc setup_starling_v2** gives the following error:

*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
bridge disabled
EXITING VOXL-ESC WITH ERROR*

If you could please send me the calibration files as soon as possible and I will do a factory flash of the SDK as mentioned in [ Starling V2 voxl-configure-mpa fails to execute voxl-esc setup_starling_v2 and voxl-elrs --scan](https://forum.modalai.com/topic/2822/starling-v2-voxl-configure-mpa-fails-to-execute-voxl-esc-setup_starling_v2-and-voxl-elrs-scan/2?_=1702049356496)

Model Serial #: M23000001JJ

## Reply by tom (ModalAI staff) · 2023-12-08 17:17:04 UTC (in reply to smilon)

@smilon You have to scroll up to see the actual errors. It looks like the two following commands are what generated errors:

`voxl-esc setup_starling_v2`
`voxl-elrs --scan`

The calibration status is fine, you can generate the missing `parameters_level.cal` by calibrating level via. QGroundControl, but that wouldn't cause the errors that are occurring above

## Reply by smilon · 2023-12-11 08:23:25 UTC (in reply to tom)

@tom Thanks for the quick reply. I will calibrate the level tomorrow via QGC. Is there any idea why the original issue, prior to running voxl-configure-mpa occurred? Could it hint to some wrongly defined config files on my side?

## Reply by tom (ModalAI staff) · 2023-12-11 17:57:31 UTC (in reply to smilon)

@smilon In order for things to be setup properly, px4 params, etc. voxl-configure-mpa + a reboot are required. So if either of those weren't completed before booting up QGC then that could've been the cause. Sometimes a reboot of QGC can solve that issue as well as it does some weird caching sometimes

## Reply by smilon · 2023-12-14 09:59:15 UTC (in reply to tom)

@tom Sorry to bother you again. But I am facing issues where I'm missing several QGC params such as battery percent and some RC params. Also attempting to calibrate the level via QGC is unresponsive and generally QGC itself seems unresponsive to any command I give. Even though I'm getting a "Ready to Fly" state. I can't arm the drone since I can't calibrate the level. I also can't run voxl-configure-mpa sucessfully unless I can solve the "voxl-esc setup_startling_v2" error. Any ideas on how to move onwards?

## Reply by smilon · 2023-12-14 12:15:33 UTC (in reply to smilon)

It seems the error is in the ESC, no clue why unrelated px4 parameters are being deleted. However I can't discover the esc when i run: 
```
voxl-esc scan
or 
voxl-esc detect
```
The ESC wiring looks fine and I have not put more than 30minutes of flight time in the Starling, so I'm guessing its a firmware issue. Looks like it would be better if I can perform a factory reset and you can send me the calibration files for my model (M23000001JJ)?

## Reply by tom (ModalAI staff) · 2023-12-14 18:02:26 UTC (in reply to smilon)

@smilon Yeah that's worth a try. You can also pull the calibration files off before performing a factory reset by locating them in `/data/modalai` and from host running `adb pull /data/modalai/* .` and then pushing them back on after
