This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex-M7 (Armv7-M) Fault Question

Hi,

I'm debugging my software on Zephyr using gcc.  My processor is Cortex-M7(Armv7-M) with PU. 

I got UNALIGNED fault as shown below.  It looks like independent from CCR setting.  So I guess my problem is categorized as "Unaligned LDM, STM, LDRD, and STRD instructions always fault irrespective of the setting of UNALIGN_TRP."

I'm using gcc with -O2 option.  This problem intermittently occurred depending on #source files. Does anyone help what gcc options I should use resolve/debug this problem? 

Best regards,

Koji

Parents Reply Children
No data