Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3843

General discussion • IMPLEMENTATION OF HARDFAULT HANDLER IN PICO-SDK

$
0
0
Hello everyone,

I'm encountering a hardfault issue with my Raspberry Pi Pico SDK project. My controller gets stuck in a hardfault state, and I am unsure how to handle it properly. Ideally, I would expect the controller to reset itself after a hardfault, but instead, it remains stuck, requiring a manual reset to resume operation.

Here are some details of my setup:

Device: Raspberry Pi Pico W
Development Environment: Arduino IDE 2.0
SDK Version: Raspberry Pi Pico SDK 1.5.1
Debugging Tool: Official Raspberry Pi Debug Probe

Has anyone else faced a similar issue, or does anyone know of an implementation of isr_hardfault in the Raspberry Pi Pico SDK that I can utilize to handle this more effectively? Any insights or suggestions on resolving this would be greatly appreciated.

My major concern is regarding the IMPLEMENTATION OF HARDFAULT HANDLER IN PICO-SDK .

Below is the provided image of the hardfault log.

Thank you
hardfault_img.png

Statistics: Posted by Parth_Parekh011 — Tue Jun 11, 2024 6:50 am



Viewing all articles
Browse latest Browse all 3843

Trending Articles