<?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>Flashed PCB doesn&amp;#39;t boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70219/flashed-pcb-doesn-t-boot-to-app-stays-in-bootloader</link><description>I am trying to port my working application from a nrf52811/s112 to nrf52832/s132, both with SDK 16.0.0. I&amp;#39;m at the end at the process, it builds fine on nrf52932, I just can&amp;#39;t get my app to boot. It stays in bootloader, very probably because it doesn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Jan 2021 15:56:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70219/flashed-pcb-doesn-t-boot-to-app-stays-in-bootloader" /><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/291577?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 15:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a515e70f-3429-45b4-b16a-a37f5b7bfbe0</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;Just for your information, I was bit by this :&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29041/how-to-enable-p0-09-and-p0-10-as-gpio-pins-on-the-nrf52-instead-of-nfc-pins"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/29041/how-to-enable-p0-09-and-p0-10-as-gpio-pins-on-the-nrf52-instead-of-nfc-pins&lt;/a&gt;&amp;nbsp;which messed my SPI pin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/291547?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 14:41:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f662ae3-22f4-45e6-99a3-4dbad014ea23</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;That makes sense, which is always good &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/291542?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 14:33:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee38052a-9992-4874-9faa-c5633b3ed680</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;Ok I didn&amp;#39;t know you could flash the app alone !&lt;br /&gt;Working from this, I managed to flash blinky on my board, and then my app, and then app+bootloader, by fixing the flash/ram placement (not sure what I changed).&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve managed to understand the reboot, due to crashes in my app during&amp;nbsp;memory access, I&amp;#39;ll open a new ticket for that if needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/291361?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 18:15:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c68dfef2-805b-40aa-99fa-90e78d1d13cf</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see.&amp;nbsp;So with the exact same merged hex file that works on the nRF52832 DK your custom HW stays in the bootloader. According to the log in an eternal loop where it seems to start the app, but then there must be a&amp;nbsp;reset for some reason, as the bootloader starts again right after. Is that a summary of the current state?&lt;/p&gt;
&lt;p&gt;Regarding missing RTT output that can be explained if you have had some other firmware before and did not power-cycle and that results in two RTT buffers at different locations, and the RTT viewer&amp;nbsp;finding the wrong one first. But if you still don&amp;#39;t get RTT logs after power-cycling that is not the case. This leads me to another question. Do you know that the board works at all? What if you test with the blank blinky example (no SoftDevice) without any bootloader? Specifically, first erase the board using &amp;quot;nrfjprog -e&amp;quot; and then flash blinky_pca10040.hex from examples/peripheral/blinky/hex&lt;span&gt;/ ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;A typical reason for applications that work on a DK to fail on a custom board is a custom board without a 32 kHz LF clock. This is not relevant for the blinky example though, as it does not use any resources except for a few GPIO output pins. This leaves me without a lot of ideas. Can you upload schematics of your custom board? I am not looking for anything particular, but perhaps it would show something interesting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/291344?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 16:09:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75d33b05-c2c7-4e43-ba15-ec1d0f0c4e76</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;I can successfully connect with RTTViewer, but there is no output even though I&amp;#39;m using the same bootloader that gives me output on the DK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/291342?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 16:07:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4db04296-8950-4cac-8d85-c6cbf27e76d7</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;OK I am further, I&amp;#39;ve successfully flashed blinky to my DK, with your provided bootloader and with mine.&lt;br /&gt;I checked again that there are no modifications done to my bootloader compared to SDK 16.&lt;br /&gt;&lt;br /&gt;I then tried to flash blinky to my custom PCB, and it doesn&amp;#39;t blink (the LEDS on my PCB do have the same pin numbers than the pca10040)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/291314?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 14:30:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d873b92b-91bb-40ed-9929-4efd8d7e4ae3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The bootloader project has optimizations enabled to keep size down so you cannot debug. But it should not be needed. Have you done any modifications in your bootloader compared to the SDK 16 bootloader? if yes, can you share your bootloader or a diff?&lt;/p&gt;
&lt;p&gt;Just for reference Here I upload a few files. The debug bootloader project for the nRF52 DK from SDK 16 (only modified with another public key), the Blinky hex merged with the S132 and a settings hex generated in exact same way as you &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/70869/programming-blinky-app-with-nrfjprog/291242#291242"&gt;here&lt;/a&gt;. So this is essentially the same as you do. With that, the bootloader start the application as expected and the DK starts blinking. I expect you see the same if you test this on your HW? If not we need to look into that as well.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8875.merged.hex"&gt;devzone.nordicsemi.com/.../8875.merged.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4456.settings.hex"&gt;devzone.nordicsemi.com/.../4456.settings.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8688.secure_5F00_bootloader_5F00_ble_5F00_s132_5F00_pca10040_5F00_debug.hex"&gt;devzone.nordicsemi.com/.../8688.secure_5F00_bootloader_5F00_ble_5F00_s132_5F00_pca10040_5F00_debug.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/blinky_5F00_pca10040_5F00_s132.hex"&gt;devzone.nordicsemi.com/.../blinky_5F00_pca10040_5F00_s132.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/291131?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 18:03:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b943f38-3dd2-4025-bed9-2bf442ee4ec5</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;I&amp;#39;m still trying to test that, but I&amp;#39;m lost on how to debug the bootloader in that case.&lt;br /&gt;&lt;br /&gt;Here is what I do&amp;nbsp;&lt;br /&gt;1. I&amp;#39;m merging bootloader+app+SD+settings, erase, program, reset&lt;br /&gt;2. Open the bootloader project, click debug&lt;br /&gt;=&amp;gt; When I debug&amp;nbsp;s_dfu_settings, there is no app version, no bank0 abnk code, etc ...&lt;br /&gt;&lt;br /&gt;What am I missing ?&amp;nbsp;&lt;br /&gt;Thanks !&lt;br /&gt;Best regdards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/291065?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 14:20:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9150c751-33bd-4f87-ba97-4ef42a3b7faa</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. Did you test with the blinky example as I suggested? Just to test a example that virtually cannot fail (as from the bootloader logs it looks like the application is started)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/291054?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 13:53:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c8c3841-ae04-44d5-bd51-ec3e2644f036</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;&amp;gt;&amp;nbsp;&lt;span&gt;I am surprised that you refer to a IoT bootloader project. Is that a coincidence&lt;br /&gt;&lt;/span&gt;Random pick, sorry.&lt;br /&gt;I put back the same RAM_START for bootloader and app&lt;br /&gt;&lt;br /&gt;I tried deactivating the watchdog, no change ... I&amp;#39;m out of ideas&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/291029?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 12:57:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:511998b8-bae6-40c4-9cc7-ebc392402b44</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The RAM start address depends on the RAM required for the SoftDevice, so that will often be different from the application and bootloader. You can see &lt;a href="https://devzone.nordicsemi.com/nordic/short-r"&gt;here &lt;/a&gt;how to find the correct RAM start address. An important point here is that there is no problem setting the start address higher than needed (and thus size lower), as long as the app still have enough. The problem is if the app/BL RAM and SoftDevice RAM overlaps. But in that case you will get an error when initializing the SoftDevice if you are using the SoftDevice handler library (like all example application in the SDK).&lt;/p&gt;
&lt;p&gt;By the way, I am surprised that you refer to a IoT bootloader project. Is that a coincidence (random pick to get an example) or is that what you are using?&lt;/p&gt;
&lt;p&gt;Did you check if you still get this problem if testing without a watchdog? If not, du you have a reason to suspect that RAM is a problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/290792?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2021 14:48:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a65d1c1e-5016-4969-b3b1-92450f2ce6ef</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;Is this expected to have same or different RAM_START and RAM_SIZE&amp;nbsp; between the bootloader and the application ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;In the examples I find :&lt;br /&gt;&lt;br /&gt;examples/iot/bootloader/pca10040/s132/ses/iot_secure_dfu_bootloader_secure_dfu_s132_pca10040.emProject (bootloader)&lt;br /&gt;RAM_START=0x20004000;RAM_SIZE=0xbad0&lt;br /&gt;&lt;br /&gt;examples/peripheral/blinky/pca10040/s132/ses/blinky_pca10040_s132.emProject (application)&lt;br /&gt;RAM_START=0x20005968;RAM_SIZE=0xa698&lt;br /&gt;&lt;br /&gt;Should I have different ram parameters between bootloader and app ? Should I use these values ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/290721?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2021 11:38:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be43f199-6cf2-46b2-b222-69d4dda246eb</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="QuentinFarizon"]I will check what happens on the app side, but it is the same code that works in production on nrf52811.[/quote]
&lt;p&gt;I see. The bootloader should also work on both, so the issue can be anywhere. But based on the logs, I suspect either the app, or potentially watchdog now that you mention it.&lt;/p&gt;
[quote user="QuentinFarizon"]I have watchdog enabled, can this be a cause due to differences between 811/832 ?[/quote]
&lt;p&gt;It should not be, but this is worth checking. First off all, do you see the same behaviour without a watchdog? If not, then we need to look closer in that direction. And if you do, what reload value (timeout) have you configured?&lt;/p&gt;
[quote user="QuentinFarizon"]What minimal app from the examples do you suggest ? I will try on my DK[/quote]
&lt;p&gt;It does not matter, really. Can be anything very simple. Perhaps the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/gpio_example.html"&gt;blinky example&lt;/a&gt;, either as is, or with everything except an empty loop left (so it cannot fail).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/290717?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2021 11:32:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82629115-7c2a-4c03-94b3-12d5b07031da</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;I will check what happens on the app side, but it is the same code that works in production on nrf52811.&lt;br /&gt;&lt;br /&gt;I have watchdog enabled, can this be a cause due to differences between 811/832 ?&lt;br /&gt;&lt;br /&gt;What minimal app from the examples do you suggest ? I will try on my DK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/290716?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2021 11:28:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:736c6aad-979b-4601-bcbe-ccbbc6a05d5a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;From this lok it looks like the app is started. The last two log printouts are from&amp;nbsp;nrf_bootloader_app_start() in&amp;nbsp;components\libraries\bootloader\nrf_bootloader_app_start.c and I would not expect to see more logs from the bootloader after this point even when things are working.&amp;nbsp;Could it be that for some reason a reset happens early in the app? What happens if you use a dummy app which does nothing other then entering a loop doing nothing in main()?&amp;nbsp;Do you still get this reset loop?&lt;/p&gt;
&lt;p&gt;Are you able to run this on a DK? If so, can you upload your bootloader project and app (could be just a minimal app you use to reproduce this issue) so that I can test on my side?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/290572?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 14:53:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc91e7d8-a27c-42d7-ac3c-ace9f639d9e9</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;If I put a breakpoint at the end of nrf_bootloader_app_start I do get logs:&lt;br /&gt;&amp;lt;info&amp;gt; app: Inside main&lt;br /&gt;&amp;lt;debug&amp;gt; app: In nrf_bootloader_init&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Calling nrf_dfu_settings_init()...&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Using settings page.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Copying forbidden parts from backup page.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.&lt;br /&gt;&amp;lt;info&amp;gt; nrf_dfu_settings: Backing up settings page to address 0x7E000.&lt;br /&gt;E000.&lt;br /&gt;source, write not needed. Skipping.&lt;br /&gt;&amp;lt;debug&amp;gt; app: Running nrf_bootloader_app_start with address: 0x00001000&lt;br /&gt;&amp;lt;debug&amp;gt; app: Disabling interrupts. NVIC-&amp;gt;ICER[0]: 0x0&lt;br /&gt;&lt;br /&gt;Without a breakpoint, logs don&amp;#39;t have time to be printed, and the bootloader restarts immediately, and the boot sequence appear in logs in an infinite loop.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/290567?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 14:42:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae31b986-0c36-470c-bac0-707ad2caa262</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;I have checked my bootloader code against the SDK16 standard, the only difference is the build variable NO_CHECKS that stubs some application checks (and I have tried with and without)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/290565?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 14:33:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81bf9db6-3b1b-491a-a03f-d87cafc17cfd</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Bootloader is at addresse range 0x00078000 - 0x0007D631&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1611239473831v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/288308?ContentTypeID=1</link><pubDate>Mon, 11 Jan 2021 08:00:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d860e0af-6f5e-4330-9ff0-07cee02f68f8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From the log&amp;nbsp;and knowledge that&amp;nbsp;dfu_enter_check() always returns false here, it is clear that&amp;nbsp;nrf_dfu_settings_backup() is called, which is close to the end of&amp;nbsp;nrf_bootloader_init() in&amp;nbsp;components\libraries\bootloader\nrf_bootloader.c. However, there is no log from&amp;nbsp;nrf_bootloader_app_start(), which should be called next.&lt;/p&gt;
&lt;p&gt;I do not see anything obvious, so my next idea is a bit of a shot in the dark, but it may be relevant. Have you done any other changes to the bootloader, particularly changes that could increase its size? If so, you may experience a problem that the SES bootloader project does not give you a linker error if the bootloader is up to two pages too large (overlaps MBR params page and potentially bootloader settings page). If this is the case, then you would see memory corruption and anything could happen. What is the end address of the bootloader? (One easy way to see it is to add the hex to &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nc_programmer%2FUG%2Fnrf_connect_programmer%2Fncp_introduction.html"&gt;nRF Connect Programmer&lt;/a&gt; and see there). If this is the problem, then moving the start address of the bootloader a bit down should fix the problem.&lt;/p&gt;
&lt;p&gt;If that does not seem relevant, then perhaps you can add more logging to see what happens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/288207?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 14:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f435121a-5603-4b9d-8efb-712ab51ee234</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;Not sure if I&amp;#39;m doing the right thing in order to debug the booloader : I have flashed the nrf52832 as previously described, with app+bootloader+settings+SD hex, and then I load the bootloader_debug project in Segger Studio and launch debug.&lt;br /&gt;&lt;br /&gt;In&amp;nbsp;nrf_bootloader_fw_activate I&amp;#39;m entering&amp;nbsp;&amp;quot;No firmware to activate.&amp;quot;, which seems to indicate there is no SD and/or app detected.&lt;br /&gt;&lt;br /&gt;Here are the logs&amp;nbsp;:&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; app: Inside main&lt;br /&gt;&amp;lt;debug&amp;gt; app: In nrf_bootloader_init&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Calling nrf_dfu_settings_init()...&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Using settings page.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Copying forbidden parts from backup page.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.&lt;br /&gt;&amp;lt;info&amp;gt; nrf_dfu_settings: Backing up settings page to address 0x7E000.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.&lt;br /&gt;&amp;lt;debug&amp;gt; app: Enter nrf_bootloader_fw_activate&lt;br /&gt;&amp;lt;info&amp;gt; app: No firmware to activate.&lt;br /&gt;&amp;lt;info&amp;gt; nrf_dfu_settings: Backing up settings page to address 0x7E000.&lt;br /&gt;001000&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/288202?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 14:16:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5db90576-f758-429e-8d62-94390ab9a9ca</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;pre&gt;I have edited dfu_enter_check and left only : &lt;/pre&gt;
&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;pre class="ui-code" data-mode="text"&gt;static bool dfu_enter_check(void)
{
    return false;
}    &lt;/pre&gt;&lt;/pre&gt;
&lt;p&gt;And it still doesn&amp;#39;t load the app&lt;br /&gt;&lt;br /&gt;I will try debuggin the bootloader&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/288141?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 11:08:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea835b0b-e3eb-41b1-b629-326ca8ee08e6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="QuentinFarizon"]So I have already tried your first suggestion and it didn&amp;#39;t work unfortunately.&amp;nbsp;I guess that rules out a failed CRC check ?[/quote]
&lt;p&gt;Unless there is a mistake here, then yes (can you show how you have done it just to be sure?).&lt;/p&gt;
&lt;p&gt;Generally, the device will enter DFU mode if&amp;nbsp;&lt;code&gt;dfu_enter_check()&lt;/code&gt; in &lt;code&gt;components\libraries\bootloader\nrf_bootloader.c&lt;/code&gt; returns &lt;code&gt;true&lt;/code&gt;, which is if any of the checks there are hit. I suggest you either use the debug bootloader to enable logging or use some other method to see which of these checks cause the bootloader to enter DFU mode instead of starting the application. Then fixing the issue should most likely be straight-forward.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/288114?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 09:22:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f418d48-6d4c-4705-afb6-8c89c848c683</guid><dc:creator>QuentinFarizon</dc:creator><description>&lt;p&gt;NO_CHECKS is a macro that I have in the bootloader (added in our project) that deactivates checks in&amp;nbsp;crc_on_valid_app_required&lt;/p&gt;
&lt;p&gt;So I have already tried your first suggestion and it didn&amp;#39;t work unfortunately.&amp;nbsp;I guess that rules out a failed CRC check ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I am indeed not using --no-backup, and I&amp;#39;m generating settings from the same hax that I merge later in the script.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashed PCB doesn't boot to app (stays in bootloader)</title><link>https://devzone.nordicsemi.com/thread/288097?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 08:47:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3100d8b1-ad3d-456c-94fc-59bd2706b8f3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are right that the bootloader does not start the app, and a probable reason is invalid CRC. You could verify this by testing the debug bootloader with RTT logging, or by simply removing the CRC check for now. There is no configuration macro for that (not sure where you found &lt;code&gt;NO_CHECKS&lt;/code&gt;?), but you can modifying&amp;nbsp;&lt;code&gt;crc_on_valid_app_required()&lt;/code&gt; in&amp;nbsp;&lt;code&gt;components\libraries\bootloader\nrf_bootloader.c&lt;/code&gt; to always return &lt;code&gt;false&lt;/code&gt;. If that makes the app load as expected, then there is an issue with the CRC check for some reason. Can you tell me the result of this test?&lt;/p&gt;
&lt;p&gt;If we assume for now that the CRC is invalid, then that can either be caused by an incorrect CRC in the bootloader settings page or that the application flash area has changed.&lt;/p&gt;
&lt;p&gt;Typical reasons for incorrect CRC is either missing or incorrectly generated settings page, or for instance that you have generated a settings page hex that does not include the backup page, even though it is used (in MBR params page). The latter could happen if using a too old nrfutil version or using&amp;nbsp;&lt;code&gt;--no-backup&lt;/code&gt;, though I see that is not the case here).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>