2024-02-24 06:29 AM
Hi everyone I'm trying to use external debugger with my stm32 disc1 board. The problem is if i only connect the stlink and my board i can't debug it, but if I power the board with another usb port i can access it.
So my question is why do i have to power the board with external source and how can i power it only using stlink debugger.
Solved! Go to Solution.
2024-02-25 12:06 AM
You can take a look at this video. It should help you.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-24 06:58 AM
Most debuggers do not provide power. If the board isn't powered, you can't debug it, so it needs to be powered externally. What debugger are you using? Please be specific.
The on-board ST-link chip could also be causing issues as that board isn't designed to be programmed with an external debugger.
2024-02-24 06:59 AM - edited 2024-02-24 07:01 AM
Günaydın @Ahmetp
According to the section 6.2 of the UM1472:
"The power supply is provided either by the host PC through the USB cable, or by an external 5 V power supply. 5V can be used as input power supplies, for instance when the USB connector is not connected to the PC. In this case, the STM32F4DISCOVERY board must be powered by a power supply unit or by auxiliary equipment complying with standard EN-60950-1: 2006+A11/2009, and must be Safety Extra Low Voltage (SELV) with limited power capability".
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-24 11:16 PM
I use stlink v2 mini for debugging. So which pins should i also supply with Vcc in order to program it while only debugger connected to the pc ?
2024-02-24 11:16 PM
So which pins should i also supply with Vcc in order to program it while only debugger connected to the pc ?
2024-02-25 12:06 AM
You can take a look at this video. It should help you.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.