• Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    C
  • Created over 6 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An ARM CMSIS-DAP debugger firmware on STM32 device.

CMSIS-DAP user manual

Overview

CMSIS-DAP provides a standardized way to access the Coresight Debug Access Port (DAP) of an ARM Cortex M0 M0+ M3 M4 MCU via USB. It provides direct USB connection from a development board to a debugger running on a host computer on one side, and over JTAG or SWD to the target device to access the Coresight DAP on the other. Click CMSIS-DAP to get more information.

This project is an ARM CMSIS-DAP debugger firmware porting on STM32 device. I purchased a minimal system board from taobao.com, cost me about 17 CNY(less than 3$). With this firmware and board, I can debug Cortex M series MCUs from other verdors such as GigaDevice NXP etc. For STM32, maybe ST-Link is a better choice.

For simplicity, I removed rarely used JTAG-Debug, Mass storage, Virtual COM features, kept only the SWD-Debug feature. This leads to smaller code size and gets rid of the trouble of install drivers on Windows.

The SYSCLK of STM32F103C8 is 48M and the code size about 12kB, so the minimal requirement is STM32F102C4.

CMSIS-DAP-AND-TARGET

Usage

First of all, Flash your STM32F103C8 development board with CMSIS-DAP firmware, then your development board becomes a CMSIS-DAP Debugger.

Connect SWCLK, SWDIO, nRESET, GND to your target board, VCC(5V/3.3V) is optional. You can power your target board with CMSIS-DAP.

Port Function Note
PB9 SWCLK
PB8 SWDIO
PB7 nRESET to MCU NRST PIN

STM32F103C8T6-Board

Press Alt+F7, click the Debug Tab, select CMSIS-DAP Debugger, and click Settings button.

Select-CMDIS-DAP

Check CMSIS-DAP parameters.

CMSIS-DAP-Setup

Now you can Erase Download Debug your target board.

More Repositories

1

EBAZ4205

A 5$ Xilinx ZYNQ development board.
636
star
2

HIWIFI

Official firmware of Hiwifi Routers.
118
star
3

CH552Nano

A low cost small size USB dev board based on WCH CH552.
GLSL
72
star
4

MiniDSO

Product literature of MiniDSO.
C
66
star
5

AgmPill

A low cost FPGA/CPLD dev-board based on AG1280Q48.
xBase
61
star
6

DS213_ECHO

A customized DS213 APP firmware.
C
47
star
7

UIMeter

high precision voltage, current, temperature meter and logger.
42
star
8

USBCAN

A low-cost compact USB to CAN adapter.
23
star
9

BluePill

An improved dev-board for LQFP-48 Cortex-M and RISC-V MCUs.
C
21
star
10

XBOOT

A bootloader for TI c2000 DSPs and MCUs.
18
star
11

UARTCAN

A low-cost portable CAN(Controller Area Network ) adapter.
13
star
12

EDSPack

A 3'rd party battery pack for OWON EDS102C Oscilloscope.
Shell
11
star
13

ExpressCard_34M2

ExpressCard 34mm or 54mm to M.2 NVMe 2230 or 2242 SSD adapter card.
11
star
14

IPLocator

a library to access QQwry.dat
C
9
star
15

GD32F30x_Firmware_Library

GD32F30x_Firmware_Library
C
9
star
16

pi_css5

PI(= 3.1415926535897932384626...) Calculation Program.
C
9
star
17

FTERM

a telnet/ssh client with feature of SSH1/2, Z-modem protocol and many interesting function for bbs.
Pascal
8
star
18

PI0049

A TMS320F280049 Development Board which compatible with Raspberry PI.
8
star
19

IProbe

A low-cost current probe based on hall effect.
7
star
20

PI035

A TMS320F28035 Development Board which compatible with Raspberry PI.
7
star
21

ZeroTierOneDeb

Pre-compiled .deb packages of ZeroTierOne for ubuntu and debian.
6
star
22

ES121_APP

MDK project of MiniDSO ES120/ES121 Source Code.
C
5
star
23

EDP32

Digital Programmable Power Supply of ECHO Studio
3
star
24

XDS100

Software-based XDS100 Emulator design.
1
star
25

mtk_tool

Python
1
star
26

milyfx

Automatically exported from code.google.com/p/milyfx
C
1
star