AnsweredAssumed Answered

Flashing STM32F405 with ST link utility

Question asked by rocca.stephane on Oct 24, 2012
Latest reply on Oct 25, 2012 by Clive One
Hi all,
After flashing my board based on a STM32F405RG with ST link utility (Hex compiled with GCC under eclipse), I can't communicate anymore with the core. I have this error :
Cannot run core while booting from flash memory and Read out protection is activated
And I have to hold reset pin long time before restore com and erase it.

I probably have a wrong initialization procedure ?
Could you please tell me what is the minimal configuration to run a simple main() ?
I used :
    SystemInit();
    SystemCoreClockUpdate();
With HSE_VALUE changed to 24 MHz

Iis there something else to do ?

Any help would be greatly appreciated !

Outcomes