<?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>Can&amp;#39;t flash nrf51822 via SWD</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21040/can-t-flash-nrf51822-via-swd</link><description>Hello.
I&amp;#39;m newbie in nrf51 world so maybe my questions will be a bit stupid. 
 I bought few nrf51822 modules on Aliexpress. Photo: www.dropbox.com/.../77_1.jpg 
I bought STM32F103 for Black Magic Probe. 
 I flashed STM32F103 with this manual: medium</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 02 Apr 2017 19:10:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21040/can-t-flash-nrf51822-via-swd" /><item><title>RE: Can't flash nrf51822 via SWD</title><link>https://devzone.nordicsemi.com/thread/82194?ContentTypeID=1</link><pubDate>Sun, 02 Apr 2017 19:10:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcd3c2f4-c694-4c9c-8b6b-9476b2d5e3f6</guid><dc:creator>Kyrylo Mikos</dc:creator><description>&lt;p&gt;Thanks.
It&amp;#39;s weird but today I flashed board successfully with OpenOCD (Chinese ST-LINK v2).
BMP still does not see the board. So will use OpecOCD in future.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't flash nrf51822 via SWD</title><link>https://devzone.nordicsemi.com/thread/82193?ContentTypeID=1</link><pubDate>Sat, 01 Apr 2017 22:02:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b0ede75-7d1d-4bb3-8ca0-c735a8873fce</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;No, nRF51 has SWD interface basically always available, there is no way how to kill it from SW. Chip can be read-back protected so some SWD instructions are unavailable but there is a way how to restore it (it will erase entire flash as side effect indeed). There are some procedures how to do this with SEGGER J-Link or even OpenOCD (you can search this Q&amp;amp;A forum) but the only official procedure how to do it are Nordic tools like nRFgo Studio or NRFJPROG and compatible JTAG/SWD HW probes (SEGGER J-Link).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>