Questions tagged [hard-fault]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
0answers
59 views

Hard fault on only one of two identical STM32F405 boards

So I've made two prototypes of a new custom board with a STM32F405RG microcontroller at heart and while one of them works totally fine, after a few seconds or more I'm getting a hard fault on the ...
0
votes
1answer
96 views

How to build (from scratch) a GFCI Circuit? [closed]

I am looking to understand what is the circuit inside a Ground Fault Current Indicator (GFCi). What does the circuit look like? Simple google search is not yielding good results about the guts of it.
1
vote
0answers
152 views

HardFault_Handler on STM32F407ZET6

I am currently facing some problems with STM32F4, the process "hangs" and I am not able to understand at what point it "locked". When this happened, I collected the following values for the following ...
0
votes
1answer
284 views

STM32F105 - USB OTG - BusFault at 0x1fff7a10

I try to implement a VCP on a STM32F105RB with the STM32_USB-Host-Device_Lib_V2.2.0 I was able to compile the Code sucessfully. My Hardwareconfiguration is the following: Mini USB directly (without ...
6
votes
2answers
760 views

Mysterious hard-fault when I step over

This question was rewritten to remove several updates and improve clarity. I have a Cortex M3 based (and rather obscure) MCU. I have a rather big project, written in C++, in Keil MDK5 with armcc ...
0
votes
1answer
653 views

FreeRTOS causes SYSTICKACT (HardFault) exception

I generated a basic project with CubeMX for STM32F4. After compiling and having successful run, I added FreeRTOS manually. Unfortunately, all the time I'm getting HardFault exception with SYSTICKACT ...
1
vote
0answers
185 views

Can Hardfault Exception be triggered by hardware?

I have an Cortex-M7 project that sometimes goes in the Hardfault exception interrupt, sometimes not. With the same code. When it happens it append all the time. My system is made of two board ...
5
votes
3answers
9k views

Finding the source of a Hard Fault using extended HardFault_Handler

I have been hitting some hard-faults on the firmware I have created with FreeRTOS on a SAMD21 (ARM Cortex-M0) MCU. So I took a further action to find out the cause and eventually bumped into this ...