<?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>Large * .bin bootloader output file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68546/large-bin-bootloader-output-file</link><description>Hello! I need to migrate the loader project from SDK15.3 to 16.0. The SES project parameters are as follows: FLASH_PH_START = 0x0 FLASH_PH_SIZE = 0x80000 RAM_PH_START = 0x20000000 RAM_PH_SIZE = 0x10000 FLASH_START = 0x65000 FLASH_SIZE = 0x11200 RAM_START</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Nov 2020 08:57:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68546/large-bin-bootloader-output-file" /><item><title>RE: Large * .bin bootloader output file</title><link>https://devzone.nordicsemi.com/thread/281727?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 08:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0122a15-7cde-4270-bf70-75ae54bc2913</guid><dc:creator>Proton</dc:creator><description>&lt;p&gt;It&amp;#39;s fine! Thank you so much for your time! It is working!!!&lt;br /&gt;If someone suddenly comes to this thread with the same problem, you will still need to add&lt;br /&gt;ret_val = sd_softdevice_vector_table_base_set (BOOTLOADER_START_ADDR);&lt;br /&gt;VERIFY_SUCCESS (ret_val);&lt;br /&gt;Good luck to all!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Large * .bin bootloader output file</title><link>https://devzone.nordicsemi.com/thread/281711?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 07:51:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d29c8c47-04fb-47bc-b7d4-368bb846d887</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It is optional to store the addresses inside the MBR at 0xff8 and 0xffc, so you may skip this step.&lt;/p&gt;
&lt;p&gt;The SVC_Handler is in your bootloader, so the bootloader is&amp;nbsp; definitely starting. The problem is that this interrupt should have been forwarded to the Softdevice, not the bootloader. To fix this you need to call nrf_dfu_mbr_init_sd() before making any SD API calls.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Large * .bin bootloader output file</title><link>https://devzone.nordicsemi.com/thread/281678?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 22:30:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d553e00-e6a4-4e81-9ed0-984377a567c3</guid><dc:creator>Proton</dc:creator><description>&lt;p&gt;Yes, it is written there, but the bootloader does not start.&lt;br /&gt;These addresses are empty, is that how they should be?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1261.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Large * .bin bootloader output file</title><link>https://devzone.nordicsemi.com/thread/281465?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 08:57:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f00f4f6d-5811-44cf-8975-a6b144f7f49c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry, I&amp;#39;m not sure I understand what the issue is. I quickly tested the project you uploaded and the start addresses stored in UICR @ 0x10001014 does match the start address of your bootloader.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8562.pastedimage1606207115099v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Large * .bin bootloader output file</title><link>https://devzone.nordicsemi.com/thread/281319?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 13:21:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b77a6ee-5996-4b07-b9dd-ae2b138652d9</guid><dc:creator>Proton</dc:creator><description>&lt;p&gt;If in SES - Project Options - Linker I change from&lt;br /&gt;&lt;em&gt;FLASH RX 0x0 0x80000;RAM RWX 0x20000000 0x10000;uicr_bootloader_start_address RX 0x10001014 0x4;bootloader_settings_page RX 0x0007F000 0x1000;uicr_mbr_params_page RX 0x10001018 0x4;mbr_params_page RX 0x0007E000 0x1000&lt;/em&gt;&lt;br /&gt;on&lt;br /&gt;&lt;em&gt;FLASH RX 0x0 0x80000; RAM RWX 0x20000000 0x10000;&lt;/em&gt;&lt;br /&gt;then everything is recorded correctly, but the bootloader does not start&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Large * .bin bootloader output file</title><link>https://devzone.nordicsemi.com/thread/281313?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 13:08:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7988513e-b992-4a57-a102-74670fcb2b6d</guid><dc:creator>Proton</dc:creator><description>&lt;p&gt;Sorry, I understand that.&lt;br /&gt;At the moment I have 2 problems:&lt;br /&gt;1. The actual address of the bootloader is always greater than the one I write (by 0x7000).&lt;br /&gt;2. Overwritten softdevice&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3771.bug.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Large * .bin bootloader output file</title><link>https://devzone.nordicsemi.com/thread/281265?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 09:43:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bb75d6a-1d87-4311-84fb-fbdb42712b2c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Did you have a specific problem in mind? I don&amp;#39;t have time to do a full review of your implementation, so I need to know what to look for.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Large * .bin bootloader output file</title><link>https://devzone.nordicsemi.com/thread/281222?ContentTypeID=1</link><pubDate>Sun, 22 Nov 2020 22:48:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73c58d8e-fb21-43d6-a085-334db0b22e4a</guid><dc:creator>Proton</dc:creator><description>&lt;p&gt;Hello!&lt;br /&gt;Are there any results? I really hope to get any advice from you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Large * .bin bootloader output file</title><link>https://devzone.nordicsemi.com/thread/280935?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 14:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d06ed19f-771b-4a79-8de3-d3d7ef0821c4</guid><dc:creator>Proton</dc:creator><description>&lt;p&gt;Yes indeed. If we make an example of a Nordic loader as the output format * .bin, the same situation. I thought this was the problem on which Softdevice overwrites the MBR, which now seems questionable.&lt;/p&gt;
&lt;p&gt;May I ask you to see my example of the simplest bootloader? The project should be placed in nrf5sdk16 \ examples \ ble_peripheral \&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7573.Bootloader.zip"&gt;devzone.nordicsemi.com/.../7573.Bootloader.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Large * .bin bootloader output file</title><link>https://devzone.nordicsemi.com/thread/280868?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 11:54:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db8eaa3a-ecd4-49a9-8cab-0afd5c5747d4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Then I get the size of * .bin file 261 745 KB. Clearly a memory error.[/quote]
&lt;p&gt;This is as expected. *.bin files don&amp;#39;t have any address records like intelhex files, so byte padding is needed to get address offsets. And there is a lot of padding needed when you have a start address in FLASH and end address in the UICR&amp;#39;s memory range (0x10001018 = 262 148 kB). &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>