<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to debug nRF51-DK with CMSIS-DAP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5540/how-to-debug-nrf51-dk-with-cmsis-dap</link><description>Hi, 
 I have bought nRF51-DK and have downloaded the hex file successfully in the mbed mode, I wonder May I debug the DK with CMSIS-DAP instead of JLINK? I searched the internet for a while and didn&amp;#39;t get the answer. Anyone have ideas for this? 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Apr 2019 12:29:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5540/how-to-debug-nrf51-dk-with-cmsis-dap" /><item><title>RE: How to debug nRF51-DK with CMSIS-DAP</title><link>https://devzone.nordicsemi.com/thread/184307?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 12:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ff27fa6-7602-4889-84ce-892bcbb37800</guid><dc:creator>hawk</dc:creator><description>&lt;p&gt;So i&amp;nbsp; update the&amp;nbsp;&lt;span&gt;firmware for&amp;nbsp;&lt;/span&gt;DAPLink&lt;/p&gt;
&lt;h3 id="file-name"&gt;&lt;a href="https://armmbed.github.io/DAPLink//firmware/0253_sam3u2c_mkit_dk_dongle_nrf5x_0x5000.bin"&gt;0253_SAM3U2C_MKIT_DK_DONGLE_NRF5X_0X5000.BIN&lt;/a&gt;&amp;nbsp;to break this limit of license.&lt;/h3&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nRF51-DK with CMSIS-DAP</title><link>https://devzone.nordicsemi.com/thread/184204?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 04:54:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16827f49-9fd3-4382-99c0-75c7e29169be</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;No, the nRF5x-DK is for Nordic devices only. &amp;nbsp;It is not licensed to flash any other manufacturer. &amp;nbsp;This &lt;a href="http://embeddedsoftdev.blogspot.com/p/idap-link.html"&gt;CMSIS-DAP JTAG&lt;/a&gt; is the alternative not limited to Nordic. &amp;nbsp; It comes with software to flash softdevice et al... can also be used with any&amp;nbsp;MCU supported by the OpenOCD or the IDE you are using. &amp;nbsp;Both SWD and JTag mode are supported.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nRF51-DK with CMSIS-DAP</title><link>https://devzone.nordicsemi.com/thread/184173?ContentTypeID=1</link><pubDate>Sun, 28 Apr 2019 03:37:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0316748e-5c79-40ca-91cc-d060506aec44</guid><dc:creator>hawk</dc:creator><description>&lt;p&gt;hi, I have&amp;nbsp; another question:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;After&amp;nbsp;&lt;span&gt;switching to&amp;nbsp;the firmware&amp;nbsp;of supporting&amp;nbsp;CMSIS-DAP. Can I use this nrf51-DK as CMSIS-DAP debugger or flash the external MCU(eg: STM32F103 etc.) by P20, just the like the following:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1556422566387v2.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1556422880571v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nRF51-DK with CMSIS-DAP</title><link>https://devzone.nordicsemi.com/thread/184172?ContentTypeID=1</link><pubDate>Sun, 28 Apr 2019 02:24:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52df8cec-1e7a-406f-8a67-a7aa99d049e8</guid><dc:creator>hawk</dc:creator><description>&lt;p&gt;hi, hongtao:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; After&amp;nbsp;&lt;span&gt;switching to&amp;nbsp;the firmware&amp;nbsp;of&amp;nbsp;0253_sam3u2c_mkit_dk_dongle_nrf5x_0x5000.bin, i can get DAP-LINK, not J-Link. but I cannot get MBED CMSIS-DAP,&amp;nbsp; the mbed virtual com and mbed usb are fine.&amp;nbsp; &amp;nbsp;I have installed the CMSIS-DAP driver for windows XP&amp;nbsp;several times. it cannot work still.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nRF51-DK with CMSIS-DAP</title><link>https://devzone.nordicsemi.com/thread/19397?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2015 04:50:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc8d9fde-27cb-4b9d-912b-fa83b05e8ae5</guid><dc:creator>Yunfeng</dc:creator><description>&lt;p&gt;Another CMSIS-DAP debug probe.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://armstart.com/products/ibdap-cmsis-dap-jtag-swd-firmware-debug-probe"&gt;IBDAP from armstart.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Fully Open source CMSIS-DAP implementation in GNU gcc and make.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s another tutorial how to program nRF51822 using OpenOCD under Windows, Linux and Mac:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://armstart.com/products/ib51822-bluetooth-low-energy-arm-cortex-nrf51822-development-board"&gt;IB51822&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ibdap2.jpg" alt="IBDAP" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nRF51-DK with CMSIS-DAP</title><link>https://devzone.nordicsemi.com/thread/19395?ContentTypeID=1</link><pubDate>Thu, 12 Feb 2015 23:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46c10224-60e4-4079-abef-3af89b12b15b</guid><dc:creator>Hongtao</dc:creator><description>&lt;p&gt;Yes, that how I entered in Mbed mode, but there is no info on CMSIS-DAP debugging.
BTW, will nRFgo support CMSIS-DAP? programming?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nRF51-DK with CMSIS-DAP</title><link>https://devzone.nordicsemi.com/thread/19393?ContentTypeID=1</link><pubDate>Thu, 12 Feb 2015 23:54:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7147086-1dc7-495f-ba91-3ce1801b5b20</guid><dc:creator>Hongtao</dc:creator><description>&lt;p&gt;Yes, I got some very useful info there, thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nRF51-DK with CMSIS-DAP</title><link>https://devzone.nordicsemi.com/thread/19396?ContentTypeID=1</link><pubDate>Thu, 12 Feb 2015 15:32:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:979c3af2-525d-4a81-bc26-bfa659538512</guid><dc:creator>Hongtao</dc:creator><description>&lt;p&gt;After taking a half day work, I finally make it works. It is very exciting to know that CMSIS-DAP works so well.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;First, you need download the CMSIS-DAP driver &lt;a href="http://developer.mbed.org/static/downloads/drivers/mbedWinSerial_16466.exe"&gt;here&lt;/a&gt;:&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;After install the driver, you will find 3 devices in your PC, they are a MBED USB Drive, a MBED CMSIS-DAP, and a virtual COM:
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5710.123.jpg" alt="image description" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Config the Keil debug tool to CMSIS-DAP:
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6303.123.jpg" alt="image description" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Be sure to set your CMSIS-DAP to SWD mode, otherwise your CMSIS-DAP is inactive with gray color.
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0160.123.jpg" alt="image description" /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copy the nrf51xxx.flm file from
&amp;quot;C:\Keil\ARM\Pack\NordicSemiconductor\nRF_DeviceFamilyPack\1.1.4\Flash&amp;quot; to
C:\Keil\ARM\Flash&amp;quot;, And load the flash algorithm file by manual.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1641.123.jpg" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;And then you go! the CMSIS-DAP works very similar to JLINK, it is also offers a virtual COM for UART debug. Except you can&amp;#39;t use it with nRFgo.&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nRF51-DK with CMSIS-DAP</title><link>https://devzone.nordicsemi.com/thread/19394?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2015 15:43:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9a6194e-e05c-48f7-99c6-03af210d376d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you check out the user guide for the nRF51-DK, there&amp;#39;s a chapter there which describes how to switch out the firmware on the debugger IC.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s basically to hold in button &amp;quot;IF BOOT/RESET&amp;quot;, then plug in the USB cable.
A drive called &amp;quot;BOOTLOADER&amp;quot; should appear, and you can drag the .bin file over to this drive.&lt;/p&gt;
&lt;p&gt;The binary file for the CMSIS-DAP is located here:
&lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/38673/2/21120532"&gt;www.nordicsemi.com/.../21120532&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you want to switch back to JLINK, just download the .bin for that and repeat the process:
&lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/38671/2/30216378"&gt;www.nordicsemi.com/.../30216378&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug nRF51-DK with CMSIS-DAP</title><link>https://devzone.nordicsemi.com/thread/19392?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2015 15:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca09335a-2ff6-4635-b985-86794894d1dd</guid><dc:creator>John</dc:creator><description>&lt;p&gt;This blog post is more orientated toward gang programming, but there is information about debugging as well: &lt;a href="https://devzone.nordicsemi.com/blogs/504/a-low-cost-cmsis-dap-jtag-with-ability-for-gang-pr/"&gt;Blog post&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>