Questions tagged [hard-fault]
The hard-fault tag has no usage guidance.
18
questions
0
votes
1
answer
43
views
TM4C123GXL Tiva launchpad: Hardware Fault when debugging in Keil Microvision
I got a weird problem last night. Here is a simple program that uses pin PA7 to drive a LED:
...
0
votes
2
answers
100
views
What does this mean about MOSFET load capacitance?
I was reading a paper regarding fault detection in combinational logic circuits and read something that I do not understand. It is about the downsizing of transistors making them more prone to hard ...
2
votes
1
answer
138
views
HardFault and BFAR
I am using stm32f4.
I have a hardfault error at sometimes, when I write new code in to the flash.
So I check the Fault Registers like in below:
...
2
votes
3
answers
121
views
Why the MCU crashed?
KEY_EN connect to MCU as push input.
With 100 nF capacitor, the MCU will crash after some pushes.
Without 100 nF cpacitor, everything is OK.
The MCU is Nordic 52832
After inserting the battery, long ...
0
votes
2
answers
217
views
STM32F407VTG6 HardFault_Handler
(note: Using STM32F407VTG, STM32CubeMX for config, FreeRTOS, and tried both IAR and STM32IDE for compilers/debuggers).
This seems to be a common problem, but the solutions I find either aren't clear ...
2
votes
1
answer
101
views
How are the bitflip and row hammering effects taken care of by micro controllers in critical systems?
Bitflips/random hardware faults and row hammering are some of the things which could damage the memory. Do the current breed of latest microcontrollers, used in embedded systems, have any mechanism ...
1
vote
2
answers
1k
views
HardFault with FreeRTOS at STM32 - New Project
Is this a bug. First I created a new project and enabled FreeRTOS and then I set the Time Base Source to TIM3. Then I got hard ...
2
votes
0
answers
155
views
Bus Fault Handler when writing to a memory provided by a linker script
I have to work with code written by someone else for the Cortex M3-based board. I know that this code is supposed to work and it used to pass its integration test: the code is flashed to the board ...
0
votes
0
answers
250
views
Why do I get Hard Fault error when I use RTOS with STM32?
I have created a library for ILI ILI9341 LCD that can do lot's of stuffs. It's made for STM32 and it can do:
Plots
Number pad
Icons 16 bit
Windows 3.11 Question dialog
Frames
But when I try to load ...
2
votes
3
answers
1k
views
How to debug this I2C hard fault?
I am using an STM32F103C8T6, STM32CubeIDE with HAL.
During accessing an LCD (1602), with I2C, I get a hard fault.
I try to debug it, but somehow I don't see the stack. See the following screenshot:
...
3
votes
0
answers
84
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
1
answer
345
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
0
answers
242
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
1
answer
450
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
2
answers
1k
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
1
answer
1k
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
0
answers
230
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 ...
6
votes
3
answers
16k
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 ...