<?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 debug Secure DFU Bootloader for nRF52832 in SDK 14 ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29247/how-debug-secure-dfu-bootloader-for-nrf52832-in-sdk-14</link><description>Hi, 
 Follow answers from here and have many try, not success yet. 
 Development with GCC and Eclipse, can not reach main() but return &amp;quot;Programe file does not exist&amp;quot; when start debug. 
 Could you give me some hint? 
 secure_dfu_ble_gcc_nrf52.ld：</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Jan 2018 02:55:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29247/how-debug-secure-dfu-bootloader-for-nrf52832-in-sdk-14" /><item><title>RE: How debug Secure DFU Bootloader for nRF52832 in SDK 14 ?</title><link>https://devzone.nordicsemi.com/thread/116354?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 02:55:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06010d73-0679-4e1e-805f-5b48c741e65b</guid><dc:creator>YeLun</dc:creator><description>&lt;p&gt;You right, Got the wrong debug configuration.  It is running now.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How debug Secure DFU Bootloader for nRF52832 in SDK 14 ?</title><link>https://devzone.nordicsemi.com/thread/116353?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 01:48:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:442a26d0-a091-4f7b-b2ae-44319e2d16c9</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Looks like you have the wrong debug configuration.  Which debugger are you using ?  You need to configure the debug for the one you are using not the general debug config.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How debug Secure DFU Bootloader for nRF52832 in SDK 14 ?</title><link>https://devzone.nordicsemi.com/thread/116352?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2018 01:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c944e9-20e3-487f-940f-3ba928d0c91e</guid><dc:creator>YeLun</dc:creator><description>&lt;p&gt;I try to make the question clearly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How debug Secure DFU Bootloader for nRF52832 in SDK 14 ?</title><link>https://devzone.nordicsemi.com/thread/116351?ContentTypeID=1</link><pubDate>Sun, 07 Jan 2018 14:26:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8bac309-4b27-4900-893b-59d28e9c9743</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;You must first flash it using either nrjprog with JLink or IDAPnRFProg with &lt;a href="http://embeddedsoftdev.blogspot.ca/p/idap-link.html"&gt;IDAP-Link CMSIS-DAP&lt;/a&gt;.  You only need to do this once.  This is due to the fact that the DFU address must be written to the UICR register.  You can also manually write UICR too.  After that you can debug using Eclipse GCC until UICR got erased.  Without UICR address, the softdevice would not jump to DFU, hence you cannot debug.&lt;/p&gt;
&lt;p&gt;You need to create a debug configuration base on the jtag you are using to debug.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Screen-Shot-2018_2D00_01_2D00_07-at-9.04.51-PM.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>