Skip to main content
Eblec.1
Associate III
June 1, 2021
Question

after I call prvPortStartFirstTask I get HardFault_Handler

  • June 1, 2021
  • 5 replies
  • 1083 views

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.

This topic has been closed for replies.

5 replies

Romain DIELEMAN
ST Employee
June 1, 2021

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
Eblec.1Author
Associate III
June 1, 2021

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

Romain DIELEMAN
ST Employee
June 2, 2021

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

/Romain

Eblec.1
Eblec.1Author
Associate III
June 2, 2021

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.

Eblec.1
Eblec.1Author
Associate III
June 1, 2021

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