<?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>ATSAM3U4 bootloader problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10613/atsam3u4-bootloader-problem</link><description>I have somewhat unusual problem and I would appreciate your help on this topic. 
 So, to sum up my problem, I have NRF51-DK development kit and I accidentally &amp;quot;fried&amp;quot; the board when high voltage (12V) somehow got onto the SWD interface pins. I therefore</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Dec 2015 13:26:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10613/atsam3u4-bootloader-problem" /><item><title>RE: ATSAM3U4 bootloader problem</title><link>https://devzone.nordicsemi.com/thread/39548?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2015 13:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c15447f-a0ec-4429-8bd2-a9bcc90505d6</guid><dc:creator>MC</dc:creator><description>&lt;p&gt;I&amp;#39;ve solved my problem. If someone else encounters the same problem, here is what I figured out by myself. You have to get yourself CMSIS-DAP bootloader and interface firmware from mbed&amp;#39;s github: &lt;a href="https://github.com/mbedmicro/CMSIS-DAP"&gt;github.com/.../CMSIS-DAP&lt;/a&gt; Then, you open the bootloader project in Keil, build it and flashit with an external programmer. The issue was, that for flashing into boot sector of ATSAM IC, you have to change the range in flashing algorithm from 0x80000 to 0x00. By doing this, you enable flashing to that part of the flash. For interface FW I followed a similar procedure, only difference was, I had to flash FW to address 0x5000. Once all of this was done, I started up the board in bootoader upgrade mode and flashed J-link interface on it. It works as new, so I consider it a successfull repair.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ATSAM3U4 bootloader problem</title><link>https://devzone.nordicsemi.com/thread/39547?ContentTypeID=1</link><pubDate>Sat, 05 Dec 2015 01:36:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b659341-45f2-4d2c-9500-220634763eb0</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Perhaps you should try the CMSIS-DAP/MBED forums, if there&amp;#39;s any expertise in building and flashing CMSIS-DAP to a chip, it&amp;#39;ll be there. They use Keil to build it and should even have documentation about how it&amp;#39;s built and flashed. If you can get MBED onto the chip you can probably then reload the Segger image.&lt;/p&gt;
&lt;p&gt;Or buy a new DK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ATSAM3U4 bootloader problem</title><link>https://devzone.nordicsemi.com/thread/39546?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2015 13:44:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ceca030e-67ed-4968-8dc7-f9fd2b065ecf</guid><dc:creator>MC</dc:creator><description>&lt;p&gt;Hi, I have an Ulink 2 programmer with me, so there should be no problem regarding this. I can read device signature from Keil, so I know it works.&lt;/p&gt;
&lt;p&gt;The problem is more in terms of actual flashing procedure, i.e. to which address should I flash the CMSIS-DAP firmware and how can I erase the stock SAM-BA bootloader which is already on the ATSAM chip? Do I even need to erase it, or should I flash CMSIS-DAP &amp;quot;behind&amp;quot; the stock bootloader?&lt;/p&gt;
&lt;p&gt;-Matic&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ATSAM3U4 bootloader problem</title><link>https://devzone.nordicsemi.com/thread/39545?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2015 13:32:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27dbda24-08c9-42dd-8ac9-6e230e77a058</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;The stock bootloader is made by Segger, and is not something i have access to unfortunately.&lt;/p&gt;
&lt;p&gt;You might make it work by flashing the mBed CMSIS-DAP firmware to the ATSAM chip.
In order to flash anything to the ATSAM chip, you need a programmer/debugger compatible with it. I am not sure what interface it supports, but i am guessing JTAG or SWD. (You can not program it with the usb connector on the board).&lt;/p&gt;
&lt;p&gt;You could also try to connect directly to the nRF51 with an external JLINK adapter from &lt;a href="https://www.segger.com/jlink-debug-probes.html"&gt;Segger&lt;/a&gt;, or a cheaper &lt;a href="https://www.adafruit.com/products/2764"&gt;CMSIS-DAP&lt;/a&gt; debugger.&lt;/p&gt;
&lt;p&gt;-Anders&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>