Hard fault running task mavlink_rcv_if1

Hi all,

I have a holybro x500 v2 with a pixhawk 6c. I have installed everything and the drone is able to fly manually. However, now i am trying to let it fly autonomously. I connect the pixhawk with my raspi 4 and in gazebo the code seems to work. When i try to arm it, it give the error on QGC: PX4 SD card corrupted, vehicle needs service. When i look on the sd card, i found the file below which indicates a hard fault when running a task. Anyone have a clue what caused this or how i can fix it?

[hardfault_log] – 2023-12-07-12:10:49 Begin Fault Log –
System fault Occurred on: 2023-12-07-12:10:49
Type:Hard Fault in file:armv7-m/arm_hardfault.c at line: 173 running task: mavlink_rcv_if1
FW git-hash: b8c541dd7277ed735139d7d1bfb829d61fbe29fb
Build datetime: Oct 19 2023 16:22:41
Build url: localhost
Processor registers: from 0x30016394
r0:0x0000017f r1:0x000001bd r2:0x000000e4 r3:0x3800fe5f r4:0x38006390 r5:0x000000e5 r6:0x380064e4 r7:0x000099f1
r8:0x0000021c r9:0x000001a1 r10:0x000001a1 r11:0x38006458 r12:0x00000000 sp:0x30016468 lr:0x08024b35 pc:0x0802ff24
xpsr:0x21000000 basepri:0x00000080 control:0x00000004
exe return:0xffffffe9
Fault status registers: from NVIC
cfsr:0x00008200 hfsr:0x40000000 dfsr:0x00000000 mmfsr:0x38010000 bfsr:0x38010000 afsr:0x00000000 abfsr:0x00000000
IRQ stack:
top: 0x240012c0
sp: 0x24001250 Valid
bottom: 0x24000fc0
size: 0x00000300
Invalid Stack! (Corrupted TCB) Stack base: 0x24000fc0 Stack size: 0x00000300
User stack:
top: 0x30016760
sp: 0x30016468 Valid
bottom: 0x30015558
size: 0x00001208
Invalid Stack! (Corrupted TCB) Stack base: 0x30015558 Stack size: 0x00001208
Interrupt sp memory region, stack pointer lies within stack
0x2400150c 0x00000000
0x24001508 0x00000000
0x24001504 0x00000000
0x24001500 0x00000000
0x240014fc 0x00000000
0x240014f8 0x00000000
0x240014f4 0x00000000
0x240014f0 0x00000000
0x240014ec 0x00000000
0x240014e8 0x00000000
0x240014e4 0x00000000
0x240014e0 0x00000000
0x240014dc 0x00000000
0x240014d8 0x00000000
0x240014d4 0x00000000
0x240014d0 0x00000000
0x240014cc 0x00000000
0x240014c8 0x00000000
0x240014c4 0x00000000
0x240014c0 0x00000000
0x240014bc 0x00000000
0x240014b8 0x00000000
0x240014b4 0x00000000
0x240014b0 0x00000000
0x240014ac 0x00000000
0x240014a8 0x00000000
0x240014a4 0x00000000
0x240014a0 0x00000000
0x2400149c 0x00000000
0x24001498 0x00000000
0x24001494 0x00000000
0x24001490 0x00000000
0x2400148c 0x00000000
0x24001488 0x00000000
0x24001484 0x00000000
0x24001480 0x00000000
0x2400147c 0x00000000
0x24001478 0x00000000
0x24001474 0x00000000
0x24001470 0x00000000
0x2400146c 0x00000000
0x24001468 0x00000000
0x24001464 0x00000000
0x24001460 0x00000000
0x2400145c 0x00000000
0x24001458 0x00000000
0x24001454 0x00000000
0x24001450 0x00000000
0x2400144c 0x00000000
0x24001448 0x00000000
0x24001444 0x00000000
0x24001440 0x00000000
0x2400143c 0x00000000
0x24001438 0x00000000
0x24001434 0x00000000
0x24001430 0x00000000
0x2400142c 0x00000000
0x24001428 0x00000000
0x24001424 0x00000000
0x24001420 0x00000000
0x2400141c 0x00000000
0x24001418 0x00000000
0x24001414 0x00000000
0x24001410 0x00000000
0x2400140c 0x00000000
0x24001408 0x00000000
0x24001404 0x00000000
0x24001400 0x00000000
0x240013fc 0x00000000
0x240013f8 0x00000000
0x240013f4 0x00000000
0x240013f0 0x00000000
0x240013ec 0x00000000
0x240013e8 0x00000000
0x240013e4 0x00000000
0x240013e0 0x00000000
0x240013dc 0x00000000
0x240013d8 0x00000000
0x240013d4 0x00000000
0x240013d0 0x00000000
0x240013cc 0x00000000
0x240013c8 0x00000000
0x240013c4 0x00000000
0x240013c0 0x00000000
0x240013bc 0x00000000
0x240013b8 0x00000000
0x240013b4 0x00000000
0x240013b0 0x00000000
0x240013ac 0x00000000
0x240013a8 0x00000000
0x240013a4 0x00000000
0x240013a0 0x00000000
0x2400139c 0x00000000
0x24001398 0x00000000
0x24001394 0x00000000
0x24001390 0x00000000
0x2400138c 0x00000000
0x24001388 0x00000000
0x24001384 0x00000000
0x24001380 0x00000000
0x2400137c 0x00000000
0x24001378 0x00000000
0x24001374 0x00000000
0x24001370 0x00000000
0x2400136c 0x00000000
0x24001368 0x00000000
0x24001364 0x00000000
0x24001360 0x00000000
0x2400135c 0x00000000
0x24001358 0x00000000
0x24001354 0x00000000
0x24001350 0x00000000
0x2400134c 0x00000000
0x24001348 0x00000000
0x24001344 0x00000000
0x24001340 0x00000000
0x2400133c 0x00000000
0x24001338 0x00000000
0x24001334 0x00000000
0x24001330 0x00000000
0x2400132c 0x00000000
0x24001328 0x00000000
0x24001324 0x00000000
0x24001320 0x00000000
0x2400131c 0x00000000
0x24001318 0x00000000
0x24001314 0x00000000
0x24001310 0x00000000
0x2400130c 0x00000000
0x24001308 0x00000000
0x24001304 0x00000000
0x24001300 0x00000000
0x240012fc 0x00000000
0x240012f8 0x00000000
0x240012f4 0x00000000
0x240012f0 0x00000000
0x240012ec 0x00000000
0x240012e8 0x00000000
0x240012e4 0x00000000
0x240012e0 0x00000000
0x240012dc 0x00000000
0x240012d8 0x00000000
0x240012d4 0x00000000
0x240012d0 0x00000000
0x240012cc 0x00000000
0x240012c8 0x00000000
0x240012c4 0x00000000
0x240012c0 0x00000000<-- Interrupt sp top
0x240012bc 0x080202dd
0x240012b8 0x000000e5
0x240012b4 0x38006390
0x240012b0 0x30016468
0x240012ac 0x00000003
0x240012a8 0x00000003
0x240012a4 0x08021b39
0x240012a0 0x00000000
0x2400129c 0x0802396b
0x24001298 0x0000021c
0x24001294 0x000099f1
0x24001290 0x380064e4
0x2400128c 0x24005b58
0x24001288 0x00000000
0x24001284 0x00000000
0x24001280 0x38010000
0x2400127c 0x00000000
0x24001278 0x40000000
0x24001274 0x08022167
0x24001270 0x00000000
0x2400126c 0x08022517
0x24001268 0x000001a1
0x24001264 0x000001a1
0x24001260 0x00008200
0x2400125c 0x00000000
0x24001258 0x30016394
0x24001254 0x00000003
0x24001250 0x40000000<-- Interrupt sp
0x2400124c 0x00000020
0x24001248 0x00000003
0x24001244 0x0000003b
0x24001240 0x000001c8
0x2400123c 0x0802b221
0x24001238 0x000000ad
0x24001234 0x24001250
0x24001230 0x0818389d
0x2400122c 0x24005b58
0x24001228 0x00000251
0x24001224 0x08172847
0x24001220 0x24000010
0x2400121c 0x08022309
0x24001218 0x24000c54
0x24001214 0x38006458
0x24001210 0x30016468
0x2400120c 0x000001c8
0x24001208 0x000003b0
0x24001204 0x24001250
0x24001200 0x24005b58
0x240011fc 0x30015450
0x240011f8 0x24000000
0x240011f4 0x00000000
0x240011f0 0x00000000
0x240011ec 0x00000000
0x240011e8 0x00000000
0x240011e4 0x00000000
0x240011e0 0x00000000
0x240011dc 0x00000000
0x240011d8 0x00000000
0x240011d4 0x00000000
0x240011d0 0x00000000
0x240011cc 0x00000000
0x240011c8 0x00003030
0x240011c4 0x62663831
0x240011c0 0x38783020
0x240011bc 0x0000011e
0x240011b8 0x24001200
0x240011b4 0x240011c0
0x240011b0 0x3800560c
0x240011ac 0x00000020
0x240011a8 0x00000008
0x240011a4 0x0000003f
0x240011a0 0x000004ac
0x2400119c 0x00000750
0x24001198 0x000000ed
0x24001194 0x0000011e
0x24001190 0x08184ba5
0x2400118c 0x081849a5
0x24001188 0x0802b065
0x24001184 0x24001190
0x24001180 0x00000000
0x2400117c 0x08022651
0x24001178 0x24001190
0x24001174 0x24001190
0x24001170 0x00000000
0x2400116c 0x08022635
0x24001168 0x3800560c
0x24001164 0x00000055
0x24001160 0x0802ecdd
0x2400115c 0x081849a1
0x24001158 0x08023331
0x24001154 0x081849a5
0x24001150 0x38006458
0x2400114c 0x0802332d
0x24001148 0x24001190
0x24001144 0x081849a5
0x24001140 0x24001190
0x2400113c 0x0802d893
0x24001138 0x38006458
0x24001134 0x30016468
0x24001130 0x00000000
0x2400112c 0x00000750
0x24001128 0x240011c0
0x24001124 0x000000ed
0x24001120 0x00000020
0x2400111c 0x24001174
0x24001118 0x66623030
0x24001114 0x080206fd
0x24001110 0x00000080
0x2400110c 0x00000000
0x24001108 0x00000000
0x24001104 0x00000000
0x24001100 0x31313620
0x240010fc 0x00000007
0x240010f8 0x00000010
0x240010f4 0x0802e0b3
0x240010f0 0x24001130
0x240010ec 0x30000030
0x240010e8 0x081849da
0x240010e4 0x00000001
0x240010e0 0x00000003
0x240010dc 0x0802d8c9
0x240010d8 0x00000055
0x240010d4 0x24001158
0x240010d0 0x08023331
0x240010cc 0x08023341
0x240010c8 0x0000000a
0x240010c4 0x24001158
0x240010c0 0x08023331
0x240010bc 0x08023395
0x240010b8 0x0000000a
0x240010b4 0x0010000a
0x240010b0 0x0000000a
0x240010ac 0x080211a9
0x240010a8 0x0000000a
0x240010a4 0x080206fd
0x240010a0 0x00000080
0x2400109c 0x00000000
0x24001098 0x00000000
0x24001094 0x00000008
0x24001090 0x24001100
0x2400108c 0x00000000
0x24001088 0x0000000a
0x24001084 0xdeadbeef
0x24001080 0xdeadbeef
0x2400107c 0xdeadbeef
0x24001078 0xdeadbeef
0x24001074 0xdeadbeef
0x24001070 0xdeadbeef
0x2400106c 0xdeadbeef
0x24001068 0xdeadbeef
0x24001064 0xdeadbeef
0x24001060 0xdeadbeef
0x2400105c 0xdeadbeef
0x24001058 0xdeadbeef
0x24001054 0xdeadbeef
0x24001050 0xdeadbeef
0x2400104c 0xdeadbeef
0x24001048 0xdeadbeef
0x24001044 0xdeadbeef
0x24001040 0xdeadbeef
0x2400103c 0xdeadbeef
0x24001038 0xdeadbeef
0x24001034 0xdeadbeef
0x24001030 0xdeadbeef
0x2400102c 0xdeadbeef
0x24001028 0xdeadbeef
0x24001024 0xdeadbeef
0x24001020 0xdeadbeef
0x2400101c 0xdeadbeef
0x24001018 0xdeadbeef
0x24001014 0xdeadbeef
0x24001010 0xdeadbeef
0x2400100c 0xdeadbeef
0x24001008 0xdeadbeef
0x24001004 0xdeadbeef
0x24001000 0xdeadbeef
0x24000ffc 0xdeadbeef
0x24000ff8 0xdeadbeef
0x24000ff4 0xdeadbeef
0x24000ff0 0xdeadbeef
0x24000fec 0xdeadbeef
0x24000fe8 0xdeadbeef
0x24000fe4 0xdeadbeef
0x24000fe0 0xdeadbeef
0x24000fdc 0xdeadbeef
0x24000fd8 0xdeadbeef
0x24000fd4 0xdeadbeef
0x24000fd0 0xdeadbeef
0x24000fcc 0xdeadbeef
0x24000fc8 0xdeadbeef
0x24000fc4 0xdeadbeef
0x24000fc0 0xdeadbeef<-- Interrupt sp bottom
0x24000fbc 0x00000000
0x24000fb8 0x00000000
0x24000fb4 0x00000000
0x24000fb0 0x00000000
0x24000fac 0x00000000
0x24000fa8 0x00000000
0x24000fa4 0x00000000
0x24000fa0 0x00000000
0x24000f9c 0x00000000
0x24000f98 0x00000000
0x24000f94 0x00000000
0x24000f90 0x30015450
User sp memory region, stack pointer lies within stack
0x30016724 0x30015450
0x30016720 0x00000000
0x3001671c 0x00000000
0x30016718 0x00000000
0x30016714 0x01000000
0x30016710 0x00000000
0x3001670c 0x00000000
0x30016708 0x00000000
0x30016704 0x00000000
0x30016700 0x00000000
0x300166fc 0x00000000
0x300166f8 0x00000000
0x300166f4 0x00000000
0x300166f0 0x00000000
0x300166ec 0x00000000
0x300166e8 0x00000000
0x300166e4 0x00000000
0x300166e0 0x00000000
0x300166dc 0x00000000
0x300166d8 0x00003b9c
0x300166d4 0xe80a2100
0x300166d0 0x02000802
0x300166cc 0xb5420802
0x300166c8 0x3b4b0000
0x300166c4 0x00003800
0x300166c0 0x61b82000
0x300166bc 0x0abc3800
0x300166b8 0x61b80000
0x300166b4 0x00020000
0x300166b0 0x00000000
0x300166ac 0x00000000
0x300166a8 0x00000000
0x300166a4 0x00000000
0x300166a0 0x00000000
0x3001669c 0x00000000
0x30016698 0x00000000
0x30016694 0x00000000
0x30016690 0x00000000
0x3001668c 0x00000000
0x30016688 0x00000000
0x30016684 0x00000000
0x30016680 0x00000000
0x3001667c 0x0078ccca
0x30016678 0x88070090
0x30016674 0x01fefffc
0x30016670 0xff03000a
0x3001666c 0x082e0008
0x30016668 0x00780eca
0x30016664 0x0e070090
0x30016660 0x01fefffc
0x3001665c 0xff03000a
0x30016658 0x082d0007
0x30016654 0x0078808e
0x30016650 0x06070090
0x3001664c 0x010000fc
0x30016648 0xff04000a
0x30016644 0x082c0017
0x30016640 0xa4eb0000
0x3001663c 0x009c0000
0x30016638 0x7ffe0000
0x30016634 0x7ffe0000
0x30016630 0x7ffe0817
0x3001662c 0xa2090000
0x30016628 0x0000081f
0x30016624 0x24740000
0x30016620 0x00000000
0x3001661c 0x00000817
0x30016618 0xa30f0806
0x30016614 0x9b0b0000
0x30016610 0x7ffe0817
0x3001660c 0xa2093800
0x30016608 0xffb00000
0x30016604 0x00000000
0x30016600 0x00f03800
0x300165fc 0x42880807
0x300165f8 0x00900100
0x300165f4 0x00fd0000
0x300165f0 0xdeadbeef
0x300165ec 0xdeadbeef
0x300165e8 0xdeadbeef
0x300165e4 0xdeadbeef
0x300165e0 0xdeadbeef
0x300165dc 0xdeadbeef
0x300165d8 0xdeadbeef
0x300165d4 0xdeadbeef
0x300165d0 0xdeadbeef
0x300165cc 0xdeadbeef
0x300165c8 0xdeadbeef
0x300165c4 0xdeadbeef
0x300165c0 0xdeadbeef
0x300165bc 0xdeadbeef
0x300165b8 0xdeadbeef
0x300165b4 0xdeadbeef
0x300165b0 0xdeadbeef
0x300165ac 0x00000000
0x300165a8 0x00000026
0x300165a4 0x00640443
0x300165a0 0x00000005
0x3001659c 0x00093723
0x30016598 0x00000090
0x30016594 0x006a21da
0x30016590 0x0000007d
0x3001658c 0x00000001
0x30016588 0x21c59110
0x30016584 0x00000000
0x30016580 0x00000121
0x3001657c 0xbcae9b00
0x30016578 0x00000121
0x30016574 0xc468a900
0x30016570 0x00000000
0x3001656c 0x062bce00
0x30016568 0x00014438
0x30016564 0x00000000
0x30016560 0x01004100
0x3001655c 0x00000100
0x30016558 0x00000308
0x30016554 0x18bd9038
0x30016550 0x00e0c808
0x3001654c 0x18c01038
0x30016548 0x00fdc008
0x30016544 0x00000000
0x30016540 0x00000000
0x3001653c 0x00000000
0x30016538 0x00000001
0x30016534 0x00000019
0x30016530 0x00000003
0x3001652c 0xdeadbeef
0x30016528 0xdeadbeef
0x30016524 0xdeadbeef
0x30016520 0xdeadbeef
0x3001651c 0xdeadbeef
0x30016518 0xdeadbeef
0x30016514 0x00000001
0x30016510 0x21c5828b
0x3001650c 0x00000000
0x30016508 0x00000e85
0x30016504 0xdeadbeef
0x30016500 0xdeadbeef
0x300164fc 0x00000001
0x300164f8 0x00000040
0x300164f4 0x080fcc57
0x300164f0 0x30013a08
0x300164ec 0x080315cd
0x300164e8 0x30013a08
0x300164e4 0x30012710
0x300164e0 0x00000040
0x300164dc 0x00000040
0x300164d8 0x00000003
0x300164d4 0x080315c3
0x300164d0 0x00000040
0x300164cc 0x00000000
0x300164c8 0x00000000
0x300164c4 0x00000017
0x300164c0 0x30013eb8
0x300164bc 0x30013828
0x300164b8 0x30013408
0x300164b4 0x30016548
0x300164b0 0x00000040
0x300164ac 0x00000040
0x300164a8 0x30012710
0x300164a4 0x080228ab
0x300164a0 0x08030007
0x3001649c 0x00000040
0x30016498 0x00000080
0x30016494 0x0803005b
0x30016490 0x00000001
0x3001648c 0x38006390
0x30016488 0x380063d8
0x30016484 0x00000017
0x30016480 0x30012710
0x3001647c 0x30013828
0x30016478 0x00000000
0x30016474 0x38006390
0x30016470 0x00000080
0x3001646c 0x00000001
0x30016468 0x000000f0<-- User sp
0x30016464 0x0802fe7d
0x30016460 0x20000010
0x3001645c 0x3d0d8c81
0x30016458 0x3ec83128
0x30016454 0x3f000000
0x30016450 0x00000000
0x3001644c 0x00000000
0x30016448 0x00000000
0x30016444 0x00000000
0x30016440 0x00000000
0x3001643c 0x00000000
0x30016438 0x00000000
0x30016434 0x00000000
0x30016430 0x00000000
0x3001642c 0x00000000
0x30016428 0x00000000
0x30016424 0x00000000
0x30016420 0x00000000
0x3001641c 0x21000000
0x30016418 0x0802ff24
0x30016414 0x08024b35
0x30016410 0x00000000
0x3001640c 0x3800fe5f
0x30016408 0x000000e4
0x30016404 0x000001bd
0x30016400 0x0000017f
0x300163fc 0x00000000
0x300163f8 0x00000000
0x300163f4 0x00000000
0x300163f0 0x00000000
0x300163ec 0x00000000
0x300163e8 0x00000000
0x300163e4 0x00000000
0x300163e0 0x00000000
0x300163dc 0x00000000
0x300163d8 0x00000000
0x300163d4 0x00000000
0x300163d0 0x00000000
0x300163cc 0x00000000
0x300163c8 0x00000000
0x300163c4 0x00000000
0x300163c0 0x437e0000
0x300163bc 0xffffffe9
0x300163b8 0x38006458
0x300163b4 0x000001a1
0x300163b0 0x000001a1
0x300163ac 0x0000021c
0x300163a8 0x000099f1
0x300163a4 0x380064e4
0x300163a0 0x000000e5
0x3001639c 0x38006390
0x30016398 0x00000080
0x30016394 0x30016468
0x30016390 0x000000f0
0x3001638c 0x30016460
0x30016388 0x00000000
0x30016384 0x00000000
0x30016380 0x00000000
0x3001637c 0x00000000
0x30016378 0x00000000
0x30016374 0x30016448
0x30016370 0x30013428
0x3001636c 0x00000000
0x30016368 0x00000000
0x30016364 0x00000000
0x30016360 0x00000000
0x3001635c 0x00000000
0x30016358 0x00000000
0x30016354 0x00000000
0x30016350 0x00000000
0x3001634c 0x080f8e8b
0x30016348 0x30013588
0x30016344 0x30016378
0x30016340 0x3001359c
0x3001633c 0x080397ed
0x30016338 0x3001359c
0x30016334 0x00000000
0x30016330 0x00000000
0x3001632c 0x08178ecf
0x30016328 0x0000001e
0x30016324 0x30013eb8
0x30016320 0x00000014
0x3001631c 0x00000001
0x30016318 0x3001359c
0x30016314 0x0817ab97
0x30016310 0x000000c6
0x3001630c 0x2400efec
0x30016308 0x38001ef0
0x30016304 0x300163d8
0x30016300 0x00000000
0x300162fc 0x00000000
0x300162f8 0x00000000
0x300162f4 0x00000000
0x300162f0 0x00000000
0x300162ec 0x00000000
0x300162e8 0x00000000
0x300162e4 0x00000000
0x300162e0 0x00000000
0x300162dc 0x00000000
0x300162d8 0x00000000
0x300162d4 0x00000000
0x300162d0 0x00000000
0x300162cc 0x01000000
0x300162c8 0x0817abca
0x300162c4 0x0817aba1
0x300162c0 0x300163a8
0x300162bc 0x6fbf563a
0x300162b8 0x00000040
0x300162b4 0x00000001
0x300162b0 0x00000006
0x300162ac 0x00000000
0x300162a8 0x00000000
0x300162a4 0x00000000
0x300162a0 0x00000000
0x3001629c 0x00000000
0x30016298 0x00000000
0x30016294 0x00000000
0x30016290 0x00000000
0x3001628c 0x00000000
0x30016288 0x00000000
0x30016284 0x00000000
0x30016280 0x00000000
0x3001627c 0x00000000
0x30016278 0x00000000
0x30016274 0x00000000
0x30016270 0x00000000
0x3001626c 0xffffffe9
0x30016268 0xffffffff
0x30016264 0x00000000
0x30016260 0x00000000
0x3001625c 0x000000ee
0x30016258 0x00000000
0x30016254 0x30016334
0x30016250 0x081f3628
0x3001624c 0x38003ae0
0x30016248 0x000000f0
0x30016244 0x30016318
0x30016240 0x000000c6
0x3001623c 0x2400efec
0x30016238 0x000000f0
0x30016234 0x30016308
0x30016230 0x00000080
0x3001622c 0x00000010
0x30016228 0x00000012
0x30016224 0x0802b827
0x30016220 0x00000000
0x3001621c 0x00000080
0x30016218 0x240065fc
0x30016214 0x380064b8
0x30016210 0x00000025
0x3001620c 0x00000000
0x30016208 0x00000000
0x30016204 0x240065fc
0x30016200 0x00000000
0x300161fc 0x00000080
0x300161f8 0x00000080
0x300161f4 0x00000060
0x300161f0 0x00000000
0x300161ec 0xffffffe9
0x300161e8 0x00000009
0x300161e4 0x300162e8
0x300161e0 0x30016348
0x300161dc 0x00000009
0x300161d8 0x300133f0
0x300161d4 0x000003b0
0x300161d0 0x00000000
0x300161cc 0x30013f5c
0x300161c8 0x000000f0
0x300161c4 0x30016298
0x300161c0 0x00000000
0x300161bc 0x00000000
0x300161b8 0x00000000
0x300161b4 0x00000000
0x300161b0 0x00000000
0x300161ac 0xffffffe9
0x300161a8 0x00000000
[hardfault_log] – 2023-12-07-12:10:49 END Fault Log –

Alright so if anyone finds this in the future, i fixed it by removing the “fault…” file from the sd card. Im not sure what caused the problem but this seems to fix it.