2024-09-03 08:16 AM
Hi,
I have an issue on STM32H7B3I-DK, I am not able to flash code, I atleast want to perform full erase, but I am getting " Error: Connection to target must be established before performing the erase command." error.
Fig: STM32CubeProgrammer.
Fig: Trying to erase the board. But still getting the above error.
Anything else can I do on this board.
Solved! Go to Solution.
2024-09-04 03:41 AM
Ok what about my second point? :
"If not, could be something related to a wrong power configuration you set previously in your application. The board is wired in SMPS by default. So if you set LDO in your application you lose the connection.
Please see this thread."
2024-09-03 08:24 AM
It's telling you that it can't connect to the Target; therefore it won't be able to do anything to the Target until that is fixed!
2024-09-03 08:25 AM - edited 2024-09-03 08:26 AM
Hello,
Are you sure you are using a data cable and not a charging cable?
If not, could be something related to a wrong power configuration you set previously in your application. The board is wired in SMPS by default. So if you set LDO in your application you lose the connection.
Please see this thread.
2024-09-03 08:31 AM
@SofLit wrote:Are you sure you are using a data cable and not a charging cable?
It seems to be indicating that the connection to the ST-Link is OK:
So the cable must be good?
2024-09-03 10:10 AM
Yeah, Cable is good. Something must be done at board's end.
2024-09-04 03:41 AM
Ok what about my second point? :
"If not, could be something related to a wrong power configuration you set previously in your application. The board is wired in SMPS by default. So if you set LDO in your application you lose the connection.
Please see this thread."