cancel
Showing results for 
Search instead for 
Did you mean: 

BusFault_handler

jai23
Associate II
Posted on July 27, 2012 at 12:42

I am trying to communicate STM32F100RB with SD card. Here, I use a code provided by STM for STM32F100VB evolution board. This code contain many functionality like interfacing of Graphics LCD etc. I doesn't need all these except SD Card interfacing so i removed them. But when i debugging it with ST link it stuck into BusFault_handler. Why this is happening, I could not able to find. Why this exception come? 

1 REPLY 1
Posted on July 27, 2012 at 18:54

What was it doing prior, how far have you stepped into the code?

Are you sure it is a Bus Fault, or just the generic handler that loops around?

Have you tried reading the core registers to determine the nature of the fault?

Have you made sure the code is running at 24 MHz, and not 72 MHz, or something beyond the spec of the F100 part?

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..