Code Monkey home page Code Monkey logo

mbed-cmsis-dap's Introduction

mbed CMSIS-DAP

Turn a mbed-enabled development board with USB into a CMSIS-DAP debug probe.

mbed CMSIS-DAP is based on mbed os 5. If you prefer to using mbed os 2, you can try Simple-CMSIS-DAP

Build

git clone https://github.com/xiongyihui/mbed-CMSIS-DAP.git
cd mbed-CMSIS-DAP
pip install mbed-cli
mbed deploy
mbed compile -t gcc_arm -m nrf52840_dk

Hardware

Devices supported by mbed os 5 usb stack should be supported, such as nRF52840, LPC17xx and STM32.

Tested devices:

For nRF52840 MDK USB Dongle

  1. Download pre-built firmware CMSIS-DAP for nRF52840 MDK USB Dongle

  2. Use nRF Connect Desktop or nRF Util to upgrade the firmware via its bootloader

    pip3 install nrfutil
    nrfutil pkg generate --hw-version 52 --application-version 1 --sd-req 0x00 --application cmsis-dap-for-nrf52840-mdk-usb-dongle-0x1000.hex cmsis-dap.zip
    nrfutil dfu usb-serial -pkg cmsis-dap.zip -p /dev/ttyACM0
    
  3. Connect the USB Dongle with a ARM microcontroller through SWD interface

    • nRESET - p0.6
    • SWCLK - p0.7
    • SWDIO - p0.8

mbed-cmsis-dap's People

Contributors

xiongyihui avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

chai104

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.