i use the STM32F407 Discovery Board. If i set the compiler setting USE_FPU = softfp, i get an unhandled exception at startup.
Code: Select all
# Stack size to be allocated to the Cortex-M process stack. This stack is
# the stack used by the main() thread.
ifeq ($(USE_PROCESS_STACKSIZE),)
USE_PROCESS_STACKSIZE = 0x400
endif
# Stack size to the allocated to the Cortex-M main/exceptions stack. This
# stack is used for processing interrupts and exceptions.
ifeq ($(USE_EXCEPTIONS_STACKSIZE),)
USE_EXCEPTIONS_STACKSIZE = 0x400
endif
# Enables the use of FPU on Cortex-M4 (no, softfp, hard).
ifeq ($(USE_FPU),)
USE_FPU = softfp
endif
I debugged it until i set a breakpoint at
Code: Select all
08000262: bl 0x80037d0 <__init_ram_areas>
If the controller stops there by breakpoint and i resume everything works fine. But what is the difference between stopping and do not so?
Thanks you