I'm using STM32H743 in my project.If anyone knows how to disable D-cache, please help!D-cache really interferes with my work - I'm tired of fighting it!SCB_DisableDCache() - leads to nothing.
I don't use the cube much - it was enough for me to solveLL_MPU_Enable(LL_MPU_CTRL_HFNMI_PRIVDEF);By the way, for some reason I didn’t find these LowLevel functions in the UM2217
This is how it was configured in the cube, but this is not the first bug of the cube - I don’t pay attention anymore - I use the cube only for setting up pins and clocking Thank you!
Sorry for the long answer - I was testing!Thanks to everyone - advice with LL_MPU_CTRL_HFNMI_PRIVDEF - the cache is disabled for the necessary memory areas - this is what you need!
Unfortunately, your advice leads to HardFault.At the very beginning when executing the MPU enable instruction.
void MPU_Config(void)
{
/* Disables the MPU */
LL_MPU_Disable();
/** Initializes and configures the Region and the memory to be protecte...