cancel
Showing results for 
Search instead for 
Did you mean: 

STM32747I-DISCO locked in error handler

AstraRB
Visitor

Hello 

I tried a blinky code which works with an other disco board I bought several months ago and it doesn't work with the new one. I tried it in debug mode and I'm stuck here.

void Error_Handler(void)
{
  /* USER CODE BEGIN Error_Handler_Debug */
  /* User can add his own implementation to report the HAL error return state */
  __disable_irq();
  while (1)
  {
  }
  /* USER CODE END Error_Handler_Debug */
}

 

I saw in the forums that can be the power supply choice but it's the good one here I think 

AstraRB_0-1759395504475.png

 

I know my code works but it doesn't with newer boards, I bought the newer boards 3 weeks ago. 

Do you know what's happening here ?

Regards

 

 

1 REPLY 1
Andrew Neil
Super User

@AstraRB wrote:

I tried it in debug mode and I'm stuck here.


So the first thing is to find out how you got there:

https://community.st.com/t5/stm32-mcus-wireless/rak3172-error-when-waking-up/m-p/843878/highlight/true#M26588

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.