Skip to content

z_archive: 0.21 Testing guide and checklist

Chris edited this page Aug 16, 2023 · 1 revision

v0.21 Testing

Our goals for v0.20 were very ambitious. Unfortunately the codebase made it very hard for us to verify things and reliably implement new features. That's why the decision has been made to do a proper code clean up as the main feature for this release. But that's of course not all - in progress of the cleanup we also fixed some bugs and added some security features.

The previously teased features will come at a later point in one form or another.

What are we going to test?

Bluejay v0.20 features:

  • Fixed 3D operations
  • Dshot errors
  • EDT safety arm

What do we need?

A drone with Blheli_S/Bluejay based ESCs and optionally with blackbox

  • Bluejay 0.20 rcN firmware files: TBA
  • Dev version of esc-configurator.com
  • Betaflight at 4.4.0 - on later versions there are currently some DSHOT bugs being worked out which makes it not suitable for testing yet

BF Testing 4.5 (for later)

Common steps

  • Download and install Betaflight Configurator version
  • Download and install Betaflight Blackbox Viewer version
  • Prepare a drone with blackbox with the provided Betaflight version
  • Flash Bluejay 0.20 version in your ESCs with ESC Configurator tool. <-- Remember to turn off your radio when flashing!
  • Apply defaults
  • Enable Built-in sensors (EDT), in Betaflight Configurator imagen

Testing DSHOT errors

  • Prepare your drone like commented above
  • Open Betaflight Configurator
  • Open Blackbox tab
  • Select DSHOT_STATUS_N_ERPM_DEBUG2 debug mode
  • Make sure that your blackbox has enough free space (typically 8MB - when in doubt, just erase it) and save
  • Go flying
  • Send us the logs. See below

Testing EDT safety arm

  • Remove your drone's propellers
  • Go to esc configurator tool and check ESC force EDT arm and save configuration
  • Go to Betaflight configurator tool and open Motors Tab
  • Remove the propellers
  • Check I understand the risk if you understood that if you don't remove the propellers the drone will jump from the table (into your face and probably kill you) as soon as you move the sliders. Sorry for insisting :)
  • Move one motor slider up. The motor should start spinning
  • Move the slider down to zero
  • Mode the slider up. The motor should beep
  • As soon as you rearm the drone disabling and enabling again the switch button you will be able to spin the motor again. The switch button sends again a enable EDT command to the ESC.

Submitting blackbox data

  • The name of the blackbox file should have the following format: [yyyymmddhhmm][PWM_FREQ][NAME].bbl
  • Upload the log in Bluejay's Discord server testing channel: https://discord.gg/bwFh9xE5

Analyzing Logs

imagen

The important data to check commutation are the stress levels. They are counters [0-15] that when they keep below 7 commutation is good, but when it reaches 10 there may be a problem with a motor or esc. In the capture they can be seen 4 ESCs. The first one shows A0 W0 E0 STRESS:3 34200Rpm. It means that Alert flag is off, Warning flag is off, Error flag is off, Stress level is 3 and at that point ESC1 is spinning the motor at 34200Rpm. This log have been taken using DSHOT_STATUS_N_ERPM_FRACTION_18 debug mode. It is important to report and submit logs with high stress levels at the end of the flight, because this way the maximum stress level during the whole flight is reported.

Reported Issues

A collection of reported issues/findings on Discord:

  • turtle mode weaker (quicksilver) - a FET burned out - Working fine in 0.20 rc3, with BF4.4
  • turtle mode reversal not working (quicksilver, seems to work fine on BF though) - Working fine in 0.20 rc2, with BF4.4 and QS0.9.5+
  • stalls during quick flips on 5" (logs needed, confirmation of correct setup needed) - Working fine in 0.20 rc4+, with BF4.4. Added fast low pass filter to avoid overshots on bad PID tunings (cause of hot/burn motors, and ESCs).
  • 3D bidirectional operation not working - Working fine in 0.20 rc6, with BF4.4