<?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>Unable to flash compiled demo from NRF sdk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63104/unable-to-flash-compiled-demo-from-nrf-sdk</link><description>Hello everybody, 
 I successfully built a BLE demo application using Nordic SDK and arm-gcc makefiles and now I am trying to flash it. My board is a custom made one with NRF52832, and debug adapter is St-link, not a Jlink. 
 So I am unable to use provided</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Jul 2020 12:56:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63104/unable-to-flash-compiled-demo-from-nrf-sdk" /><item><title>RE: Unable to flash compiled demo from NRF sdk</title><link>https://devzone.nordicsemi.com/thread/258324?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 12:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24a7ff16-5687-43c1-b86b-36424106c4fc</guid><dc:creator>dossalab</dc:creator><description>&lt;p&gt;Ok, thanks. I&amp;#39;ll try internal oscillator.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash compiled demo from NRF sdk</title><link>https://devzone.nordicsemi.com/thread/258273?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 10:13:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2843a04f-87f8-4b38-a8ed-2a2902d19c20</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The external crystal is not required, but you need to set the clock config corresponding to the clock source available on your board. The synthesized clock is not tested/supported by the softdevice. We recommend using the &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39655/programming-nrf52840-on-custom-board-with-the-ble_app_uart/153752#153752"&gt;internal RC oscillator&lt;/a&gt; if no external LF-crystal is available.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash compiled demo from NRF sdk</title><link>https://devzone.nordicsemi.com/thread/258190?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2020 18:22:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a7c55dc-1832-4823-a462-81b303dd0baf</guid><dc:creator>dossalab</dc:creator><description>&lt;p&gt;We found a problem and it was not related to flashing, but SoftDevice related. Board has no LE crystal and for some reason (may be it was clearly stated somewhere, but I designed this board based on reference manual) LE crystal is required for SoftDevice to work. So I changed config file (SoftDevice clock section, select synthesized instead of crystal) and now demo runs fine. I was unable to find an issue with debugger because with softdevice stlink + openocd + gdb were working poorly.&lt;/p&gt;
&lt;p&gt;So anyway, thanks for your support and I think this issue can be considered solved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash compiled demo from NRF sdk</title><link>https://devzone.nordicsemi.com/thread/258041?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2020 09:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b963bb18-e96f-443e-a48f-544defa38186</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you ever flash any arduino bootloader or similar to the board? If you have not done that already, you should erase all flash in the nRF52832 device and try again.&lt;/p&gt;
&lt;p&gt;The only supported debugger for the nRF5 series ICs are J-Link, so it makes it much harder to get help from us if you use 3rd party tools. At a minimum, we recommend having a nRF5 DK available, as this includes an J-Link OB debugger that can be used to flash/erase/debug external designs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash compiled demo from NRF sdk</title><link>https://devzone.nordicsemi.com/thread/257381?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 12:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42fd6970-75b9-445a-878a-7f390442dec3</guid><dc:creator>dossalab</dc:creator><description>&lt;p&gt;Hi J&amp;oslash;rgen,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried with mergehex utility, but it seems not working too. I&amp;#39;ve also tried with Arduino, and interestingly, it worked. I think implementation there is basically a set of wrappers above the original SDK so I am confused why I cant flash and run samples from SDK itself :) I&amp;#39;ve also tried older SDK 11, without any success.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Unfortunately, I don&amp;#39;t have any official Nordic development boards nor J-Link to verify this behavior. I used to experiment a bit on custom NRF boards without SDK (only bare registers), so I&amp;#39;m sure that my St-link works ok.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash compiled demo from NRF sdk</title><link>https://devzone.nordicsemi.com/thread/257363?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 12:05:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:255037a4-6fc8-40d0-a144-00fc7efc259d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can merge the softdevice with your application using &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf5x_cltools/UG/cltools/nrf5x_mergehex.html"&gt;mergehex&lt;/a&gt; utility. You should then be able to flash a single file using gdb.&lt;/p&gt;
&lt;p&gt;Have you verified that the application works on a Nordic DK or another board? Do you have a J-Link device/Nordic DK that you can connect to your board to verify if you are able to flash it correctly using that?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>