bluejay icon indicating copy to clipboard operation
bluejay copied to clipboard

Blheli_s debug mode

Open papage opened this issue 3 years ago • 1 comments

I think, i would be usefull to have a special version of the firmware for debugging purposes. At some point an ESC goes bad (from a crash or other reason) and it would be nice if you could debug the problem in-system. That version when flashed to the ESC, should be able to help at least on these scenarios:

  • test if the FETs corresponding to motor wire A,B or C are working. The firmware could apply different waveforms on a FET in order to check this with a oscilloscope, a lightbulb or other mechanical means (motor, speaker etc). For example a test could be "apply Vcc for 5 secs on motor-wire A" in order to check if the FET is working, with a lightbulb connected to the motorwire A and GND.
  • test if the feedback (zero-crossing detection) from motorwires is working.

There could be other tests also and we could have the good ESCs (in a 4in1 ESC with one bad ESC) beeping to signal the test results.

Whats your opinion on this?

papage avatar Oct 23 '22 10:10 papage

https://github.com/mathiasvr/bluejay/issues/59

We actually have that now with EDT...

stylesuxx avatar Mar 01 '23 00:03 stylesuxx