-
-
Notifications
You must be signed in to change notification settings - Fork 933
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
UART Flashing the Flight Controller #4322
Comments
Like the idea, and example for abstracting some protocol implementation. |
@haslinghuis, can you point me to the file that handles the flashing. |
While reading the STM32 UART bootloader, the command set is same as with the DFU Bootloader as in
So all that remains is to start the Bootloader in UART mode and then send those commands over UART. |
Oh well seems like this feature is already being implemented. 😅 |
lols, forgot to remove the console log
|
@haslinghuis, in this line I see that there |
We have completely shifted to PWA using WebSerial API. Have migrated STM and DFU and added BT along the way. |
I actually did that on my Flight Controller, and I am also able to flash my flight controller over the same UART, but I want this functionality inside Betaflight so that I don't have to switch apps (It's convenient). I think I now have an understanding of the code I am trying to implement this on my own. Final PlanWhat I want is a system so that I can flash my FC over USB, Wi-Fi, Bluetooth, and I have an IOS device so it will be great that I am able to configure the Flight Controller over Web Sockets. Implementation
As of now my main focus is to get UART flashing working. |
Is your feature request related to a problem? Please describe
I recently broke a
USB port
on my flight controller, to access my flight controller I had to buildBetaflight
withMSP
onUART
enabled, and then flash it usingstmCubeProgrammer
. Which is all good but when ever I have to update my flight controller firmware I have to usestmCubeProgrammer
.Describe the solution you'd like
I would like if the
betaflight-configurator
could have an inbuiltstmCubeProgrammer
.STM has published their UART bootloader protocol for programming here
Describe alternatives you've considered
I have used online flashing tools like https://github.com/Gamadril/stm-serial-flasher, these work great.
Other information
I am trying to implement this on my own will love to see some feedback form the developers.😊
The text was updated successfully, but these errors were encountered: