Skip to main content
TSHET.1
Visitor II
February 17, 2023
Question

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

  • February 17, 2023
  • 1 reply
  • 1109 views

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
February 17, 2023

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