The MCU reference manual states that the default endianness for the QSPI peripheral is 64-bit little-endian. However, with the QSPI peripheral configured for 64-bit little-endian, a core hard-fault condition ensues when attempting to execute code in sections located in external QSPI flash. But the code runs perfectly with 32-bit little-endian configured.
I doubt that this is the correct behavior. Any ideas?
PS. I need to add that there is no bootloader. The flash is programmed directly, using J-Link.