<?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>How to flash nRF52 through an external host MCU?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45229/how-to-flash-nrf52-through-an-external-host-mcu</link><description>In my design the nRF52 is connected to an STM32 host MCU. I connected the UART for data communication and the SWD and RESET pins for programming. 
 The nRF52 needs to be programmed through the host (even the first time) so the programming needs to go</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Mar 2019 08:25:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45229/how-to-flash-nrf52-through-an-external-host-mcu" /><item><title>RE: How to flash nRF52 through an external host MCU?</title><link>https://devzone.nordicsemi.com/thread/177746?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 08:25:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:151dfee7-0c0d-4766-ae5f-37f9890312c6</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Ah, somehow I missed the &amp;ldquo;even the first time&amp;rdquo; part. I&amp;rsquo;d suggest you make the NRF52 the host, the STM32 has a built-in bootloader and you can flash it from the NRF52 the first time using UART or I2C. I did this to allow for STM32 firmware updates over BLE through the NRF52 and it works quite well.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash nRF52 through an external host MCU?</title><link>https://devzone.nordicsemi.com/thread/177742?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 08:03:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31f1e821-a9f8-47bf-810d-a146431cb29c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Youssef,&lt;/p&gt;
[quote user=""]The nRF52 needs to be programmed through the host (even the first time) so the programming needs to go through the SWD interface. (Cannot use the UART as the bootloader is not programmed).[/quote]
&lt;p&gt;The only options we have is based on a serial bootloader. If that really is impossible like you write (&lt;em&gt;why&lt;/em&gt; can you not pre-program the nRF?), then the host MCU must have a SWD implementation. Nordic does not provide any such implementation, though.&lt;/p&gt;
[quote user=""]Is there example software to allow the programming of the nRF52 from an external host?&amp;nbsp;[/quote]
&lt;p&gt;That would be the bootloader (which needs to be programmed first).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to flash nRF52 through an external host MCU?</title><link>https://devzone.nordicsemi.com/thread/177725?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 07:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be3565ed-4df0-4b50-af8b-0e7250ddb219</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Is there any reason why you don&amp;#39;t want to flash the bootloader in the NRF52?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>