Writing to flash without debugger crashes

Hi,

I wrote a program, where some data is written to the internal flash of a stm32f4.
If I am debugging everything works fine, but if the controller runs without the debugger, the data is not written.

Can somebody tell me why this happens?

More questions in this forum