WeAct Studio Mini Debugger

Rate this product if you’ve used it
Contents

WeAct Mini Debugger DAPLink STLink V2.1 User Manual

Model: Mini Debugger | Brand: WeAct Studio

1. Introduction

The WeAct Mini Debugger is a versatile tool designed for debugging and programming ARM Cortex-M microcontrollers, including the popular STM32 series. It supports two primary modes: STLink V2.1 and DAPLink, offering broad compatibility with various development environments.

The STLink V2.1 version is based on the STM32F103CBT6 microcontroller, providing a robust debugging interface for STM32 microcontrollers. It supports SWD (Serial Wire Debug) and connects to a computer via USB. It integrates seamlessly with debugging environments such as Keil, IAR, and STM32CubeIDE, and also supports OpenOCD for GDB command-line debugging. Key features include firmware upgrade capabilities, password protection, read/write protection, and hardware interface locking, ensuring reliability and stability.

The DAPLink version utilizes the APM32F103CBT6 chip and functions as an open-source debugging and programming interface firmware. It bridges the connection between your computer and the target microcontroller, enabling programming and debugging through software tools like Mbed Studio, Keil MDK, or IAR Embedded Workbench. DAPLink supports SWD and UART communication protocols, works with a wide range of development boards, and includes features like automatic firmware updates and a USB interface for easy connectivity.

Two WeAct Mini Debuggers
Figure 1: Two WeAct Mini Debuggers (STLink and DAPLink variants)
Mini Debugger with specifications
Figure 2: Mini Debugger overview with chip types and dimensions

2. Safety & Warnings

Please read all instructions carefully before using this device. Failure to follow these instructions may result in product damage or personal injury.

  • Keep the device and its cord out of reach of children under 3 years old.
  • Keep away from children unless supervised by an adult.
  • Do not use this product for purposes other than its intended use.
  • Inspect the product before each use; do not use if damaged.
  • Follow all installation and operation guidelines to avoid injury.
  • Do not expose to water or moisture.

3. Setup Instructions

3.1 Unpacking and Initial Inspection

  1. Carefully remove the Mini Debugger and all accessories from its packaging.
  2. Remove any protective films from the device.
  3. Inspect the debugger for any visible damage. Do not use if damaged.
Mini Debugger package contents
Figure 3: Typical package contents including debugger, jumper wires, and anti-static bag

3.2 Connecting to a Computer

Connect the Mini Debugger to your computer using a standard USB cable. The device will draw power from the USB port. Ensure your computer has the necessary drivers installed. For STLink V2.1, drivers are typically provided with development environments like STM32CubeIDE or can be downloaded from STMicroelectronics. For DAPLink, drivers are often integrated into Mbed Studio or available through ARM's resources.

3.3 Connecting to the Target Microcontroller

Use the provided jumper wires to connect the Mini Debugger to your target microcontroller's debug interface. The debugger supports SWD (Serial Wire Debug) and USB to UART communication.

  • SWD Interface Pins: 3V3, SWDIO, SWCLK, GND, SWO, NRST
  • UART Interface Pins: TXD, RXD, GND, 5V
Mini Debugger pinout diagram
Figure 4: Pinout diagram for SWD and UART interfaces
Mini Debugger with connected jumper wires
Figure 5: Mini Debugger connected with jumper wires to a target

4. Operating Instructions

4.1 Debugging and Programming

Once connected, the Mini Debugger can be used with your preferred Integrated Development Environment (IDE) or command-line tools. The device is compatible with:

  • Keil MDK
  • IAR Embedded Workbench
  • STM32CubeIDE
  • Mbed Studio (for DAPLink)
  • OpenOCD (for GDB command-line debugging)

Refer to your IDE's documentation for specific instructions on configuring a debugger. Typically, you will select 'ST-Link' or 'DAPLink' as your debug probe.

Mini Debugger connected and active
Figure 6: Mini Debugger connected to a target board with active green LED

4.2 Firmware Updates

The Mini Debugger's firmware can often be updated through official tools (e.g., STM32CubeProgrammer for STLink, or Mbed Studio for DAPLink). It is generally safe to accept firmware update prompts from compatible IDEs.

4.3 UART Functionality

The integrated USB to UART functionality allows for serial communication with your target microcontroller. This can be used for debugging output, sending commands, or flashing firmware via a bootloader. The UART pins (TXD, RXD, GND, 5V) can function as an FTDI adapter for reading target STM32 UART output.

5. Maintenance

To ensure the longevity and proper functioning of your Mini Debugger:

  • After use, disconnect the device from the computer and target.
  • Store the debugger in a dry, dust-free environment.
  • Avoid exposing the device to extreme temperatures or direct sunlight.
  • Handle the device and its connectors with care to prevent physical damage. The connectors, while functional, can be delicate.

6. Troubleshooting

  • Device Not Recognized: Ensure all drivers are correctly installed. Try a different USB port or cable.
  • Flashing/Debugging Issues:
    • Verify all connections between the debugger and the target microcontroller (SWD, power, ground).
    • Check your IDE's debugger configuration settings.
    • If the MCU does not reboot after flashing in Keil, try unchecking the 'Enable' box in the 'Pack' tab of the Cortex-M Target Driver Setup.
  • Firmware Compatibility: Some IDEs may require a firmware update for the debugger to function correctly. While updates are generally safe, investigate compatibility if you encounter issues after an update.
  • UART Communication Problems: Ensure correct TX/RX connections and baud rate settings in your terminal software.
Keil uVision Cortex-M Target Driver Setup
Figure 7: Keil uVision Debug Adapter selection
Keil uVision Pack tab 'Enable' checkbox
Figure 8: Keil uVision 'Pack' tab, showing the 'Enable' checkbox for potential troubleshooting

7. Specifications

FeatureDescription
Model NameMini Debugger
BrandWeAct Studio
STLink ChipSTM32F103CBT6
DAPLink ChipAPM32F103CBT6
Supported InterfacesSWD, SWO, USB to UART
Dimensions (L x W)36.6mm x 13.5mm
Weight0.016 kg
Battery IncludedNo
Typical Application FieldsEducation and Learning
OriginMainland China
Mini Debugger dimensions diagram
Figure 9: Detailed dimensions of the Mini Debugger

8. User Tips

  • This debugger offers both Virtual COM Port (VCOM) and debug functionality, making it more versatile than many generic STLink clones.
  • It works seamlessly with STM32 programmers and OpenOCD.
  • The device is often recognized as an original ST-Link by ST Cube IDE and can update its firmware without issues.
  • The serial port (UART) works well, even on USB 3.0 ports.
  • Consider using a Velcro strap or similar to manage the jumper wires for a tidier setup.
  • The DAPLink firmware from the GitHub repository can be flashed to the STLink variant to convert its functionality.

9. Warranty & Support

This product complies with general electronic requirements.

9.1 Manufacturer Information

Manufacturer: Dongguan Dongcheng Weixing Electronic Studio
Room 206, Cluster 504593TB, Building 6, No.1 Dongke Road,
Dongcheng Street, Dongguan City, Guangdong Province, China
Email: WeAct_TC@163.com

9.2 EU Authorized Representative

Representative: Apex CE Specialists GmbH
Grafenberger Allee 277, 40237 Düsseldorf, Germany
Email: Info@apex-ce.com

9.3 Online Resources

For additional information, firmware, and community support, please refer to the official GitHub repository:
https://github.com/WeActStudio/WeActStudio.MiniDebugger

A detailed user manual in PDF format is also available for download: User Manual (PDF)

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.

Was this page helpful?