Hard Fault on function start - but cannot debug
I have a problem, but dont know, how to solve...
when this function ( mp3dec_decode_frame(..) ) is used, get hard fault. ok, but cannot debug , because no step into function is possible, hard fault is always next step.
Now the prerequisites : this function i used to decode MP3 in my H743 project, no problems.
then copied to this H563 project, but now using rtos Azure (because forced to use this by STM)…
and now : not working anymore, even cannot debug, what happens there, because first is : jump to hard fault.
So maybe the stack is in nirwana, but i cannot see (understand ARM assembler) anything, that leads me to solve the problem.
See , here is the debug at starting the function:

disassm shows here:

(i see no problem...) stack is in mem:

and this seem ok:

so: how to find the reason for this hard fault ?
next step ...hard fault :

cpu then:

