InvalidateDCache with AXI-SRAM gives HardFault
Hello,
I have recently moved RAM from DTCM to AXI SRAM (so that I get more RAM).
It then failed in dma example.
After investigation I found out that the call to SCB_InvalidateDCache results in HardFault_Handler.
I've changed it to use
SCB_InvalidateDCache_by_Addr((uint32_t *)aDST_Buffer, (BUFFER_SIZE));and now it function OK, but I don't yet understand why SCB_InvalidateDCache fails with AXI SRAM.
I am using st32h743-eval
Thank you,
ranran
