RadioOperator / CMSIS-DAP_for_STLINK-V3MINI

High-Speed CMSIS-DAP for STLINK-V3MINI ARM Debugger STM32F723IEK6
Apache License 2.0
178 stars 81 forks source link

High-Speed CMSIS-DAP for STLINK-V3MINI ARM Debugger

Keywords: USB2.0 High-Speed CMSIS-DAP STLINK-V3 STM32F723IEK6 SWO VCP CDC DAPLink ST-LINK ARM-Debugger

ST company created a great mini-size ARM debugger STLINK-V3MINI for STM32 MCU, cost you ~US$10 only. Re-Use the high-performance PCBA hardware, you can do more interesting projects or hobbies.

Important Notice:

This repo is an old project for CMSIS-DAP!!! If you are a new comer here, please visit my Yet_Another_Bootloader (YAB) repo first on
https://github.com/RadioOperator/Yet_Another_Bootloader.
Please try to install the YAB first. YAB (STLINKv3_YAB project) could co-exist with STLINK-V3 Factory Bootloader, and install one or two of pre-built CMSIS-DAP code to test the DAP function, no need to destroy the factory bootloader.

Beacuse the factory bootloader still in the device, it's very easy to recover STLINK-V3 functions using STSW-LINK007 update tools. (please DONOT use the new verion STSW-LINK007 v2.36.26 or later, the new version will locked the STM32F723 IC's SWD port).

alt text

A new very good/low-cost Starter Kit ...... what we got:

My code:

All support SWD and JTAG mode. SWO_STREAM mode is important or not? please tell me.

v1+v2, HID and WinUSB mode coexisted, suggest disable one in Device Manager force to another.

The STDC14 connector pin definations:

Compile Environment:

Include Path:

Some issues:

  1. not well-tested, need your report.
  2. Stack uasge check and optimize, not performed.
  3. ......

Further improvements:

  1. General USB-DFU bootloader, support drag&drop easy update any user App.

    2020-07-24 update: MSC Bootloader function is Done!
    visit: https://github.com/RadioOperator/Yet_Another_Bootloader

  2. Try using other USB library to see what happened.

  3. Develop SPI/I2C/CAN bus, Logic analyzer/emulator functions, we have a large flash room.

  4. ......

New Release Notes:

Declarations:

The project is for experiments only. Use any parts and info on your own risks.