<?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>HOW TO DEBUG  APPLICATION WITH BOOTLOADER  USING SEGER IDE.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56451/how-to-debug-application-with-bootloader-using-seger-ide</link><description>Hi, 
 
 In need to debug my application using segger IDE when there is bootloader already present in nrf52832 chip . 
 The sdk we are using is SDK 15.3 
 Bootloader:- &amp;quot;secure_bootloader_ble_s132_pca10040.hex&amp;quot; (:- not debug version) 
 Application:- &amp;quot;ble_hid_mouse</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Dec 2019 14:59:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56451/how-to-debug-application-with-bootloader-using-seger-ide" /><item><title>RE: HOW TO DEBUG  APPLICATION WITH BOOTLOADER  USING SEGER IDE.</title><link>https://devzone.nordicsemi.com/thread/228655?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 14:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9911e5c2-eb94-47cf-8d3c-bef41e66ed3a</guid><dc:creator>NANDHU</dc:creator><description>&lt;p style="text-align:left;"&gt;Thanks Amanda , Happy x-mas and new year too&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO DEBUG  APPLICATION WITH BOOTLOADER  USING SEGER IDE.</title><link>https://devzone.nordicsemi.com/thread/228654?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 12:39:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d90d82e-6b11-40ca-8e3b-96927ada7a3c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Nandhu,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bjørn is on the Christmas holiday.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Good to hear you find the solution. If you have further questions, please raise a new support case.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Nordic technical support staff will be reduced during the holiday season from 21st December to 7th January&lt;br /&gt;Longer&amp;nbsp;response time to tickets must be expected during this period.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Other DevZone users might be active and respond to public tickets as usual.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Merry Christmas &amp;amp; Happy new year.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO DEBUG  APPLICATION WITH BOOTLOADER  USING SEGER IDE.</title><link>https://devzone.nordicsemi.com/thread/228653?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 06:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dd9db94-bdcc-4aca-879e-d65746bd0c62</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Bjron thanks for the reply&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I find a solution and now i can able to debug with bootloder .&lt;/p&gt;
&lt;p&gt;I made a small change in Application project setting in segger IDE.&lt;/p&gt;
&lt;p&gt;Look the screen shot below.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now when downloading file application.hex&amp;nbsp; to nrf52832 using segger the Softdevice he is not loading with it .&lt;/p&gt;
&lt;p&gt;so the issue of deleting bootloader section is sort out.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO DEBUG  APPLICATION WITH BOOTLOADER  USING SEGER IDE.</title><link>https://devzone.nordicsemi.com/thread/228652?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 04:20:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b5175ad-4e14-4b48-83e7-352e778f59a4</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Bjron , please reply as soon as you can possible . I am waiting for the reply .&amp;nbsp; I told you already that its a major issue to us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO DEBUG  APPLICATION WITH BOOTLOADER  USING SEGER IDE.</title><link>https://devzone.nordicsemi.com/thread/228651?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 11:24:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d9642fe-bcd1-4aae-ba56-f9e37152725d</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Bjron,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; By referring the link you provided i changed the &amp;quot;uicr_bootlader_start_address&amp;quot; to 0x10001014 in flash_placement.xml .&lt;/p&gt;
&lt;p&gt;and also included the &amp;quot;nrf_bootloader_write_bl_addr_to_mbr()&amp;quot; in main.c and called it in main().&lt;/p&gt;
&lt;p&gt;But now the below error was showing,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO DEBUG  APPLICATION WITH BOOTLOADER  USING SEGER IDE.</title><link>https://devzone.nordicsemi.com/thread/228650?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 08:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d36f805-0d5a-433f-8f65-95f566e91dbe</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Look the screen shot below&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I take the memory layout of nrf52832 chip before and after flashing the &amp;quot;Application hex&amp;quot; with segger IDE .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BEFORE(ie now there is only SD+BL+BLS)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;AFTER (ie now i flashed the application using segger ide)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Did you notice the variation in softdevice start address in both .&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I think that while i programming through segger ide . BOOTLODER section which is overlapping with softdevice section is deleting . what&amp;#39;s why i getting the &amp;quot;No bootloader was found&amp;nbsp; &amp;quot; error.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Is there any solution for these.&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO DEBUG  APPLICATION WITH BOOTLOADER  USING SEGER IDE.</title><link>https://devzone.nordicsemi.com/thread/228649?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 05:39:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:538014cb-ae60-4a9c-b512-793f0f67acdb</guid><dc:creator>NANDHU</dc:creator><description>[quote user="bjorn-spockeli"]Can you try to merge the bootloader hex with the settings hex and then merge the combined bootloader+settings hex with the SoftDevice? After flashing this combined bootloader+settings+softdevice hex, try to debug the application.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;bjron i did&amp;nbsp; these same issue is showing again when i try to debug our Application using segger ide .&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;I will explain what i did&lt;/strong&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I merged the bootloader hex and bootloader setting hex&amp;nbsp; and then i merged the Softdevice hex .Merged hex&amp;nbsp; was attached below.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e867a41e963c4a629ca62e429b32bbea/SD_5F00_BL_5F00_BLS.hex"&gt;devzone.nordicsemi.com/.../SD_5F00_BL_5F00_BLS.hex&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then using nrf_Connect desktop application i programmed these hex to our custom board then the device started to advertise as &amp;quot;DfuTrag&amp;quot;.&lt;/li&gt;
&lt;li&gt;Then i open the application code in segger IDE and clicked on &amp;quot;Build and Debug&amp;quot; option the program was downloaded to the device successfully , but when i started the debug its showing above error i mentioned and the device is not advertising to.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;thanks for the reply .&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Please reply as soon as you can possible.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;NOTE:-&lt;strong&gt; BOOTLODER HEX WE ARE USING IS NON DEBUG VERSION&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOW TO DEBUG  APPLICATION WITH BOOTLOADER  USING SEGER IDE.</title><link>https://devzone.nordicsemi.com/thread/228648?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 13:56:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1ab9371-221d-4ee2-a44e-f95b92abc0a5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Nandhu,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is a known issue in SDK v15.3.0, see&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47651/uicr_mbr_params_page-and-uicr_bootloader_start_address-overwrite-the-beginning-of-the-softdevice"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/47651/uicr_mbr_params_page-and-uicr_bootloader_start_address-overwrite-the-beginning-of-the-softdevice&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try to merge the bootloader hex with the settings hex and then merge the combined bootloader+settings hex with the SoftDevice? After flashing this combined bootloader+settings+softdevice hex, try to debug the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>