<?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>Hi 

I&amp;#39;m facing problem while programming my custom nrf52832 board its saying this hex file has a data in softdevice region . I&amp;#39;m using SDK_15.3.1 with SES and trying to upload bootloader_uart_debug with SoftDevice132.i set IROM1 address 0x64000 an</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45371/hi-i-m-facing-problem-while-programming-my-custom-nrf52832-board-its-saying-this-hex-file-has-a-data-in-softdevice-region-i-m-using-sdk_15-3-1-with-ses-and-trying-to-upload-bootloader_uart_debug-with-softdevice132-i-set-irom1</link><description>board version pca10040 
 softdevice s132 
 sdk 15.3.1 
 ic nrf52832</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Apr 2019 09:32:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45371/hi-i-m-facing-problem-while-programming-my-custom-nrf52832-board-its-saying-this-hex-file-has-a-data-in-softdevice-region-i-m-using-sdk_15-3-1-with-ses-and-trying-to-upload-bootloader_uart_debug-with-softdevice132-i-set-irom1" /><item><title>RE: Hi 

I'm facing problem while programming my custom nrf52832 board its saying this hex file has a data in softdevice region . I'm using SDK_15.3.1 with SES and trying to upload bootloader_uart_debug with SoftDevice132.i set IROM1 address 0x6400</title><link>https://devzone.nordicsemi.com/thread/181520?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 09:32:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a238b61-0831-47d9-a602-503c56b99a7c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="tgeldridge"]it looks like the location of&amp;nbsp;&lt;span&gt;uicr_bootloader_start_address changed to be 0xFF8 but the name did not change (even though it is called&amp;nbsp;&lt;strong&gt;uicr_&lt;/strong&gt;bootloader_start_address, it is no longer in the UICR?)&lt;/span&gt;[/quote]
&lt;p&gt;&lt;span&gt;Yes, that is correct. Please see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44561/sdk-15-3-0-bootloader"&gt;this post&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi 

I'm facing problem while programming my custom nrf52832 board its saying this hex file has a data in softdevice region . I'm using SDK_15.3.1 with SES and trying to upload bootloader_uart_debug with SoftDevice132.i set IROM1 address 0x6400</title><link>https://devzone.nordicsemi.com/thread/181428?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2019 23:47:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:191b9ba9-c6f5-40ce-a49c-a82720f5c478</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;I just downloaded 15.3 and my nrf_bootloader_info.c seems to still place the bootloader address in UICR:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;    volatile uint32_t m_uicr_bootloader_start_address  __attribute__ ((section(&amp;quot;.uicr_bootloader_start_address&amp;quot;)))
                                            = BOOTLOADER_START_ADDR;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there an example for how to load the bootloader address into the flash location?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT: Just looking in the linker script:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uicr_bootloader_start_address (r) : ORIGIN = 0x00000FF8, LENGTH = 0x4&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;it looks like the location of&amp;nbsp;&lt;span&gt;uicr_bootloader_start_address changed to be 0xFF8 but the name did not change (even though it is called&amp;nbsp;&lt;strong&gt;uicr_&lt;/strong&gt;bootloader_start_address, it is no longer in the UICR?)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi 

I'm facing problem while programming my custom nrf52832 board its saying this hex file has a data in softdevice region . I'm using SDK_15.3.1 with SES and trying to upload bootloader_uart_debug with SoftDevice132.i set IROM1 address 0x6400</title><link>https://devzone.nordicsemi.com/thread/178604?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 09:57:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6711ab8e-037a-4f8d-9408-dc021a3262a6</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; In&amp;nbsp;SDK v15.3 we changed the bootloader start address register (NRF_UICR_BOOTLOADER_START_ADDRESS) from&amp;nbsp;NRF_UICR_BASE + 0x14 in the UICR to&amp;nbsp;MBR_BOOTLOADER_ADDR (at&amp;nbsp;0xFF8) in the MBR.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So to write the start address of the bootloader, you need to write into the MBR (This is to help improving security for the bootloader)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;This causes the issue that you experienced.&amp;nbsp;The tool will have trouble writing to the MBR/Softdevice area.&lt;/p&gt;
&lt;p&gt;The workaround is to do an erase all, write the MBR/Softdevice and then flash the bootloader without sector erase.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t want to do an erase all every time you write the bootloader, you can comment out what inside nrf_bootloader_info.c on the second time you write the bootloader so that the programmer would not write to the MBR.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Or you can merge the MBR/softdevice to your application and then flash with sectorerase.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please use &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF-Connect-for-Desktop#Downloads"&gt;nRFConnect for desktop&lt;/a&gt; instead. See also &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44768/sdk-15-3-cannot-program-default-bootloader/"&gt;this thread &lt;/a&gt;and&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38775/a-new-firmware-version-is-available-for-the-connected-emulator-in-nrfgo-studio/149798#149798"&gt;this thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi 

I'm facing problem while programming my custom nrf52832 board its saying this hex file has a data in softdevice region . I'm using SDK_15.3.1 with SES and trying to upload bootloader_uart_debug with SoftDevice132.i set IROM1 address 0x6400</title><link>https://devzone.nordicsemi.com/thread/178540?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 05:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb435e19-1aa6-473f-962e-a3bb4db049db</guid><dc:creator>Jefferson</dc:creator><description>&lt;p&gt;I had the same error and it was solved by using nRF Connect or the latest &lt;span&gt;nrfjprog&amp;nbsp;&lt;/span&gt;to program instead of nRFgo Studio.&amp;nbsp; I don&amp;#39;t know if it is the same problem as yours.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44768/sdk-15-3-cannot-program-default-bootloader"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44768/sdk-15-3-cannot-program-default-bootloader&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi 

I'm facing problem while programming my custom nrf52832 board its saying this hex file has a data in softdevice region . I'm using SDK_15.3.1 with SES and trying to upload bootloader_uart_debug with SoftDevice132.i set IROM1 address 0x6400</title><link>https://devzone.nordicsemi.com/thread/178536?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 05:28:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38d1d606-73b9-4646-8b69-4c5848e65603</guid><dc:creator>sreejith c m</dc:creator><description>&lt;div&gt;hai sir,&lt;/div&gt;
&lt;div&gt;i am using&amp;nbsp; &amp;nbsp;&lt;span class="x_-464775539highlight"&gt;&lt;span class="x_-464775539colour"&gt;&lt;span class="x_-464775539font"&gt;&lt;span class="x_-464775539size"&gt;nRF5_SDK_15.3.0\examples\dfu\secure_bootloader\pca10040_uart_debug&amp;nbsp; &amp;nbsp; project.which address i want to set for IROM1&amp;nbsp; and&amp;nbsp; IRAM1 ?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi 

I'm facing problem while programming my custom nrf52832 board its saying this hex file has a data in softdevice region . I'm using SDK_15.3.1 with SES and trying to upload bootloader_uart_debug with SoftDevice132.i set IROM1 address 0x6400</title><link>https://devzone.nordicsemi.com/thread/178431?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 14:40:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da7a2155-0587-4d60-85b6-421b504a254a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; May I have more information about this case with the following questions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Which example do you use? Is it under nRF5_SDK_15.3.0\examples\dfu\secure_bootloader\pca10040_uart_debug? If so,&amp;nbsp;you can&amp;nbsp;refer to &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/sdk_app_serial_dfu_bootloader"&gt;this page&lt;/a&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Why do you want to&amp;nbsp;set IROM1 address 0x64000 and IRAM1...&amp;nbsp;(the text is missing in the title)?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="display:none;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="display:none;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="display:none;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="display:none;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="display:none;"&gt;BBBB&amp;nbsp;Private &lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>