<?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>Chain JTAG, mutli-mcu programming with nrf52?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19151/chain-jtag-mutli-mcu-programming-with-nrf52</link><description>I&amp;#39;m just checking because search didn&amp;#39;t have hits. 
 Has anyone used JTAG &amp;quot;chain&amp;quot; programming to flash two micros on the same circuit? I assume the nrf52s won&amp;#39;t hold this up, but I&amp;#39;m not sure. 
 Anyone?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 21 Jan 2017 06:15:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19151/chain-jtag-mutli-mcu-programming-with-nrf52" /><item><title>RE: Chain JTAG, mutli-mcu programming with nrf52?</title><link>https://devzone.nordicsemi.com/thread/74126?ContentTypeID=1</link><pubDate>Sat, 21 Jan 2017 06:15:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d39cba5d-9bc9-4f0b-9cf4-6f86f78ca220</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;No worries.&lt;/p&gt;
&lt;p&gt;BTW. Thanks for the information about SWCLK not being able to be shared.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chain JTAG, mutli-mcu programming with nrf52?</title><link>https://devzone.nordicsemi.com/thread/74125?ContentTypeID=1</link><pubDate>Sat, 21 Jan 2017 06:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d544c8d1-75bf-4cdd-8a93-37bf0d1e6b58</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;My hat off to you.  You&amp;#39;ve done it better than I did.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chain JTAG, mutli-mcu programming with nrf52?</title><link>https://devzone.nordicsemi.com/thread/74124?ContentTypeID=1</link><pubDate>Sat, 21 Jan 2017 05:58:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b68cbdba-3cf4-4261-9508-d6969fc9d0fa</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Nope.&lt;/p&gt;
&lt;p&gt;I made a fully working programmer for $3.80&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.aliexpress.com/store/product/Best-Quality-ST-Link-stlink-V2-for-STM8S-STM8L-STM32-Cortex-M0-Cortex-M3-SWIM-JTAG/213957_32676015777.html?spm=2114.12010615.0.0.IvmBvi"&gt;www.aliexpress.com/.../213957_32676015777.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Checkout my video &lt;a href="https://www.youtube.com/watch?v=JXQLI-nXqmQ"&gt;www.youtube.com/watch&lt;/a&gt; where you see that I repurposed that STLink flash a WaveShare BLE400 with a nRF51822&lt;/p&gt;
&lt;p&gt;Please checkout the Blacksphere&amp;#39;s products. You can buy the Blackmagic probe from them (also via Kickstarter)&lt;/p&gt;
&lt;p&gt;But they make their code available via the github (as linked above) for anyone to use as long as you have the technical knowledge.&lt;/p&gt;
&lt;p&gt;You can give BlackSphere a donation if you use their code.&lt;/p&gt;
&lt;p&gt;BTW. To Flash the Baite STlink dongle, you need a $2 USB to Serial adaptor (if you don&amp;#39;t already have one, so you could fact that into the cost if needed)
(umm you would probably need a soldering iron as well)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chain JTAG, mutli-mcu programming with nrf52?</title><link>https://devzone.nordicsemi.com/thread/74123?ContentTypeID=1</link><pubDate>Sat, 21 Jan 2017 05:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61b4ce3c-452c-42f9-a551-0d7b9aeee0f3</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I am sorry to disappoint you but $4 is only the MCU.  There are a lot more components to that.  Overall costs is over 10x that and I am not using some body else code.  I write my own. It took 2 years to complete the project and the software is still on updating every time Nordic changes its SOC.  To tell you the trust, my investment into the project hasn&amp;#39;t paid off yet.  All that is because I don&amp;#39;t steal other people work and sale knockoff of it. An other thing, a legal USB Vend/Prod ID will cost you $5K.  The IDAP is sold with a legal USB ID.&lt;/p&gt;
&lt;p&gt;BTW SWCLK cannot be shared.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chain JTAG, mutli-mcu programming with nrf52?</title><link>https://devzone.nordicsemi.com/thread/74122?ContentTypeID=1</link><pubDate>Sat, 21 Jan 2017 05:09:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24029c2d-eb8a-4313-b1e8-5d7ef2b0d31f</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;The programmer you linked to is not particularly cheap.&lt;/p&gt;
&lt;p&gt;If you are willing to do the work to compile the code, you can build a BlackMagic Probe, using a $4  STLink (STM32) dongle and the code from &lt;a href="https://github.com/blacksphere/blackmagic"&gt;github.com/.../blackmagic&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In terms of programming 2 devices via one connector. AFIK its not possible, But as SWD is only 2 wires, you could add an extra 2 wires to your connector and have separate SWCLK and SWDIO lines for both processors (assuming they are both ARM type and use SWD)&lt;/p&gt;
&lt;p&gt;In fact, I suspect you can probably share the SWCLK line between both (though you&amp;#39;d need to double check this)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chain JTAG, mutli-mcu programming with nrf52?</title><link>https://devzone.nordicsemi.com/thread/74121?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 22:46:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c601f69-daad-46ab-8490-8caa971f77ab</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I though you were talking about multiple nRF52.  Well there are no gang programmers that can do different kind of MCU at the same time.  Usually they program same processor in parallel.  As I said, SWD is peer to peer (one on one) only.  If you want to use the same connector, you need to have a switch between them.  The IDAP-M was used like that on a customer dev kit which as a nRF51 + KL26Z sharing the same connector.   It can program both processor but one at a time only.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chain JTAG, mutli-mcu programming with nrf52?</title><link>https://devzone.nordicsemi.com/thread/74120?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 22:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b6bc861-3f98-4f9e-89ba-ddd309f6f864</guid><dc:creator>SRA</dc:creator><description>&lt;p&gt;You answer enough questions here that I really don&amp;#39;t mind linking your own stuff.&lt;/p&gt;
&lt;p&gt;But... Is that going to help me to program two chips on the same board via one connector? Esp considering one is Nordic and the other is not?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chain JTAG, mutli-mcu programming with nrf52?</title><link>https://devzone.nordicsemi.com/thread/74119?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2017 21:50:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5102ea1c-8473-496e-9cc7-04ee2049ccef</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;nRF52 uses SWD.  It does not support jtag chains.  SWD is peer to peer, no chaining.  However there is a solution to parallel programming nRF52 using multiple low cost programmer &lt;a href="http://embeddedsoftdev.blogspot.ca/p/idap-link.html"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>