I am unable to connect board in STM programmer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-27 5: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
- Labels:
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-27 5:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-27 6: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-28 4: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-28 8: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
