<?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>PCA10100 usb secured bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60907/pca10100-usb-secured-bootloader</link><description>To the kind attention of Nordic support team, 
 I didn&amp;#39;t find in SDK16 any SES version of secured usb bootloader for PCA10100 (tell me if I&amp;#39;m wrong). I mainly modified PCA10056&amp;#39;s sdk_config.h (secured usb) project file in order to disable hardware CC310</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 May 2020 12:18:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60907/pca10100-usb-secured-bootloader" /><item><title>RE: PCA10100 usb secured bootloader</title><link>https://devzone.nordicsemi.com/thread/248170?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 12:18:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a33bf0c5-a385-4f4e-b3f1-570d086dbc91</guid><dc:creator>astella</dc:creator><description>&lt;p&gt;Ok, Simonr thank you very much for your kindness and important info.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10100 usb secured bootloader</title><link>https://devzone.nordicsemi.com/thread/248141?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 10:52:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:110695e8-d7a3-4e98-b3c8-0f290ceea0da</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Editing the bootloader starting address is done by changing bootloader_settings_page in nrf_dfu_settings.c&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10100 usb secured bootloader</title><link>https://devzone.nordicsemi.com/thread/248094?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 08:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48ae886c-32dd-415e-86c1-a68d42096aa8</guid><dc:creator>astella</dc:creator><description>&lt;p&gt;Ok, I tested using&amp;nbsp;&lt;span&gt;RAM_START=0x20000008 RAM_SIZE = 0x1FFF8 (0x20000 - 0x08). No prob with that , it works the same. Only doubt to me seems to be BOOTLOADER starting address at this stage&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10100 usb secured bootloader</title><link>https://devzone.nordicsemi.com/thread/248065?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 07:21:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deb49b46-04f6-4246-9818-4ceb99e800d3</guid><dc:creator>astella</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/usb_5F00_secured_5F00_bootloader04052020.7z"&gt;devzone.nordicsemi.com/.../usb_5F00_secured_5F00_bootloader04052020.7z&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hi Simonr, thank you for your kindness,&lt;/p&gt;
&lt;p&gt;I tested this one with the same version of nrfutil (6.1.0) as before and &lt;strong&gt;it is&lt;/strong&gt; &lt;strong&gt;working&lt;/strong&gt;. I have to say that I used&amp;nbsp;&lt;/p&gt;
&lt;p&gt;RAM_START=0x2000260c&lt;/p&gt;
&lt;p&gt;RAM_SIZE=0x1d9f4&lt;/p&gt;
&lt;p&gt;But still I&amp;#39;ll do some other test using&amp;nbsp;&lt;span&gt;RAM_START=0x20000008, because MBR is present and not SoftDevice in my case.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;FLASH_START=0x78000 and FLASH_SIZE=0x6000 seems to not be possible in my case, because bootloader is greater than 24kB. I mean, should be compulsory to get it started at 0x78000? Because it seems having it started at 0x75000 with 0x9000 size is ok. I still don&amp;#39;t know, and have to do test if it is possible to optimize in a way that it fit the 24kB.&lt;/p&gt;
&lt;p&gt;I tested with these commands:&lt;/p&gt;
&lt;p&gt;nrfutil.exe pkg generate --hw-version 52 --sd-req 0 --application-version 4 --application xxx_mbr.hex --key-file private.key xxx_dfu_pkg.zip&lt;/p&gt;
&lt;p&gt;nrfutil.exe dfu usb-serial -pkg xxx_dfu_pkg.zip -p COMx -fc 1 -b 115200&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;(being&amp;nbsp;&lt;span&gt;xxx_mbr.hex:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;mergehex --merge mbr_nrf52_2.4.1_mbr.hex xxx.hex --output xxx_mbr.hex)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10100 usb secured bootloader</title><link>https://devzone.nordicsemi.com/thread/247858?ContentTypeID=1</link><pubDate>Mon, 04 May 2020 12:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff841cda-62a6-42ac-8f83-a369fdc5875a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Have you checked out this short &amp;quot;guide&amp;quot; on how to port a bootloader project to work on the pca10100? Please check it out and make sure you&amp;#39;ve done every step &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/56155/nrf52833-uart-bootloader/243498#243498"&gt;described here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10100 usb secured bootloader</title><link>https://devzone.nordicsemi.com/thread/247692?ContentTypeID=1</link><pubDate>Fri, 01 May 2020 18:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dc0f210-633c-4c18-b10f-a315095d732f</guid><dc:creator>astella</dc:creator><description>&lt;p&gt;When using:&lt;/p&gt;
&lt;p&gt;linker_section_placement_macros=&amp;quot;FLASH_PH_START=0x0;FLASH_PH_SIZE=0x80000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x20000;FLASH_START=&lt;strong&gt;0x78000&lt;/strong&gt;;FLASH_SIZE=&lt;strong&gt;0x6000&lt;/strong&gt;;RAM_START=0x20000008;RAM_SIZE=0x1fff8&amp;quot;&lt;br /&gt; linker_section_placements_segments=&amp;quot;FLASH RX 0x0 0x100000;RAM RWX 0x20000000 0x20000;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&amp;quot;&lt;/p&gt;
&lt;p&gt;I get this:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3782.diff.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;that is way I used in the uploaded project (bootloader3.7z) this configuration:&lt;/p&gt;
&lt;p&gt;linker_section_placement_macros=&amp;quot;FLASH_PH_START=0x0;FLASH_PH_SIZE=0x80000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x20000;FLASH_START=&lt;strong&gt;0x74000&lt;/strong&gt;;FLASH_SIZE=&lt;strong&gt;0xA000&lt;/strong&gt;;RAM_START=0x20000008;RAM_SIZE=0x1fff8&amp;quot;&lt;br /&gt; linker_section_placements_segments=&amp;quot;FLASH RX 0x0 0x100000;RAM RWX 0x20000000 0x20000;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&amp;quot;&lt;/p&gt;
&lt;p&gt;I saw in&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Flib_bootloader.html&amp;amp;cp=5_1_3_5_0_7&amp;amp;anchor=lib_bootloader_memory"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Flib_bootloader.html&amp;amp;cp=5_1_3_5_0_7&amp;amp;anchor=lib_bootloader_memory&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;that boot start address should be 0x78000 to 0x7E000 (24kB). But should be the firmware like the one that I have compiled, it seems that there is not enough room, this way.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>