RFQ / BOM 0 Entrar / Registro

Selecione seu local

imagem do usuário

How do you deal with Error_Handler() in the HAL library of STM32?

novembro 19, 2020 by Yazmin 7497

I would like to ask you how to deal with the Error_Handler() function when using the STM32 HAL library?

void Error_Handler(void)
  /* USER CODE BEGIN Error_Handler */
  /* User can add his own implementation to report the HAL error return state */
  /* USER CODE END Error_Handler */ 

Todos os comentários

user image

Jaheim postado em November 19, 2020

Normally, it will not run to here. If you want the program to have error reporting or self-checking function, you can add another program to judge by yourself.

user image

Soraya postado em November 19, 2020

Look at the official routine of CUBE.

user image

Daryl postado em November 19, 2020

Hardware errors are generally procedural problems. . Just modify the program.

user image

Raya postado em November 19, 2020

Generally do not do anything, just jump into this and honestly check the program.


Escreva uma resposta

Você precisa fazer login para responder. Entrar | Registro