cancel
Showing results for 
Search instead for 
Did you mean: 

Hardfault_handler on __sfputs_r() when using Freertos and X-NUCLEO-IDW0xx1 wifi module.

DJean.1
Associate

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():

0693W000007CA6aQAG.pngAsk me if you need more informations in order to help me solve this issue.

Thank you in advance for your answers.

Best Regards,

Jean

1 REPLY 1

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..