<?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>Problem flashing the .hex file onto the nRF52840 microcontroller</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115898/problem-flashing-the-hex-file-onto-the-nrf52840-microcontroller</link><description>Hello everyone, I took the example code &amp;quot;ble_app_hrs&amp;quot; and added a pin toggle to verify that the code is loaded correctly onto my custom board, which is programmed via the evaluation board 10056 (v2.0.1) and through the P19 connector (Debug Out). I noticed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Oct 2024 15:33:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115898/problem-flashing-the-hex-file-onto-the-nrf52840-microcontroller" /><item><title>RE: Problem flashing the .hex file onto the nRF52840 microcontroller</title><link>https://devzone.nordicsemi.com/thread/508404?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2024 15:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:428f23fd-bb00-48fe-b3b1-66d7c8a94745</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello&amp;#39;&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;#39;&amp;#39;When I try to flash the code on the evaluation board, initially it doesn&amp;#39;t work (not even pressing the reset button), but if I remove the power from the board and then restore it, the code starts working. Why is that?&amp;#39;&amp;#39;&lt;/p&gt;
&lt;p&gt;On which board you were trying to run the example? Your target board should be your custom board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have J-link commander, you can follow the following command to&amp;nbsp;set&amp;nbsp;connected microcontroller&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1730214951454v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I have tried to run the default example on our nRF5SDK and it worked. You can see the directory (C:\nordic\SDKv17.1.0\nRF5_SDK_17.1.0_ddde560\examples\ble_peripheral\ble_app_hrs\pca10056\s140\ses\Output\Release\Exe)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1730215600688v3.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>