cancel
Showing results for 
Search instead for 
Did you mean: 

BUG: Nucleo STM32 F401RE + FreeRTOS + STM32CubeMX 1.4.0 = HardFault

DMårt
Lead

Hello!

I found a bug with the Nucleo STM32 F401RE + FreeRTOS + STM32CubeMX 1.4.0. It gives hardfault error. I have posted all information here:

https://electronics.stackexchange.com/questions/512612/hardfault-with-freertos-at-stm32-new-project

Thank you.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer
1 ACCEPTED SOLUTION

Accepted Solutions

Hello @Daniel Mårtensson​ 

Thanks for the feedback, issue reported to the tool development team that will plan the correction.

Best regards,

Nesrine

View solution in original post

10 REPLIES 10
Cartu38 OpenDev
Lead II

Issue is:

0693W000003BSgiQAG.png

Hello @Daniel Mårtensson​ 

Tested the same scenario by using the last version of STM32CubeIDE (V 1.4.0), i had no issue.

Please try with this version then tell me the result,

Best regards,

Nesrine

Hi! I tested​ with 1.4.0. Did not work.

I​'m using Linux Generic Installer on Lubuntu 20.04.

Look above. Somebody pos​ted an issue.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer

@Nesrine.JLASSI​ I confirm @Daniel Mårtensson​ issue using NUCLEO-F401RE board.

Relying on NUCLEO-F413ZH all is fine ...

@Nesrine.JLASSI​ have you picked the right board ?

Working myself on Win10

Hello @Daniel Mårtensson​ 

Thanks for the feedback, issue reported to the tool development team that will plan the correction.

Best regards,

Nesrine

Hello,

A new STM32CubeMX release will delivered to correct this issue as soon as possible.

Best regards,

Nesrine

JChoi.4
Associate

I have worked on Win10, STM32CubeIDE Ver. 1.4 , and Nucleo-F401.

It is very strange to see this HardFault_Handler() error over PC in office but PC in home. Of course, I have used same version of STM32CubeIDE in two places. From a few days ago, it has made a HardFault error in office PC. I can see this error whenever I used FreeRTOS only, and I have no problem if I did not use FreeRTOS.

Best regards,

Jongwoon

Hello @JChoi.4​ 

Yes! the problem appears only when you activate FreeRTOS.

Best regards,

Nesrine