<?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>buttonless app jlink dfu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24693/buttonless-app-jlink-dfu</link><description>I try create my own app based on buttonless app. I&amp;#39;ve tested dfu over the air it&amp;#39;s ok. But for that I need to firmware bootloader (with security key) before. It&amp;#39;s ok for production, but while I work on my app I need to firmware chip very many times and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Sep 2017 01:58:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24693/buttonless-app-jlink-dfu" /><item><title>RE: buttonless app jlink dfu</title><link>https://devzone.nordicsemi.com/thread/97181?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2017 01:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9296628a-39fc-40ef-a880-4eca91ae3549</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;Good advice! I need to try. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttonless app jlink dfu</title><link>https://devzone.nordicsemi.com/thread/97178?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2017 12:12:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d91ecf20-13b3-42ae-b79d-c8021be3b389</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi @Stas, If I understand your first post correctly you simply want to develop and debug your code without the bootloader in place?&lt;/p&gt;
&lt;p&gt;You say that you get the message &amp;quot;no bootloader&amp;quot; when you run your app. If my memory serves me right I believe you will see this message if you try to add the dfu ble service (ble_dfu) without having a valid bootloader in flash. If all this is the case, would it be possible for you to simply avoid adding the dfu service while developing and debugging?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttonless app jlink dfu</title><link>https://devzone.nordicsemi.com/thread/97182?ContentTypeID=1</link><pubDate>Sat, 09 Sep 2017 07:26:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1318030-5d1f-4f1f-b585-910eaeb4c777</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;sorry for long delay.
After I commented part of code where we check crc ( if (crc != s_dfu_settings.bank_0.image_crc)), I can program app via Jlink. But I loose ability to do it wirelessly via smartphone. Now after flash bootloader I can see only led 2 on my nrf52dk and can&amp;#39;t see now DfuTarg while scanning in nrfconnect. Is it ok? After I uncommented crc checking part of code, I can see both leds and DfuTarg advertises me.&lt;/p&gt;
&lt;p&gt;About change crc to 0.
if I understood correct we need to change that in settings file generate based on our_app.hex file
so in my case it&amp;#39;s 0x82461E8A. I&amp;#39;ve found it in settings.hex. How I have to change it to 0? I tried just replase 82461E8A to 00000000. After that I was not able to merge it with bootoader.hex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttonless app jlink dfu</title><link>https://devzone.nordicsemi.com/thread/97180?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 17:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09d20e69-e6b5-478c-8227-ab0885dbd7e6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes you either can modify the bootloader in nrf_dfu_app_is_valid() function to ignore CRC check   remove this:  if (crc != s_dfu_settings.bank_0.image_crc)&lt;/p&gt;
&lt;p&gt;Or you can edit the bootloader setting and set the CRC to 0. Just do &lt;code&gt;nrfutil settings display setting_file_name.hex&lt;/code&gt; to see the CRC and look for that in the hex file to modify it to 0, when CRC set to 0 the bootloader will skip CRC check.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttonless app jlink dfu</title><link>https://devzone.nordicsemi.com/thread/97185?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2017 07:44:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9591cedc-4ce8-439d-870a-bbee18662bd8</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;But it&amp;#39;s not convenient do it each time while create app (because I probably need to do it some hundreds times).
Could you give an advice how to create app in better way. Just remind I modify buttonless_dfu app in SDK 14. Now I need to update firmware (not in production) each time by OTA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttonless app jlink dfu</title><link>https://devzone.nordicsemi.com/thread/97184?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2017 07:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:988fea33-5d14-404f-8584-106c84e6d913</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Stas: Note that you need to generate bootloader setting every time you modify the application. The reason is that there is a CRC check in the bootloader setting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttonless app jlink dfu</title><link>https://devzone.nordicsemi.com/thread/97183?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2017 11:53:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edcf9461-9bd6-4c74-abeb-e796bbbaaef4</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;Thanks.
I did the same way in prior sdk (12,13) and it&amp;#39;s worked. Actually I thought we must to do it in any case (I mean merge settings app and bootloader hex file).&lt;/p&gt;
&lt;p&gt;But buttonless_dfu app in sdk 14 it&amp;#39;s not work. I can programm device without changing after ota, but if I change code a little and try to programm, bootloader not start app and in nrf connect app I see DfuTarg.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttonless app jlink dfu</title><link>https://devzone.nordicsemi.com/thread/97179?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2017 10:41:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35ecb844-36fc-429c-a94d-ba0ffd065399</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Stas,&lt;/p&gt;
&lt;p&gt;As I understand you want to flash softdevice, bootloader and application using Jlink. To do that you need to tell the bootloader that you have a valid application. A bootloader setting modification needed. Please have a look at the Appendix A in &lt;a href="https://devzone.nordicsemi.com/blogs/1085/getting-started-with-nordics-secure-dfu-bootloader/"&gt;this guide&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>