-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IO lose connection after a FMU warm reboot #12531
Comments
Interesting, I have heard something similar recently. I'm not sure what you mean with the reboot in bootloader or not, I don't understand why it would matter for the problem you're seeing. Do you have any console output for the case when it happens? And how did you make it happen? Did you try it 300 times 😄 ? |
https://github.com/PX4/Firmware/blob/master/src/modules/px4iofirmware/registers.c#L648 to L663
Yes, with mavlink command. It's just an estimated average, sometime happend after around 200 reboots and sometime after around 400 reboots,not sure. |
Interesting. I'd have to check.
Nice, ok. |
Ok, and how did you verify that px4io was ok? Just trying to reproduce your setup... |
So one thing to note is that the px4io firmware does not reboot when you reboot fmu. However, the fact that sometimes the driver doesn't correctly reconnect to the IO board is odd, and it's something I have heard from someone else as well. |
Yep. Now that the problem always happen after warm reboot, I think it necessary to figure out how the reboot process, and there might be some step with uncertainty which can cause the problem. |
I saw px4io led blinking when fmu reboots previously, thought it rebooting, but turned out to be just a signal of losing fum input. But once the problem happened, the following reboots won't make any change to the px4io led, which just keep constantly on. So the px4io firmware might still work, and the status page keeps unchanged even if the fum is rebooting. Should be something wrong with the reconnection. |
Correct.
Maybe the px4io firmware crashes in that case. Just a guess. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
@KeyneZzz did you get to the bottom of this? |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
It looks like we reproduced this issue on 1.9 version and Cube 2.1 ~1200 reboots and 8 problems with restart with similar symptoms Will try to get more info soon. |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Recently I met the problem that px4io would fail after a warm reboot sometimes,turned out that the pwm setting would fail to load, but not very often, about once in 300 to 400 reboots.
The problem happened with Pixhawk2.1 and firmware v1.8.2. I assume that the reboot causes some problem, but I can only find the px4io driver sending a reboot-into-bootloader procedure, but not any with normal reboot. I want to know how the normal reboot command was sent and how px4io firmware deal with a normal reboot, so I can find some clue about the problem.
The text was updated successfully, but these errors were encountered: