2014-12-07 04:38 AM
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 tia2014-12-07 07:07 AM
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.2014-12-07 08:18 AM
Well... apparently Eclipse does not recognize small .s files as ASM.
I had no startup code at all.