<?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>MCUBoot Application not  starting Program on Custom nrf5340 PCB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90053/mcuboot-application-not-starting-program-on-custom-nrf5340-pcb</link><description>Hello, 
 
 I followed the following guide for creating a modified Blinky example app that boots from the mcuboot. I attempted to flash both the merged.hex and zephyr.elf to a custom board with the nrf5340 processor. 
 The sample should just toggle the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jul 2022 13:33:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90053/mcuboot-application-not-starting-program-on-custom-nrf5340-pcb" /><item><title>RE: MCUBoot Application not  starting Program on Custom nrf5340 PCB</title><link>https://devzone.nordicsemi.com/thread/377888?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 13:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7bd4470-288e-4df1-9be5-1e35108245bd</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;No problem.&lt;/p&gt;
[quote user="mattmacleod"]I was told that shorting SB47 would allow me to use a DK board as a programmer/debugger according to these instructions for &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf5340_pdk%2FUG%2Fnrf5340_PDK%2Fhw_debug_out.html"&gt;modifying for debug out&lt;/a&gt;.&amp;nbsp;[/quote]
&lt;p&gt;Where are you seeing this exactly? You can use the DK as an external programmer by simply using the debug out connector (J19), but you would have to program the external board yourself. If you want the DK to power it however you can solder SB47. Like it says there on infocenter: &lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot; While &lt;span&gt;SB47&lt;/span&gt; is shorted, it is not possible to program the onboard nRF5340 &lt;a title="A microchip that integrates all the necessary electronic circuits and components of a computer or other electronic systems on a single integrated circuit." href="https://infocenter.nordicsemi.com/topic/ug_nrf5340_pdk/dita_common/glossary/glossary.html#soc"&gt;&lt;dfn&gt;SoC&lt;/dfn&gt;&lt;/a&gt; even if the external board is unplugged.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So I am a bit confused as to how you are successfully flashing a Blinky sample to it. Are you using the nRF USB or the main USB to power the DK? When attempting to flash the SoC on the DK, have you disconnected the 10-pin debug cable?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot Application not  starting Program on Custom nrf5340 PCB</title><link>https://devzone.nordicsemi.com/thread/377723?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 18:20:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56893290-0cf4-4908-b053-b65d3f490fd7</guid><dc:creator>mattmacleod</dc:creator><description>&lt;p&gt;I have followed the instructions you provided and still no clock signal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried using the modified nrf to perform a DFU over serial using mcumgr and here is the following output:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;c:\ncs\v1.8.0\nrfApps\serial_dfu_hello_world\build\zephyr&amp;gt;mcumgr --conntype serial --connstring &amp;quot;COM4,baud=115200&amp;quot; image upload -e app_update.bin&lt;br /&gt; 39.71 KiB / 39.71 KiB [=======================================================================] 100.00% 2.30 KiB/s 17s&lt;br /&gt;Done&lt;/p&gt;
&lt;p&gt;c:\ncs\v1.8.0\nrfApps\serial_dfu_hello_world\build\zephyr&amp;gt;mcumgr --conntype serial --connstring &amp;quot;/dev/ttyACM0,baud=115200&amp;quot; image list&lt;br /&gt;Error: The system cannot find the path specified.&lt;/p&gt;
&lt;p&gt;c:\ncs\v1.8.0\nrfApps\serial_dfu_hello_world\build\zephyr&amp;gt;mcumgr --conntype serial --connstring &amp;quot;COM4,baud=115200&amp;quot; image list&lt;br /&gt;Images:&lt;br /&gt; image=0 slot=0&lt;br /&gt; version: 0.0.0&lt;br /&gt; bootable: true&lt;br /&gt; flags: active confirmed&lt;br /&gt; hash: c32d83a704ccc2ccd03ed91269f4fb0d25697c901f48d5e91c2d262b56bdb715&lt;br /&gt; image=0 slot=1&lt;br /&gt; version: 0.0.0&lt;br /&gt; bootable: true&lt;br /&gt; flags:&lt;br /&gt; hash: 2081b9546a86a83f164c58f48979bf929a975bb233abcbc852d11f5289a4ef65&lt;br /&gt;Split status: N/A (0)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So it appears to be flashing the device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any other ideas?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Matt&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot Application not  starting Program on Custom nrf5340 PCB</title><link>https://devzone.nordicsemi.com/thread/377702?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 16:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f435b364-dbac-46bb-9eb5-60ea42e83eeb</guid><dc:creator>mattmacleod</dc:creator><description>&lt;p&gt;Thanks for the updated tutorial. I&amp;#39;ll give that a try.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, when I flash it to a DK board the blinky example works. Im assuming this is because the DK board already has a bootloader.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was told that shorting SB47 would allow me to use a DK board as a programmer/debugger according to these instructions for &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf5340_pdk%2FUG%2Fnrf5340_PDK%2Fhw_debug_out.html"&gt;modifying for debug out&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And the only debugger I&amp;#39;ve used is the modified for debug output nrf5340-DK board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your help,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Matt&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot Application not  starting Program on Custom nrf5340 PCB</title><link>https://devzone.nordicsemi.com/thread/377646?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 13:16:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae515e31-7fed-405d-a6dd-860a315d2519</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;First, I should mention that this is a slightly older tutorial, and it is based on NCS 1.4. I see that you are using NCS 1.8 which might be an issue. I&amp;#39;m not sure if this is a problem yet, but just know that there &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/ncs-dfu"&gt;are newer tutorials available&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I am not sure if you are able to debug/program the SoC on the DK with the onboard debugger if you have shorted SB47. Are you able to flash a simple Blinky sample to your DK? Are you using an additional external debugger?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot Application not  starting Program on Custom nrf5340 PCB</title><link>https://devzone.nordicsemi.com/thread/377412?ContentTypeID=1</link><pubDate>Mon, 18 Jul 2022 12:15:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7520e2f1-62e8-4d7f-90fd-f128d295031e</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Matt,&lt;/p&gt;
&lt;p&gt;I will have to get back to you on this.&amp;nbsp;&lt;span&gt;We have entered the summer holiday period in Norway so staffing is low, some delays should be expected.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>