cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F405 - core won't run

vincenthamp9
Associate III
Posted on December 07, 2014 at 13:38

Hello

I've recently developed my first little STM32F4 board which I just successfully connected to. The chip can be programmed, erased, red from and what not but no matter what I do, my own code won't run. So far I've used ST Utility to program the chip and afterwards I've tried to do a core and system reset from the menu.

Both resets result in a ''Lockup'' of the Core state?

Is this normal?

I've no idea what to try next...?

A high-res circuit diagram can be found here:

http://higaski.at/stm32.png

tia
2 REPLIES 2
Posted on December 07, 2014 at 16:07

I've no idea what to try next...?

Do something simpler, and try using a debugger to understand what's happening.

Put some code in the ResetHandler to toggle a GPIO.

Check the system_stm32f4xx.c code, make sure the PLL settings are suitable for your board, the HSE is at the correct value, along with HSE_VALUE defined in the project.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
vincenthamp9
Associate III
Posted on December 07, 2014 at 17:18

Well... apparently Eclipse does not recognize small .s files as ASM.

I had no startup code at all.