AnsweredAssumed Answered

Works only after restart.

Question asked by wigsnes.fredrik on Jul 10, 2016
Latest reply on Jul 10, 2016 by Clive One
Hi, I am new here so bare with me.

When I start the device it wont run. And then when I hit the restart button it works. It also works perfectly in debugg. So I have no idea why this is happening.
It is a self made PCB, and we are using an STM32F405RG. I am using Keil, and have no idea if it is correctly setup. I also am not sure if the heap(0x00000200) and stack(0x00002000) size are correct. Here is a few pictures that may help:Screenshot%20(17).png

Screenshot%20(18).pngScreenshot%20(19).pngScreenshot%20(20).pngScreenshot%20(21).pngScreenshot%20(22).png

Hope any of this makes sence, I have searched online and have no idea why this is happening. Please tell me if you need any more info.

Outcomes