esp8266fcgui icon indicating copy to clipboard operation
esp8266fcgui copied to clipboard

FC flashing?

Open SandroGrzicic opened this issue 8 years ago • 3 comments

Is there any way we can flash our FCs using this module?

I see there is no Flash Firmware option in the Betaflight Configurator.

What exactly is the difference between connecting the FC via USB and connecting to the FC via an UART via ESP? Is there any way the ESP module can "fake" being a USB host, or a serial host or something like that, allowing for FC flashing? Maybe "faking" a COM port to make the BF configurator think it's connecting via a real COM port, to allow for flashing, or something like that?

SandroGrzicic avatar Dec 09 '16 01:12 SandroGrzicic

code would not fit and it's a bit dangerous to flash that way :) so I opted out :) no bricked copters on the field :D

me-no-dev avatar Dec 09 '16 08:12 me-no-dev

I have the 16MB module, any chance it can fit there? :)

I'm not too worried about the flash process going wrong, if anything goes wrong when you get home you can just flash it over USB. ;)

SandroGrzicic avatar Dec 09 '16 08:12 SandroGrzicic

it can fit on 16MB for sure, but that is a case where it's not standardly supported by Arduino (because ESP8266's bootloader does not support flash larger than 4MB). I will at some point look into a way to simplify this, but uploading to that region with the tools at hand is also unsupported.

As for flashing: maybe someone with better knowledge of the STM flash process can give it a go. I'm not familiar with it and as you know there is DFU mixed in it as well... screams danger to me :)

BTW the 4MB issue can be "fixed" by using SDCard

me-no-dev avatar Dec 09 '16 08:12 me-no-dev