<?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>secure dfu over UART - device programmed but application doesn&amp;#39;t run</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61527/secure-dfu-over-uart---device-programmed-but-application-doesn-t-run</link><description>I am trying to upload firmware using the secure bootloader over UART onto nRF52840-DK. I managed to upload the precompiled blinky dfu test image using the uart debug bootloader. Now I wanted to upload my own program and failed. The dfu says &amp;quot;Device programmed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 May 2020 10:36:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61527/secure-dfu-over-uart---device-programmed-but-application-doesn-t-run" /><item><title>RE: secure dfu over UART - device programmed but application doesn't run</title><link>https://devzone.nordicsemi.com/thread/250663?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 10:36:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd597ced-1a0b-47ea-9d69-a1f19c37a784</guid><dc:creator>MeisterBob</dc:creator><description>&lt;p&gt;I figured it out, the application can&amp;#39;t include an MBR. Here is what I changed. In the example above you need to use the mbr blinky example, for your own app:&lt;/p&gt;
&lt;p&gt;- add&amp;nbsp;&lt;span&gt;$(SDK_ROOT)/components/softdevice/mbr/headers to INC_DIR&lt;br /&gt;- add&amp;nbsp;-DMBR_PRESENT to CFLAGS and ASMFLAGS&lt;br /&gt;- change memory layout in&amp;nbsp;.ld file (compare mbr and blank blinky example blinky_gcc_nrf52.ld)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>