2023-11-27 05:25 AM
Hello Team,
I am unable to connect STM32H745 DISC board to STM programmer to erase the code, Also in STM cube ide software unable flash code, can you confirm how to check the read protection.
PLEASE find attachment encloser.
Best Regards,
Gagan Gowda
2023-11-27 05:53 AM
2023-11-27 06:14 AM
If the code gets the LDO/SMPS settings wrong, there is a method to connect BOOT0 pad to VCC and power cycle the board a couple of time. When able to connect mass erase to remove your code.
You'd need to pull the schematic to double check the resistor pad. There's probably a post or tutorial on this. Dig a little.
2023-11-28 04:34 AM
Hello @Tesla DeLorean
Yes, I did wrong setting in LDO/SMPS then shorted BOOT0 and VDD now able to connect and erase code. Removed short connection between BOOT0 and VDD. When debugging code, the control is at error handler is there any changes to be done at my end??
Find error below
while((__HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) != RESET) && (timeout-- > 0));
if ( timeout < 0 )
{
Error_Handler();
}
Best Regards,
Gagan Gowda
2023-11-28 08:23 AM
Hello @Sarra.S
I did wrong setting in LDO/SMPS then shorted BOOT0 and VDD now able to connect and erase code. Removed short connection between BOOT0 and VDD. When debugging code, the control is at error handler is there any changes to be done at my end??
Find error below
while((__HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) != RESET) && (timeout-- > 0));
if ( timeout < 0 )
{
Error_Handler();
}
Best Regards,
Gagan Gowda