Hello! I'm using an STM32F769I-Discovery board. I'm trying to read/write a text file on the uSD card. Since I'm a beginner I started with the example in STM32Cube\Repository\STM32Cube_FW_F7_V1.9.0 - Copia\Projects\STM32F769I_EVAL\Applications\FatFs\FatFS_uSD.
I simply have inserted my uSD card in the CN5 connector and run the application. Problem is the code encounters an Error Handler with the message "An MPU or Execute Never (XN) default memory map access violation has occurred on an instruction fetch".
I debugged the code and I saw the problem is in function HAL_I2C_Mem_Read. I can't understand why..
How can I solve the problem?