betaflight-tx-lua-scripts icon indicating copy to clipboard operation
betaflight-tx-lua-scripts copied to clipboard

Stuck on Downloading VTX Tables

Open ewingate opened this issue 5 years ago • 15 comments

I'm using a Jumper T16 with OpenTX (2.3.7), internal multi protocol module ( 1.3.1.59), FrSky X4R with f.port (171114), and BF 4.2.2.

I have loaded all the folders for the 1.5.0 script onto my SD card and run the script to get it to compile. When I re-run it it initializes but then hangs on the Downloading VTX Table step. I was running the old version of the BF scripts and could change power and channel without any issue. I'm getting telemetry otherwise (RSSI, VFAS, etc). I've tried discovering new sensors.

Not sure what to do next.

ewingate avatar Feb 06 '21 23:02 ewingate

That it got past "Initialising" means that telemetry is working and the script is able to communicate with your flight controller. "Downloading VTX Tables" can take a while especially with Fport. Sometimes it can take a minute so just let it download for a while and see what happens.

The X4R might be affected by a bug that prevents communication between the Betaflight lua scripts and the flight controller from working properly https://github.com/betaflight/betaflight-tx-lua-scripts/issues/151.

klutvott123 avatar Feb 06 '21 23:02 klutvott123

Is there a workaround where I can load the vtx table manually?

ewingate avatar Feb 07 '21 00:02 ewingate

Yes, the vtx tab in the configurator has a button for that. It creates a .lua file containing the vtx tables. You have to rename the file to match the name of the model on your transmitter and then place it in the "BF/VTX" folder.

I recommend updating the receiver with the latest firmware version found here https://github.com/FrSkyRC/Firmware-Test/blob/master/ACCST%20firmwares%20v2.1.0/FW-X4R-XSR_ACCST_v2.1.0_FPort.zip as that might fix your issue. The multiprotocol module may also have to be updated for it to work with ACCST V2

klutvott123 avatar Feb 07 '21 00:02 klutvott123

I think the workaround is enough to close this. I put the table .lua file in the VTX folder and everything is working as intended now.

ewingate avatar Feb 07 '21 02:02 ewingate

Here's a simple test you can do to determine if it's REALLY working as intended. In the lua script try setting one of the pids to 125 and save the page. Did it work? Then try setting it to 126 and save the page. Does it still work?

klutvott123 avatar Feb 07 '21 08:02 klutvott123

I can save values up to 124. At 125 and above I don't get values in any of the PID fields but the value is set when I look in the Configurator. Setting the PID back to default in the Configurator and saving puts the correct values back into the script display.

ewingate avatar Feb 07 '21 19:02 ewingate

It's a bug in the receiver firmware and that's why the script couldn't download the vtx tables. The firmware I linked to above is the latest for the X4R and will probably fix the issue.

klutvott123 avatar Feb 07 '21 19:02 klutvott123

It has fixed the issue.

ewingate avatar Feb 07 '21 20:02 ewingate

Hey, I have a copter with the DJI airunit and the lua script is stuck in downloading VTX table. Is there a workaround for this problem?

HirschJunge avatar Feb 23 '21 23:02 HirschJunge

Which receiver? Update RX/TX firmware.

klutvott123 avatar Feb 24 '21 11:02 klutvott123

R-XSR and RM TX16S Multimodule. Okay i will try that

HirschJunge avatar Feb 24 '21 21:02 HirschJunge

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week.

github-actions[bot] avatar Mar 27 '21 04:03 github-actions[bot]

Issue closed automatically as inactive.

github-actions[bot] avatar Apr 03 '21 04:04 github-actions[bot]

I'm stuck on "Downloading board info", is this issue related ? Downloading VTX tables took a while but it seems eventually downloaded, the next screen was "downloading board info"

is there a work around whereby I could place the board info on the SD card manually ? Otherwise I cannot enter "Betaflight Setup" menu.

I'm running Taranis X9D+ with 2.3.15 OpenTX firmware

peteoz avatar Jan 21 '23 01:01 peteoz

Yes, the vtx tab in the configurator has a button for that. It creates a .lua file containing the vtx tables. You have to rename the file to match the name of the model on your transmitter and then place it in the "BF/VTX" folder.

I recommend updating the receiver with the latest firmware version found here https://github.com/FrSkyRC/Firmware-Test/blob/master/ACCST%20firmwares%20v2.1.0/FW-X4R-XSR_ACCST_v2.1.0_FPort.zip as that might fix your issue. The multiprotocol module may also have to be updated for it to work with ACCST V2

For people using BF4.5: the association vtx_file<->board now uses mcu_id. Also the correct dir is BF/VTX_TABLES The configurator button "save to lua script" exports the file with the correct name.

newfla avatar Dec 14 '25 11:12 newfla