Hi Werner
I would like to suggest you check whether your MCU has FPU unit, what's the MCU's part number?
Please kindly refer to the following code
(mqx/source/psp/cortex_m/m4/boot.S)
#if MQXCFG_ENABLE_FP && PSP_HAS_FPU
/* CPACR is located at address 0xE000ED88 */
LDR.W R0, =0xE000ED88
/* Read CPACR */
LDR R1, [R0]
/* Set bits 20-23 to enable CP10 and CP11 coprocessors */
ORR R1, R1, #(0xF << 20)
/* Write back the modified value to the CPACR */
STR R1, [R0]
/* turn off fpu register stacking in exception entry */
ldr r0, =0xE000EF34 /* FPCCR */
mov r1, #0
str r1, [r0]
#endif
Set MQXCFG_ENABLE_FP to 1 , FP unit will be enabled and FP content will be stacked during context swithcing , did you enable the macro?
Have a great day,
Daniel