PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.52k stars 13.51k forks source link

Flashing nxp_fmuk66-v_rtps or nxp_fmuk66-v_default causes continuous self-rebooting #17212

Closed KatrinMoritz closed 3 years ago

KatrinMoritz commented 3 years ago

Describe the bug Flashing the nxp_fmuk66-v3_rtps.px4 or nxp_fmuk66-v3_default.px4 via QGC causes that the FMU is always rebooting and not starting correctly. It reboots before the communication with QGC is started. Therefore the FMU is with this version not usable. This behavior can be observed from the commit e7722b11eb. In the commit before (c1c0a62be5) the firmware works as expected.

To Reproduce Steps to reproduce the behavior:

  1. Build the firmware on the status of commit e7722b11eb
  2. Uploaded firmware (.px4) via QGC
  3. See error: directly rebooting after every reboot

Expected behavior Blue light is blinking slow. FMU connects to QGC after flashing.

Log Files and Screenshots I want to upload a video but the file is too big.

Drone (please complete the following information):

KatrinMoritz commented 3 years ago

@96moustafa @dk7xe

dk7xe commented 3 years ago

@dagar @davids5 may one of you please look into that. Thank you!

davids5 commented 3 years ago

@dk7xe can you get a console on the debug connector? Is it a hardfault in the PWM module?

dagar commented 3 years ago

This should be fixed in master as of https://github.com/PX4/PX4-Autopilot/commit/9b1cf98474b271ef402dd3d7dd47acd581acc1d7.

KatrinMoritz commented 3 years ago

I tested the new master with both versions (default and rtps). The rebooting issue is fixed with 9b1cf98, @dagar.