AnsweredAssumed Answered

Hard Fault Handler Interrupt Stm32F1?

Question asked by blesener.daniel on Jan 2, 2013
Latest reply on Jan 2, 2013 by Clive One
Any help with finding this bug is appreciated. I am truly at a loss.
I am using the virtual com port for USB(V.3.1). I had it working great, communication was like a wife and husband once wished. I was sending host data through pre-assembled arrays and sending characters 1 by 1 by USART_To_USB_Send_Data function. Now I do the same the but use _io_putchar() along with printf(), so I have added #include <stdio> and a few functions.

Of course, I simple change suddenly caused a hard fault error? I have never dealt with these before and am not sure what to do with it. In comparing code, I cannot find any problems, looking through the reference and programming manual has not helped. 
After the fault occurs, the debug explore shows the following info:
HFSR           = 0x04000000
VECTTBL    = NO FAULT
FORCED      = SET
DEBUGEVT = NO Fault Related to Debug

Thanks much.

Outcomes