ThreadX Module rise Mem Manage Fault exception
Hello, i need some help because my Module Manager resident application rise a memory exception while starting a Module. The weird is the exception rise only when Module is compiled with arm-none-eabi-gcc, while the same code compiled with IAR works properly. According to debugger the exception arise in file gcc__setup.s at line 4547 while running the <memory_copy__loop> procedure. Thank you in advance for any hint.
Hi @Licio MAPELLI Thank you for bringing this issue to our attention. We are checking this our SMEs and will get back to you with our findings. Please look out this thread for more updates in the coming days.
Hello, i can add more details: the fault exception arise only if i link and call the ArmMathLib library compiled with gcc as static lib .a with options: "-mcpu=cortex-m33 -std=gnu11 -DSTM32 -DARM_MATH_MATRIX_CHECK -DARM_MATH_ROUNDING -DARM_MATH_LOOPUNROLL -DSTM32U585AIIx -DSTM32U5 -c -I../Inc -I"C:\AST\FedLearn\B-U585I-IOT02A_VESPUCCI_MODULAR_FW\Drivers\CMSIS\Core\Include" -I"C:\AST\FedLearn\B-U585I-IOT02A_VESPUCCI_MODULAR_FW\Drivers\CMSIS\DSP\Include" -O0 -ffunction-sections -fdata-sections -Wall -fPIC -fPIE -fPIC --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb". Without linking the ArmMathLib the module execute properly. Thanks
Hi @Licio MAPELLI Apologies for the delayed update. I am following up with the team on this issue. Please stay tuned on this thread for more updates in the next few days.
Sign in to comment