EmbDev.net

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


Author: Tobias (Guest)
Posted on:

Rate this post
0 useful
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() 
funktion.

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.

Author: Lothar M. (lkmiller) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Tobias wrote:
> I hope
Why not trying the German part of the forum?
Here:
https://www.mikrocontroller.net/forum/gcc
Or much better there:
https://www.mikrocontroller.net/forum/mikrocontroller-elektronik

> 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

Reply

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]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig