Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [hard-fault]

The tag has no usage guidance.

0
votes
1answer
80 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
124 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
250 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
638 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
554 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
162 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 ...
3
votes
3answers
7k 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 ...