Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support via_BetaflightPassthrough with Ardupilot #583

Open
CapnBry opened this issue May 9, 2021 · 3 comments
Open

Support via_BetaflightPassthrough with Ardupilot #583

CapnBry opened this issue May 9, 2021 · 3 comments
Labels
enhancement 🪄 New feature or request

Comments

@CapnBry
Copy link
Member

CapnBry commented May 9, 2021

Ardupilot can do passthrough serial as well and if configured manually (holding the boot button and setting the passthrough manually) has worked for a user so 420000 baud passthrough should work.

Needed

  • Connect to Ardupilot (baud rate might be anything from 1200 to 1500000) and query SERIALx_PROTOCOL (x = 1-8) and look for which has a value indicating it is CRSF (29)
  • Set SERIAL_PASS2 to the x discovered to be CRSF
  • May need to set SERIAL_PASSTIMO to set the timeout for the port to revert back to Ardupilot. 0 is forever, value is in seconds.
  • Upload away!

Ardupilot Documentation
Serial Passthrough
All parameters

@CapnBry CapnBry added the enhancement 🪄 New feature or request label May 9, 2021
@CapnBry CapnBry added this to the 1.x milestone May 9, 2021
@brandonrc
Copy link
Member

@CapnBry are you saying someone has actually flashed ELRS with Ardu? I attempted this but could not get it to work. Got some weird Errors. I Will try it again.

@CapnBry
Copy link
Member Author

CapnBry commented May 10, 2021

Yes but they did it all manually by holding down the boot button on the RX, powering, then setting SERIAL_PASSTIMO and SERIAL_PASS2 and using the UARTUpload.py script.

@aLDime
Copy link

aLDime commented Jan 18, 2022

`Result

Flash error
*** [upload] Error 2
========================= [FAILED] Took 20.00 seconds =========================
Environment Status Duration


DIY_900_RX_ESP8285_SX127x_via_BetaflightPassthrough FAILED 00:00:19.998
==================== 1 failed, 0 succeeded in 00:00:19.998 ====================
Actions`

@pkendall64 pkendall64 removed this from the 1.x milestone Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🪄 New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants