PX4-Autopilot
PX4-Autopilot copied to clipboard
[Bug] PIXHAWK6X-RT generates HARD FAULT
Describe the bug
I purchased two PIXHAWK6X-RT from HOLYBRO. I connected the QGC to check the operation. One of them generates a HARD FAULT in untimed. The other one generates a HARD FAULT.
I believe it is an initial failure of the FC.
To Reproduce
- launch QGC
- Connect PIXHAWK6X-RT to your PC.
- Connect for more than 30 minutes.
Expected behavior
Restart when a HARD FAULT occurs.
Screenshot / Media
No response
Flight Log
HARD FAULT https://review.px4.io/plot_app?log=25dad990-4315-43bf-8021-e79b4d47065c
NOT HARD FAULT https://review.px4.io/plot_app?log=8f3832c5-2f10-47c0-aa08-3aebe1411b61
Software Version
V1.15.0alpha
Flight controller
PIXHAWK6X-RT
Vehicle type
Multicopter
How are the different components wired up (including port information)
No response
Additional context
No response
@davids5 @PetervdPerk-NXP @dk7xe Any idea what can be causing this?
@muramura Please test current main.
@muramura your logs show month old code Dec 22 2023 11:18:10.
HW arch: PX4_FMU_V6XRT
HW type: V6XRT000000
HW version: 0x000
HW revision: 0x000
PX4 git-hash: 6be8cbe43966d57630e6743e163307c216444be7
PX4 version: 1.15.0 40 (17760320)
PX4 git-branch: main
OS: NuttX
OS version: Release 11.0.0 (184549631)
OS git-hash: 1e3aaefc60a18838dc696e8f0f335d8c989f35cc
Build datetime: Dec 22 2023 11:18:10
From @PetervdPerk-NXP today.
I just ran commit 9da162243600164558bda1941d6143bc4ab5babb on V6X-RT with Holybro baseboard and T1 RC02 baseboard with SIH and QGC for 30+ minutes without crashes.
Please run today's main.
I uploaded the latest MAIN to PIXHAWK6X-RT where HARD FAULT occurs. A HARD FAULT has occurred.
Can this FC be determined to be a hardware failure?
https://review.px4.io/plot_app?log=d248f3e0-1d98-4b57-a354-6fa14c0876f6
@muramura What is connected to the Setup? A picture would help.
@davids5 san.
I am connecting PIXHAWK6X-RT alone to my PC. PIXHAWK6X-RT is only connected to a PC.
PIXHAWK6X-RT<-(USB)->PC(UBUNTU, QGC)
@muramura I think it could be related to SD card corruption. Could you swap the sd cards from both boards and see if the crash moves over to the other FMU?
@PetervdPerk-NXP san.
I put the MICRO SD card of the PIXHAWK6X-RT, which does not generate a HARD FAULT, into the PIXHAWK6X-RT, which does.
The result was that a HARD FAULT occurred.
Log: https://review.px4.io/plot_app?log=feccc2c9-ff17-4416-827c-d106e7104bad
Okay I think I've might found a procedure to get your PIXHAWK6X-RT into a correct state.
- Remove the SD card
- Startup PIXHAWK6X-RT
- Open up a nsh console and type
mtd erase - Format the SD card
- Re-insert the SD card
@PetervdPerk-NXP san.
I have implemented the procedure.
The result was a HARD FAULT occurred.
https://review.px4.io/plot_app?log=95af7a19-74c2-4bfe-93bb-cea90b22391b
@PetervdPerk-NXP san.
I put the MICRO SD card of the PIXHAWK6X-RT, which does not generate a HARD FAULT, into the PIXHAWK6X-RT, which does.
The result was that a HARD FAULT occurred.
Log: https://review.px4.io/plot_app?log=feccc2c9-ff17-4416-827c-d106e7104bad
@muramura , you are saying you have two Pixhawk 6x-RT that uses the same FW and setup, and only one of them have hardfault. The other one is working without issue, is that correct?
Dear HOLYBRO STAFF
Yes, that is correct. One does not experience a single HARD FAULT.
2024年1月30日(火) 15:15 Vincent Poon @.***>:
@PetervdPerk-NXP https://github.com/PetervdPerk-NXP san.
I put the MICRO SD card of the PIXHAWK6X-RT, which does not generate a HARD FAULT, into the PIXHAWK6X-RT, which does.
The result was that a HARD FAULT occurred.
Log: https://review.px4.io/plot_app?log=feccc2c9-ff17-4416-827c-d106e7104bad
@muramura https://github.com/muramura , you are saying you have two Pixhawk 6x-RT, and only one of them have hardfault. The other one is working without issue, is that correct?
— Reply to this email directly, view it on GitHub https://github.com/PX4/PX4-Autopilot/issues/22660#issuecomment-1916148475, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE5YMSXW7UWXBVDTO7DK3LYRCFW7AVCNFSM6AAAAABCDUE75CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJWGE2DQNBXGU . You are receiving this because you were mentioned.Message ID: @.***>
I guess this is the same https://github.com/PX4/PX4-Autopilot/issues/22610 ?
@muramura - Please test current main.
I installed the master MAIN. The result was not resolved. HARD FAULT occurs PIXHAWK6X-RT generates HARD FAULT. PIXHAWK6X-RT that does not generate a HARD FAULT does not generate a HARD FAULT.
I purchased a third PIXHAWK6X-RT. I let it heat run on its own for over an hour. This PIXHAWK6X-RT did not cause a HARD FAULT.
I was convinced. The PIXHAWK6X-RT that generates a HARD FAULT is a hard defect.
https://review.px4.io/plot_app?log=865c086b-5ea4-4b12-97c2-931e5f04545e