<?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>Debug application with bootloader installed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27426/debug-application-with-bootloader-installed</link><description>I would like to be able to leave the bootloader installed and debug an application. I have been able to use the merge tools to get the hex files all merged and generate the crc etc.. That all works. The problem is that this data is incorrect when the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Nov 2017 12:08:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27426/debug-application-with-bootloader-installed" /><item><title>RE: Debug application with bootloader installed</title><link>https://devzone.nordicsemi.com/thread/108319?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 12:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:586d124c-98a7-4705-a272-aae1910eb251</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@jmag: Yes, the easiest is to disable CRC check on the bootloader. I&amp;#39;m not so sure about Eclipse, but in most IDE you can set up an additional load file, that you can flash inaddition to the current application hex. You can set up the bootloader setting hex file to update the CRC inside the bootloader setting. But this option requires a script to run to create the bootloader setting hex.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug application with bootloader installed</title><link>https://devzone.nordicsemi.com/thread/108318?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 11:39:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2fea752-decb-4512-8fff-83a596bae61d</guid><dc:creator>jmag999</dc:creator><description>&lt;p&gt;I am using Atollic (eclipse).  The reason for the post was to avoid jumping through the hoops of having to change either the bootloader or the application every time.  When the bootloader is installed and you try to run the application, it never gets to main because the CRC check fails.  Seems there should be an easier way to do this.  Based on your comments, it looks like the best way would be to create a new bootloader which doesn&amp;#39;t check the CRC, and use that only during debug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug application with bootloader installed</title><link>https://devzone.nordicsemi.com/thread/108317?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 10:20:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98b58046-5d96-4799-b807-0ad7298a60ce</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi jmag,&lt;/p&gt;
&lt;p&gt;Which debugger program are you using ? you don&amp;#39;t need to combine hex file to be able to debug. Simply set break point in your application, after the bootloader switches to application you will hit the break point inside the application. In other words, the debugger doesn&amp;#39;t need to know about the bootloader.&lt;/p&gt;
&lt;p&gt;If you modify the application and have trouble enterring application because of the CRC check in the bootloader, you can either make a script to generate bootloader setting (with updated CRC) and flash that or you can simply disable CRC check inside bootloader. You can enable it back after you are done with debugging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>