ThreadX Module rise Mem Manage Fault exception

Licio MAPELLI
31
Reputation points
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.