<?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>Can&amp;#39;t run secure bootloader example on nRF51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44711/can-t-run-secure-bootloader-example-on-nrf51822</link><description>I have nRF51822 AA with SDK 12.3.0 and SEGGER SES 3.10f. I was able to run and experiment with ble_app_beacon example, fixing known SES troubles, mainly with memory sections in flash_placement.xml (those are described in devzone). But I was unable to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Mar 2019 10:47:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44711/can-t-run-secure-bootloader-example-on-nrf51822" /><item><title>RE: Can't run secure bootloader example on nRF51822</title><link>https://devzone.nordicsemi.com/thread/179190?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 10:47:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54ee4435-12b1-4211-8686-527addf45ad0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for confirming that it worked on your side and also uploading your modified SDK files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't run secure bootloader example on nRF51822</title><link>https://devzone.nordicsemi.com/thread/179186?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 10:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9af45a6f-28d6-4f7b-af28-f3d5dcacc487</guid><dc:creator>ArtemS</dc:creator><description>&lt;p&gt;Thank you very much, I managed to build that and it works.&lt;br /&gt;I add modified SDK files here as well, for those who will struggle with .diff.&lt;br /&gt;&lt;a href="https://yadi.sk/d/gVGGPhwGFB_img&amp;nbsp;"&gt;yadi.sk/.../gVGGPhwGFB_img&amp;#160;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't run secure bootloader example on nRF51822</title><link>https://devzone.nordicsemi.com/thread/177358?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 13:45:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a51b707f-a1bd-419b-846f-d0999907357b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have ported the bootloader example (pca10028_debug version) to SES, see attachment below. Some additional notes:&lt;/p&gt;
&lt;p&gt;1. I&amp;#39;ve only tested with SES version 3.50 and 4.12, suggest that you upgrade to a more recent version.&lt;/p&gt;
&lt;p&gt;2. You need to apply some minor changes to the SDK&amp;nbsp; ( use the &amp;quot;_vectors&amp;quot; linker symbol instead __isr_vector), see diff file in the project folder.&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp; Keep the original folder structure since the project relies on relative paths.&amp;nbsp;To avoid overwriting existing project files you can make a new bootloader folder so that the path to your project looks like this:&amp;nbsp;&amp;quot;\nRF5_SDK_12.3.0_d7731ad\examples\dfu\&lt;strong&gt;bootloader_secure_ses&lt;/strong&gt;\pca10028_debug\ses\secure_dfu_secure_dfu_ble_s130_pca10028_debug.emProject&amp;quot;&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp;Is not thoroughly tested.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-ec2fb16298f04b52b00545ae636dbfc6/bootloader_5F00_secure_5F00_ses.zip"&gt;devzone.nordicsemi.com/.../bootloader_5F00_secure_5F00_ses.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't run secure bootloader example on nRF51822</title><link>https://devzone.nordicsemi.com/thread/177178?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 20:15:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:116a7d43-0137-4812-becb-bb0f58586514</guid><dc:creator>ArtemS</dc:creator><description>&lt;p&gt;So, does someone have an idea what to check here? Or maybe what settings should be for __isr_vector?&lt;br /&gt;Or maybe correct SEGGER project file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't run secure bootloader example on nRF51822</title><link>https://devzone.nordicsemi.com/thread/176053?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 21:20:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0484336-9331-4394-ae91-82c9637edf15</guid><dc:creator>ArtemS</dc:creator><description>&lt;p&gt;Interestingly, I flashed many times proven module with bootloader and got all the same -&amp;nbsp;Verification failed @ address 0x10001000 and 0x6B0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't run secure bootloader example on nRF51822</title><link>https://devzone.nordicsemi.com/thread/175976?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 14:16:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71bcc574-130e-4901-b82a-1e869daeb0ff</guid><dc:creator>ArtemS</dc:creator><description>&lt;p&gt;Thank you for your help.&lt;br /&gt;&lt;br /&gt;I need to say that there is something more to this case.&lt;br /&gt;I tried to restore the app itself on this board, since no luck with bootloader. At first it had firmware verification failure at address 0x10001000. Then after several erases it flashed OK, but ceased to run with absolutely same symptoms as the bootloader: first stop at 0x6B0 and then jump to nowhere. I think we can conclude that there is something wrong with the board itself, on the first place, since before that a dozen of same boards were flashed with app and worked OK.&lt;br /&gt;&lt;br /&gt;And then I tried to --recover it with nrfjprog, but recovery just failed. Then I tried to flash it several more times and it jumped to main! Application works now on that one. It will be unavailable to me for a week, so I&amp;#39;ll definitely try bootloader on an another module that I know works for sure. As it turns up the bootloader may just be working.&lt;br /&gt;&lt;br /&gt;What could be the reason of such a behavior?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't run secure bootloader example on nRF51822</title><link>https://devzone.nordicsemi.com/thread/175914?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 12:24:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:853bb4a4-05d9-4e3b-96e9-98b5a22bdbd4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I ran into some linker issues while trying to import the project (SES seem to ignore memory segments that I declare in the xml). The bootloader is a bit more complicated to get working because of the additional linker sections, but I will see if I can make a working project for you.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>