porting to qspi flash based - hardfault on unalinged access
Dear All
I got the job to port a existing app which was developed for stm32h743 with 2mb flash to a stm32h750 with 128kb flash and a 8MB qspi memory.
I basically succeeded in having a ext boot rom scenario where i would start from flash , enable qspi and memory map it. Then i point to it and jump. I ve found a working external loader so i can run the final app via that from the IDE ( load it and debug).
Now the app crashes mostly with unaligned accesses either in the touchgfx init or lwip or mbedtls software.
My research leads me to either a dma issue or wrong mpu settings sofar. What would be a general things to do when doing such a port ? Beside setting up qspi into memory mapped mode, changing the .ld file to point to my qspi flash (0x9000000) etc .. are there any other steps i need to consider here ?