bitdump / BLHeli

BLHeli for brushless ESC firmware
GNU General Public License v3.0
1.89k stars 1.07k forks source link

Suggestion: Integration of cleanflight passthrough for SimonK bootloader #130

Open rav-rav opened 8 years ago

rav-rav commented 8 years ago

After putting together code from [https://github.com/cleanflight/cleanflight/commit/fa862f4395a76e1bd05f425a19edd461df4c9cc0](cleanflight usblinker) and https://github.com/c---/ArduinoUSBLinker/blob/master/ArduinoUSBLinker.ino I have written a passthrough feature for betaflight.

Right now it is difficult to use, but it could be integrated in BLHeli Suite just like the 1wire passthrough. Any thoughts? https://github.com/rav-rav/betaflight/commit/f948ea37ef18aaf71a0b29dff7fedb1245f4da8e

tracernz commented 8 years ago

Was done some time ago https://github.com/sambas/cleanflight/blob/master/src/main/drivers/serial_escserial.c#L824

4712 commented 8 years ago

@tracernz: With help of your integration of vcp baud-rate Beside of some a lot cleaning up needed and a random hang after disconnecting for unknown reason, I got vcp pass through working fine. For the 256k flash devices a 4way-interface port (excluding C2) is available, but it costs some kb. I will post it soon.

tracernz commented 8 years ago

@4712 Nice! I look forward to trying it.

rav-rav commented 8 years ago

Great solution, I didn't know it existed. Looking forward to seeing this integrated into BLHeli Suite.