<?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>Using Black Magic Probe with nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38385/using-black-magic-probe-with-nrf52832</link><description>Hello Community, 
 I am trying to use Black Magic Probe, an open-source ARM GDB debugger to develop an embedded ARM application using an nRF52832. Here are the parts that I&amp;#39;m using 
 ARM Embedded toolchain (GNU gdb (GNU tools for Arm Embedded Processor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Oct 2018 23:45:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38385/using-black-magic-probe-with-nrf52832" /><item><title>RE: Using Black Magic Probe with nRF52832</title><link>https://devzone.nordicsemi.com/thread/152280?ContentTypeID=1</link><pubDate>Tue, 09 Oct 2018 23:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c877849e-0bbe-4a1b-9ed4-b2238fea2203</guid><dc:creator>Benjamin Willis</dc:creator><description>&lt;p&gt;I found the issue. The github page says that we should type&lt;/p&gt;
&lt;p&gt;]$ dfu-util -d 1d50:6018, 6017 -s 0x08002000:leave -D &amp;lt;binary&amp;gt;&lt;/p&gt;
&lt;p&gt;The issue was being caused by the &amp;quot;...:6018, 6017&amp;quot; bit. The fix was to use either 6018 or 6017, but not both. I used lsusb to find the exact name of the device (it was always either 1d50:6018 or&amp;nbsp; 1d50:6017) and this worked every time. Thank you for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Black Magic Probe with nRF52832</title><link>https://devzone.nordicsemi.com/thread/148682?ContentTypeID=1</link><pubDate>Thu, 13 Sep 2018 18:26:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d1f1cad-2946-4d92-aa03-28f8ae4b916d</guid><dc:creator>Andre</dc:creator><description>&lt;p&gt;On the page&amp;nbsp;&lt;a href="https://github.com/electronut/ElectronutLabs-Bumpy"&gt;https://github.com/electronut/ElectronutLabs-Bumpy&lt;/a&gt;&amp;nbsp;there is a header &amp;quot;Bumpy Firmware&amp;quot;, where the steps to build the firmware are explained.&lt;/p&gt;
&lt;p&gt;Building the firmware produces a number of files. When you flash the&amp;nbsp;blackmagic_dfu.hex into the probe (using SWD), After that you should be able to use dfu-util to flash the&amp;nbsp;blackmagic.bin firmware (using USB)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Black Magic Probe with nRF52832</title><link>https://devzone.nordicsemi.com/thread/148678?ContentTypeID=1</link><pubDate>Thu, 13 Sep 2018 18:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f61be474-65cf-41a9-a8f0-3eb37b9951fd</guid><dc:creator>Benjamin Willis</dc:creator><description>&lt;p&gt;Thank you for the insight Andre. You&amp;#39;ve been a huge help! I&amp;#39;ve contacted several individuals about this issue as well as electronut. Regarding your advise in the second paragraph, how would that reprogram work? Would I have to compile a new image for the BMP probe and upload it through the probes SWD ports? If so, I would have to get a device that would know the MCU of the BMP I&amp;#39;m flashing to, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Black Magic Probe with nRF52832</title><link>https://devzone.nordicsemi.com/thread/148332?ContentTypeID=1</link><pubDate>Wed, 12 Sep 2018 07:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:413389c9-9352-4552-8a85-d7ae9a9b432d</guid><dc:creator>Andre</dc:creator><description>&lt;p&gt;Attempting to update the firmware on my BluePill using dfu-util gives me the same message. I have an idea what might be causing it. A hard wired USB pull up resistor might prevent the device from re-enumerating after the bootloader has been entered. For this I suggest to file a bug report at electronut.&lt;/p&gt;
&lt;p&gt;At this point I would suggest to use another SWD probe to reprogram your probe with the latest firmware. It seems they&amp;#39;ve added a new variant to their firmware last July:&amp;nbsp;&lt;a href="https://github.com/electronut/blackmagic/commit/0f5e554065eec2b0dd7e61b57889e1ac74f57418"&gt;https://github.com/electronut/blackmagic/commit/0f5e554065eec2b0dd7e61b57889e1ac74f57418&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Black Magic Probe with nRF52832</title><link>https://devzone.nordicsemi.com/thread/148108?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 00:47:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4f9bb89-3385-42b7-bcce-6f24e7921f22</guid><dc:creator>Benjamin Willis</dc:creator><description>&lt;p&gt;That was my suspicion! I tried to update the firmware on the device but I get an error message when I try:(I didn&amp;#39;t mention this in the original post because I wanted to focus on the immediate problem first, which was recognizing the device)&lt;/p&gt;
&lt;p&gt;dfu-util: Lost devvice after RESET?&lt;/p&gt;
&lt;p&gt;Have you ever seen/heard of this Andre? If so, do you know the cause?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m running fedora 27 by the way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using Black Magic Probe with nRF52832</title><link>https://devzone.nordicsemi.com/thread/148102?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 21:57:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0798f8c-054a-44c2-880c-ba70a85aa63c</guid><dc:creator>Andre</dc:creator><description>&lt;p&gt;I have flashed a firmware from&amp;nbsp;&lt;a href="http://builds.blacksphere.co.nz/blackmagic/"&gt;http://builds.blacksphere.co.nz/blackmagic/&lt;/a&gt;&amp;nbsp;to a BluePill&lt;/p&gt;
&lt;p&gt;I get this when I connect to an nRF52&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;(gdb) target extended-remote /dev/ttyACM0
Remote debugging using /dev/ttyACM0
(gdb) monitor swdp_scan
Target voltage: ABSENT!
Available Targets:
No. Att Driver
 1      Nordic nRF52
 2      Nordic nRF52 Access Port
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regarding device ids, if your nrf is newer then the bmp firmware can recognise, you can build your own firmware build. In that case, check out the source (&lt;a href="https://github.com/blacksphere/blackmagic.git)&amp;nbsp;"&gt;github.com/.../blackmagic.git)&amp;#160;&lt;/a&gt; and look at src/target/nrf51.c and around line 166 you&amp;#39;ll see various IDs for nrf52&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	case 0x00AC: /* nRF52832 Preview QFAA BA0 */
	case 0x00C7: /* nRF52832 (rev 1) QFAA B00 */
	case 0x00E3: /* nRF52832 (rev 1) CIAA B?? */
	case 0x0139: /* nRF82832 (rev 2) ??AA B?0 */
		t-&amp;gt;driver = &amp;quot;Nordic nRF52&amp;quot;;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Where you can add your revision in case it is missing. You might have to remove the -Werror from the Makefile as newer gcc versions give more warnings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>