<?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>Flash NRF52 on Windows with OpenOCD &amp;amp; FTDI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29221/flash-nrf52-on-windows-with-openocd-ftdi</link><description>Hi,
I&amp;#39;m trying to get OpenOCD flashing to work on Windows using the FTDI 2232H adapter and an NRF52 target. I found this site: 
 https://www.allaboutcircuits.com/technical-articles/getting-started-with-openocd-using-ft2232h-adapter-for-swd-debugging</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jan 2018 01:00:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29221/flash-nrf52-on-windows-with-openocd-ftdi" /><item><title>RE: Flash NRF52 on Windows with OpenOCD &amp; FTDI</title><link>https://devzone.nordicsemi.com/thread/116224?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2018 01:00:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2726d193-fc48-4121-9e3b-0e19ddd3fee6</guid><dc:creator>flyingfishfinger</dc:creator><description>&lt;p&gt;I worked it out on Ubuntu, didn&amp;#39;t bother with Windows even though I expect it would behave the same.&lt;/p&gt;
&lt;p&gt;The latest version of the master version works fine; while it still generates errors the behaviour is correct.&lt;/p&gt;
&lt;p&gt;It was also a matter of figuring out which flash and image dumping commands did what I expected (&amp;quot;flash write_image&amp;quot; was the one).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash NRF52 on Windows with OpenOCD &amp; FTDI</title><link>https://devzone.nordicsemi.com/thread/116223?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2018 09:23:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a8130c8-b47b-4b17-985b-a07817aa75ff</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I guess the links on the &lt;a href="http://openocd.org/discussion/"&gt;OpenOCD discussion page&lt;/a&gt; should be a great place to start.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash NRF52 on Windows with OpenOCD &amp; FTDI</title><link>https://devzone.nordicsemi.com/thread/116222?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2018 18:58:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c349dfa-2aa6-497d-a6e9-3697625caba2</guid><dc:creator>flyingfishfinger</dc:creator><description>&lt;p&gt;Yeah, I&amp;#39;m now using the latest master branch with the NRF5* support.
I&amp;#39;ve made some progress and appear to be able to flash (on Ubuntu), but I still get lots of errors and the mass_erase doesn&amp;#39;t appear to work properly (neither does dump_image), but seem to be able to flash the example Blinky.hex file and it runs.
What&amp;#39;s the best way to get support for specific errors and failures?&lt;/p&gt;
&lt;p&gt;R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash NRF52 on Windows with OpenOCD &amp; FTDI</title><link>https://devzone.nordicsemi.com/thread/116221?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2018 10:39:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:972cfb0c-9a1b-468b-90ca-09485c5d6129</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The &lt;a href="https://github.com/ntfreak/openocd/blob/2168c475ff7ca0f2914bee39700952600014ac40/src/flash/nor/nrf5.c"&gt;flash driver for nRF support in OpenOCD&lt;/a&gt; seems to be named NRF5, not NRF52 like the patch, have you tried this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash NRF52 on Windows with OpenOCD &amp; FTDI</title><link>https://devzone.nordicsemi.com/thread/116217?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 19:58:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f337a1fa-14a1-4fdb-9e78-6a292c45f8da</guid><dc:creator>flyingfishfinger</dc:creator><description>&lt;p&gt;Tried this, without the patch from my initially linked articles it just says &amp;quot;flash driver &amp;quot;nrf52&amp;quot; not found&amp;quot;....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash NRF52 on Windows with OpenOCD &amp; FTDI</title><link>https://devzone.nordicsemi.com/thread/116220?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 19:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:173127f0-42bb-4b33-8c16-e823f657bae5</guid><dc:creator>flyingfishfinger</dc:creator><description>&lt;p&gt;I&amp;#39;ve gotten a bit further building it myself on Ubuntu, but I still can&amp;#39;t flash.&lt;/p&gt;
&lt;p&gt;If I use the current, unpatched version, I get the error &amp;quot; flash driver &amp;#39;nrf52&amp;#39; not found. Apparently that&amp;#39;s what the patch was for.&lt;/p&gt;
&lt;p&gt;With the patch applied to the correct commit, I can at least connect and dump registers but flash writes seem to fail.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m specifically working with the NRF52840, if that helps.&lt;/p&gt;
&lt;p&gt;Should I start a different question if I moved to Ubuntu?&lt;/p&gt;
&lt;p&gt;R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash NRF52 on Windows with OpenOCD &amp; FTDI</title><link>https://devzone.nordicsemi.com/thread/116216?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 16:03:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b293d9c0-80ee-4bfd-aef2-a9edecc9e91c</guid><dc:creator>Andre</dc:creator><description>&lt;p&gt;NRF52 Support has been merged into upstream OpenOCD on 2017-10-03
However, it seems the latest OpenOCD build by the GNU MCU Eclipse project is based on older sources. Therefore I think the best option is to build it yourself from the latest git sources.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash NRF52 on Windows with OpenOCD &amp; FTDI</title><link>https://devzone.nordicsemi.com/thread/116218?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 15:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d029d56e-191e-4a4e-814e-bb32fd8a74bc</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I don&amp;#39;t think OpenOCD driver for nRF5x series works with FTDI but this &lt;a href="http://embeddedsoftdev.blogspot.ca/p/idap-link.html"&gt;CMSIS-DAP JTAG&lt;/a&gt; has software support for nRF5x.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash NRF52 on Windows with OpenOCD &amp; FTDI</title><link>https://devzone.nordicsemi.com/thread/116219?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 15:34:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a38ed51-3022-4d5a-b7fa-4621c7c16c12</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Maybe &lt;a href="https://thingtype.com/blog/programming-and-debugging-nrf52-boards-in-eclipse/"&gt;this tutorial&lt;/a&gt; might provide some useful information? It seems to download some binary of OpenOCD for flashing nRF52 from Eclipse on Windows.&lt;/p&gt;
&lt;p&gt;Any reasons why you can&amp;#39;t build the binaries yourself?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>