This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

CMSIS-DAP Firmware with Drag-n-drop support

This fork of the MBED CMSIS-DAP firmware seems to be the latest updated one. The title says, 'Interface firmware providing USB CMSIS-DAP for debugging, USB MSD for programming, USB Serial for communication'

github.com/.../CMSIS-DAP

Any pointers on how this can be used for drag-n-drop uploading of .hex files using USB-MSD?

Parents
  • Hi.

    As you mentioned, the nRF52 DK has an on board debugger chip. By default, this chip runs firmware from segger, and it operating as a JLINK debugger. The debugger chip is connected to our PC with USB, and to the on board nRF52 with SWD.

    We can also flash CMSIS-DAP firmware to the debugger chip. Then we would use the type of firmware you linked, or the downloadable binary file from our website.

    When flashed with the mBed CMSIS-DAP firmware, the debugger chip will appear as "MBED" on our computer. It will then be compatible with mBed toolchains.

    The standard Segger JLINK firmware on the debugger chip, does suppor drag and drop programming. If you have an external board connected on the "Debug Out" connector, the JLINK firmware will detect this, and program that board instead.

    This means that you probably should keep the Segger JLINK on your debugger chip, and drag and drop the hex file. This will also work with mBed generated hex files.

    -Anders

  • Thank you very much, I will try programming some custom nRF51 boards this way using the DK. I also happen to have a ST Link V2, apparently no one has ported this CMSIS-DAP firmware to that platform. In theory it should be doable right? Since that board lets you program with openOCD.

Reply Children
No Data
Related