Skip to main content
TSHET.1
Visitor II
Feb 17, 2023 7:40 AM UTC
Question

Getting Hard Fault Error after enabling the interrupt,when switched from bootloader to application project.

In STM32F030CCT6TR Cortex M0 microcontroller I am getting hard fault error when I enable interrupt after switching from bootloader to application.

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
Feb 17, 2023 8:51 AM UTC

May be consequence of some peripheral not being brought into reset state. A simple remedy for this may be to set then clear all reset bits in RCC_AxB_RSTRx registers.

Investigate the hardfault as usually, @Community member​ and others gave clues here how to do that, try searching the forum and the internet.

JW