2021-01-21 04:55 AM
Hello everyone,
I am currently doing a project using a Nucleo STM32F401RE with CubeIDE software.
I am trying to use the X-NUCLEO-IDW0xx1 wifi module and the X-NUCLEO-53L0A1 sensor module with FreeRTOS.
For now I succeed to make X-NUCLEO-IDW0xx1 work alone and X-NUCLEO-53L0A1 work with FreeRTOS. But when I'm trying to make all of those three things working together, I obtain a hardfault on __sfputs_r(). I tried everything I could find on the web but for now I'm still stuck.
When using the debugger, here is the error I get on the first printf():
Ask me if you need more informations in order to help me solve this issue.
Thank you in advance for your answers.
Best Regards,
Jean
2021-01-21 09:04 AM
Look at the code disassembly and registers at and immediately prior to the fault. ie half dozen instructions up to 0x8007D54 and the related C code in the _sfputs_r() code at that point.
Probably an errant pointer, or some address in memory being objected too.