<?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>armgcc build hex file always jump to boot after reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65439/armgcc-build-hex-file-always-jump-to-boot-after-reset</link><description>Hi support team. 
 My project build using keil IDE working stable. But when I change to build using makefile, although build success with hex file output and and everything still works but after mydevice reset (hard reset by power or softreset) it&amp;#39;s alway</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Sep 2020 06:21:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65439/armgcc-build-hex-file-always-jump-to-boot-after-reset" /><item><title>RE: armgcc build hex file always jump to boot after reset</title><link>https://devzone.nordicsemi.com/thread/267943?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 06:21:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a069332-befa-4f02-983b-5445b21e0c4a</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK version and Softdevice version are you using? It seems that you have changed the memory setting when I compare the standard example from the SDK with yours. I also see that you haven&amp;#39;t defined the&amp;nbsp;mbr_params_page memory region. Could you try changing it back to the original setting? If that doesn&amp;#39;t work, could you try changing it to as in Keil?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: armgcc build hex file always jump to boot after reset</title><link>https://devzone.nordicsemi.com/thread/267834?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 12:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b1113aa-f550-4378-9c98-5ae982efe54c</guid><dc:creator>Dien Nguyen</dc:creator><description>&lt;p&gt;hi Jared,&lt;/p&gt;
&lt;p&gt;to jump to bootloader i set&amp;nbsp;&lt;span&gt;GPREGRET&amp;nbsp;&lt;/span&gt;&lt;span&gt;r&lt;/span&gt;&lt;span&gt;egister&amp;nbsp;and then call soft reset. so i can&amp;#39;t set debug point there. Here is my config in keil&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1599187691563v1.png" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(edit: sorry, i posted the wrong picture)&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: armgcc build hex file always jump to boot after reset</title><link>https://devzone.nordicsemi.com/thread/267824?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 11:58:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f9c335e-b25c-4425-9b4d-ee9d77832656</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Set a breakpoint in the function, it should be called when you try to enter DFU mode.&amp;nbsp;&lt;/p&gt;
[quote user="Dien Nguyen"]Because if i build hex file using keil ide and flash it to chip, my &lt;span&gt;program&amp;nbsp;&lt;/span&gt;is working, but if i use gcc it always jump to bootloader program. [/quote]
&lt;p&gt;Could you share a screenshot of the memory settings that you use in your keil project?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: armgcc build hex file always jump to boot after reset</title><link>https://devzone.nordicsemi.com/thread/267715?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2020 02:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1581e13-c887-42a4-9b2c-35757962dfd5</guid><dc:creator>Dien Nguyen</dc:creator><description>&lt;p&gt;hi Jared,&lt;/p&gt;
&lt;p&gt;i use SDK 15.2 with softdevice 6.1.0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="73165" url="~/f/nordic-q-a/65439/armgcc-build-hex-file-always-jump-to-boot-after-reset/267450"]&lt;p&gt;Could you step through dfu_enter_check() and check what&amp;#39;s requesting the DFU mode?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;how i can check this, call it in main program? Usually i have bootloader hex file, use Jflash to burn softdevice and bootloader hex file into chip. After that i can use keil to load program or use Jflash or use nrf connect (all work). Because if i build hex file using keil ide and flash it to chip, my &lt;span&gt;program&amp;nbsp;&lt;/span&gt;is working, but if i use gcc it always jump to bootloader program. So i think have some config not correct or i miss something :((&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: armgcc build hex file always jump to boot after reset</title><link>https://devzone.nordicsemi.com/thread/267450?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2020 11:49:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73e3f9ca-794a-41aa-9e7d-206b64c6f172</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using?&lt;/p&gt;
&lt;p&gt;Could you step through dfu_enter_check() and check what&amp;#39;s requesting the DFU mode?&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Jared&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>