<?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>erasing BMD-300</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14708/erasing-bmd-300</link><description>Dear friends,
I am having trouble connecting the Rigado BMD-300 with my Segger J-Link. 
 I am using the official breakout board from Rigado. I&amp;#39;ve connected all GND pins and applying 3.3V to the V pin on the breakout board. Other than that just connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Jan 2017 14:14:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14708/erasing-bmd-300" /><item><title>RE: erasing BMD-300</title><link>https://devzone.nordicsemi.com/thread/56114?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2017 14:14:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab2873ec-136d-451f-a17d-473f550e835f</guid><dc:creator>mectronicsinc</dc:creator><description>&lt;p&gt;....YOU HAVE SAVED MY LIFE!!!!!! :P&lt;/p&gt;
&lt;p&gt;I was destroying my work because I was desperate, I tried any way but nothing...and then I found this post!&lt;/p&gt;
&lt;p&gt;It works immediately!&lt;/p&gt;
&lt;p&gt;Many, many thanks!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: erasing BMD-300</title><link>https://devzone.nordicsemi.com/thread/56113?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2016 09:37:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f03fe09-2346-42c7-9d4b-8dfb91d3469e</guid><dc:creator>TY</dc:creator><description>&lt;p&gt;awesome, wonder why the Rigado support I&amp;#39;ve been in touch with didn&amp;#39;t suggest that at first place.&lt;/p&gt;
&lt;p&gt;Anyway, I add another 25 karma points for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: erasing BMD-300</title><link>https://devzone.nordicsemi.com/thread/56112?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2016 09:19:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca435d01-4730-46e7-8617-b5af28263b1e</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;it&amp;#39;s actually in the manual - under the section about protection it tells you about the second access point which you need to use to turn protection off, which means erasing the chip. I picked apart the register access for that for a thread a little while ago, all except for the SWDSelect which I didn&amp;#39;t know I needed.&lt;/p&gt;
&lt;p&gt;I knew the BMD300 came protected because I couldn&amp;#39;t connect to my first one either and I have previously asked for Rigado github access so I found the tools they had for recovering it.&lt;/p&gt;
&lt;p&gt;So from about 5 different sources is the actual answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: erasing BMD-300</title><link>https://devzone.nordicsemi.com/thread/56111?ContentTypeID=1</link><pubDate>Fri, 24 Jun 2016 09:15:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67828778-1bf4-4b52-af58-4f052265295e</guid><dc:creator>TY</dc:creator><description>&lt;p&gt;Thank you very much, 65 karma points :-)&lt;/p&gt;
&lt;p&gt;Just out of curiosity, where did you find this information?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: erasing BMD-300</title><link>https://devzone.nordicsemi.com/thread/56110?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2016 09:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a08b8730-684b-4b5e-b329-af1bccae1eeb</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;The BMD300 comes with the Rigado firmware on it and with the chip locked. You have to unlock and erase the chip if you want to use it without the Rigado firmware.&lt;/p&gt;
&lt;p&gt;I gather that nordic&amp;#39;s nrfjprog recover utility works but I&amp;#39;ve not tried it, Rigado also has a utility to unlock it which you can get from their github but you probably need to ask for access. (&lt;a href="https://github.com/rigado/programmers"&gt;try the link if you like&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Alternatively you can do what I did which is put the commands straight into JLink off the command line, just start a session with&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;JLinkExe -if swd -device nrf52
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;that command line is for OSX, I think on Windoze it&amp;#39;s just JLink&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SWDSelect
SWDWriteDP 1 0x50000000
SWDWriteDP 2 0x01000000
SWDWriteAP 1 0x00000001
SWDReadAP 3
SWDReadAP 3
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;That&amp;#39;s worked for me on the three I&amp;#39;ve used. Rigado will also give you access to the firmware if you want to put it back on again. They have quite a nice DFU for instance which you may prefer to use, or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>