<?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>nRF52832 SDK 15.3 Secure UART Bootloader: errors when modifying original project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45184/nrf52832-sdk-15-3-secure-uart-bootloader-errors-when-modifying-original-project</link><description>Hi, 
 I am currently updating a firmware from SDK 12.1 to SDK 15.3 on a custom board using a nRF52832. Application itself has been upgraded and works well with Soft Device 6.1.1 (from SDK 15.3). But I am also using a secure serial UART bootloader with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Mar 2019 13:00:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45184/nrf52832-sdk-15-3-secure-uart-bootloader-errors-when-modifying-original-project" /><item><title>RE: nRF52832 SDK 15.3 Secure UART Bootloader: errors when modifying original project</title><link>https://devzone.nordicsemi.com/thread/178358?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 13:00:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd5aa0e9-3e22-4adf-bbfd-98b8dfc90066</guid><dc:creator>Pierre B.</dc:creator><description>&lt;p&gt;Thank you for your answers, adjusting IROM start address and size indeed made things better. &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 SDK 15.3 Secure UART Bootloader: errors when modifying original project</title><link>https://devzone.nordicsemi.com/thread/178187?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 17:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58eee817-a5b1-45cb-8bfa-a9dcae091ad5</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]- Where do those errors come from, why are they returned for such little modifications of the project, and how do I get rid of them ?[/quote]
&lt;p&gt;&amp;nbsp;B&lt;span&gt;ecause the size of the bootloader code has increased with your changes, you need to adjust IROM settings for the project.&amp;nbsp;If you&amp;nbsp;need more space for the bootloader you can allocate more by reducing the start address (IROM&amp;nbsp;start, and increase the size setting with the same amount). You can see an example on how this is done in the debug variant of the bootloader project.&lt;/span&gt;&lt;/p&gt;
[quote user=""]- In order to then flash the bootloader: I saw that the bootloader is now trying to write its start address into MBR, thus in SoftDevice memory region. Is the solution exposed in this thread (&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44768/sdk-15-3-cannot-program-default-bootloader/177444)"&gt;devzone.nordicsemi.com/.../177444)&lt;/a&gt; in order to correctly flash SoftDevice than bootloader still the best one ?[/quote]
&lt;p&gt;Yes.&amp;nbsp;See also this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44233/changed-mbr-parameter-handling-in-sdk15-3-0/"&gt;post.&lt;/a&gt;&lt;/p&gt;
[quote user=""]- In the serial secure UART bootloader example, is it possible to use UARTE instead of UART ?[/quote]
&lt;p&gt;&amp;nbsp;It&amp;#39;s actually using UARTE by default. (NRF_DRV_UART_USE_UARTE -&amp;gt; true)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 SDK 15.3 Secure UART Bootloader: errors when modifying original project</title><link>https://devzone.nordicsemi.com/thread/177529?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2019 10:05:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b618e551-6612-4db2-a3e0-bb30fe6bde5a</guid><dc:creator>Pierre B.</dc:creator><description>&lt;p&gt;I am sorry, links seems to not be working. I will just quote here the part that interests me in particular :&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;quot;nrfjprog will have trouble writing to the MBR/Softdevice area. And if you use --sectorerase with nrjfprog it will erase the MBR make the chip firmware stops working. The workaround is to do an erase all, write the MBR/Softdevice and then flash the bootloader without sector erase.&amp;quot;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>