Forum: ARM programming with GCC/GNU tools Hard Fault Error

von Tobias (Guest)

Rate this post
not useful
Hello There,

I'm currently trying to program an P-Nucleo-WB55MB1355C with the IDE 
STm32Cube. Now I've ran a few examples and they all worked fine but when 
I try to create my own projekt and debug it. The program immediately 
jumps into the Hard Fault Handler, it doesn't even get to the main() 

I tried everything that came to my mind and I'm despairing because I 
didn't find any sollution even online. I hope some of you has some idea 
what is going on.

von Lothar M. (lkmiller) (Moderator)

Rate this post
not useful
Tobias wrote:
> I hope
Why not trying the German part of the forum?
Or much better there:

> I tried everything that came to my mind
And pls add some information about the things you tried and with what 
you tried them (e.g. toolchain, sourcecode, log outputs from the 
compiler etc...).

: Edited by Moderator


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.