ST-LINK/V2 (mini)

From Waveshare Wiki
Jump to: navigation, search
ST-LINK/V2 (mini)
STM Programmers & Debuggers
ST-LINK-V2-mini l.jpg

Mini ST-LINK/V2, in-circuit debugger/programmer for STM8 and STM32
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Introduction

Mini ST-LINK/V2, in-circuit debugger/programmer for STM8 and STM32

More

Resources

FAQ

 Answer:
  1. You should connect the ST-LINK/V2 (mini) to a PC firstly, and then connect to the target board, since the ST-LINK/V2 (mini) performs the USB detection once powered up. In case that the USB initialization fails, the connections between the ST-LINK/V2 (mini) and other devices will fail too.
  2. It is prohibited to apply the ST-Link V2 (mini) to power supply for the target board with large power consumption, such as the motor.
  3. The pins PA13 and PA14 of the SWD interface on the target board are used for programming. If the pins PA13 and PA14 are severed as common IOs, it may lead to the programming/emulation failure. Resolution: Before performing emulation/programming, press the RESET key on the target board and hold it (that is connecting the RESET pin to GND to make the MCU in the reset state), and then click the button Program/Emulation, and release the RESET key. Now, the ST-Link V2 (mini) enters the programming/emulation mode.
  4. If the ST-Link V2 (mini) is in the error state, the Red LED will keep blinking. In this case, you should disconnect the USB cable or power supply, and then connect again.
{{{3}}}
{{{4}}}

{{{5}}}


 Answer:

1. Click Connect to the target. to check the connection between ST-LINK/V2 (mini) and the chip. The diagram below:
ST-LINKV2 Mini FAQ01.jpg
2. Click on Program Verify. Click on Browse to select the binary file you want to download and click on Start: ST-LINKV2 Mini FAQ02.jpg
As shown in the picture above, the download is successful.
If the chip is not detected in Keil, you can use STM32 ST-LINK Utility to perform a full chip erase (if the connection is not successful, first press and hold the reset button, then click Connect to the target, and finally release the reset button).
3. Click on Full chip erase, as shown in the figure below, it means the full chip erase is successful.
ST-LINKV2 Mini FAQ03.jpg

{{{5}}}



 Answer:
1. Confirm that the target board has been powered on.

2. Sometimes the target board does not supply power to ST-LINK. At this time, it is necessary to short-circuit pins 2 and 19 of ST-LINK to supply power to ST-LINK.
STLINK-V3MINIE005.png

{{{5}}}



 Answer:
This is generally caused by firmware problems, which can be upgraded with ST-link firmware to upgrade the software.

{{{5}}}



 Answer:
*Open the STVP download link:

http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stvp-stm32.html

  • "Get Software"

STLINK-V3MINIE010.png

  • Click "Agree"

STLINK-V3MINIE011.png

  • Fill in the name and email address, check it, and click "download" to download, ST will send a link to your email, click the link, and repeat "Step 1" to download the software.

STLINK-V3MINIE012.png

{{{5}}}


 Answer:

1. If the USB port is in poor contact, try another USB port, or try another computer.
2. If the USB cable is loose and other problems, change a USB cable to test.
3. ST-LINK firmware problem, use the utility to upgrade the firmware.

{{{5}}}


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 AM GMT+8 (Monday to Friday)