ExtMem_Boot demo with stm32h747i-DISCO board problem
Hi, guys:
I want to excute code from sdram with stm32h747i-DISCO board,but it run into MemManager Fault.
I read the AN5188,but find no example for stm32h747i-DISCO board. So I build 2 projects to test with this board.
First project is the "bootloader" ,it copy the "application" bin from SDCard to SDRAM(0xD0000000).I refer to the codes from ExtMem_Boot demo for Stm32h750 board.
Second project is the "application",it's only toggle the LED. I refer to the codes from LedTogging Demo for Stm23h743 board,especially the linker script code and the startup code, I change the FLASH ORIGIN to 0xD0000000.
When I debug the bootloader , it's run into MemManage_Handler.
When I change the MPU DisableExec config(for 0xD0000000) to MPU_INSTRUCTION_ACCESS_ENABLE , it's run into HardFault_Handler. So i think the MPU allow the excute ,but what else block the excute.
I want to know what may case this , is stm32h747 support excute code from SDRAM,and Is there a demo code for this board?
Thanks everyone.
