cancel
Showing results for 
Search instead for 
Did you mean: 

after I call prvPortStartFirstTask I get HardFault_Handler

Eblec.1
Associate II

I made a project in touchGFX designer 4.16.1 and imported it to STM32cubeIDE , for board stm32F769I disco. there I ran debug and it ran OK yesterday. today morning when I tried to run again it fails in call to prvPortStartFirstTask and enters HardFault_Handler.

I don't know why. can you help ?

thanks.

5 REPLIES 5
Romain DIELEMAN
ST Employee

Hi,

Did you start this project from scratch or from the application template for the STM32F769I-DK board ? Could you try to do a full chip erase and/or unplug the board (we never know) ? What is that prvPortStartFirstTask ?

/Romain

Eblec.1
Associate II

hello. I started from scratch and added some icons . I chose the evaluation board I use but not a specific demo.

I debuged into the code and I see that I fail to this exception in first call to tick()

Eblec.1
Associate II

I tried to disconnect and connect the board , but it didn't help.

Are you using the STM32F769I-DK or eval board ? What are the revisions of the display and the board ?

/Romain

I'm using STM32F769I - DISCO evaluation board. I tried now a new demo project and it works OK. maybe I have to clean the project and create a new one.