BrushlessPower / BlHeli-Passthrough

Arduino Library and Examples for BlHeli Passtrough with ESP32
GNU General Public License v3.0
31 stars 5 forks source link

Flash Firmware with BlHeli Configurator didnt work #1

Open ericlangel opened 3 years ago

ericlangel commented 3 years ago

i get a Timeout Error

read/write Settings work

flashing with AM32 Config Tool is also working

ericlangel commented 3 years ago

After some 4Way DeviceWrite Commands the ESP32 stops processing the 4Way commands at all

ericlangel commented 3 years ago

Problem: BlHeli Configurator sends keep Alive directly after device write so devicewrite and keep alive are in the same Buffer and Bufferlength != devicewrite command length

ericlangel commented 3 years ago

Solved

Command length break the Serial.available() loop

BrushlessPower commented 3 years ago

Same Problem wit Atmega328P

if 4-way keep alive is send while Buffer is written to ESC....than the Firmware crash

1.problem: the 4-way keep alive command is not processed right after the last device write

  1. problem: with the next 4-way device write command the keep alive is processed but the device write will be broken somehow
BrushlessPower commented 3 years ago

Softserial disable all Interrupts

without interrupt the commands are not received (processed)