Thanks to DEADBEEF, I found the problem (not hardfault problem though). It was obviously really simple once you find it! I did not use a 32-bit but a 16-bit variable to pass by reference to a FATFs function asking for a 32-bit!!!. FATFS was initializ...
Thanks JW! With your insight and other forum posts, we manage to find what is our hardfault problem. It is related to a register getting a wrong RAM or stack address which is not in the range of the memory so the hardfault is thrown! Now we need to ...
we are experiencing something very similar with a STM32F413, not using RTOS but using UART, CAN and SDIO as eMMC interface using FATFs as a high level memory management. We are using the ST HAL but the rest of the code is ported from a Freescale HCS1...