Skip to content

DSHOT ESCs reboot when save on disarm is called. #9441

@MrD-RC

Description

@MrD-RC

This is an issue that @rts18 raised in PR #9335. It is not related to that feature, but to save on disarm. Maybe @rts18 could provide more details, as this is just a copy/paste of what was said in the PR.


rts18

If STATS = ON.
When the craft is disarmed any ESC using Dshot protocol will reboot.

@breadoven This causes grief with multirotor inflight emergency rearming. #9254
Tested with two F405 flight controllers.

Someone else has reported this matter. Now it has come to a head, with bad results.
#8945 (comment)

@Jetrell I guess you never discovered this problem when testing. Maybe because you've never used the stats again. Wise move!!

@DzikuVx If this matter can not be resolved before the 7.0.0 release. May I ask that the release notes make mention of it ?


MrD-RC
@rts18 this should really be it’s own issue for visibility.


** @Jetrell **

I haven't used Stats on any of my models since I wrote that post... I'd actually forgotten about it when I was testing inflight rearming.. But I wouldn't have enable it, to prove what I already knew.

I'm sorry if it caused a crash.. Sometimes things slip through the cracks.


rts18

this should really be it’s own issue for visibility.

I was hoping to get some clarity here first. Of why this matter seemed to have been over looked.

But I wouldn't have enable it, to prove what I already knew.

Fair enough.

other than the fact it obviously won't work if the FC reboots ?

It wasn't caused by the inflight rearming software. And it wasn't the flight controller that rebooted after disarming. It was the 4 ESCs.
This obviously takes between 2 to 4 seconds for them to play their tune in the reboot sequence. With some reinitializing faster than others.
That in turn sent the quad into a spinning tumble. With great similarity to issue 8945.

For what its worth. I did test the inflight rearming on this quad before I stupidly trusted turning on the stats. And it worked with no hitches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions