sd card functions throwing Hardfaults() inside tasks but not in main (FREERTOS+SDcard(spi))
I am following this Controlerstech tutorial , learning how to FREERTOS+SD card.
I found out some functions that work fine outside any os task , throw a Hardfault when executerd inside any FREERTOS task.....
Functions that seem to be working from him.
I feel like these functions are trying to access a forbidden area of memory.... but i dont know why is it forbidden, are there any memory boundaries we should respect when working inside tasks?
I am new with FREERTOS and their QA didnt helped me yet.
- This felow had the same issue but using an esp32
- similar issue here in the commiunity https://community.st.com/s/question/0D53W00000MA9VRSA1/free-rtos-sdcard-sdio-fatfs-fopen-problem

