<?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>NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56994/nrf51822-qfaa-bootloader-settings-not-working</link><description>I am trying to implement DFU for nrf51822 qfaa module I have used sdk secure boot-loader example. Its working on nrf51DK 
 but not working on nrf51822 qfaa module sdk : 12.3.0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Jan 2020 17:14:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56994/nrf51822-qfaa-bootloader-settings-not-working" /><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231253?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 17:14:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eb7008b-0d16-45b2-a99a-cf497a23643b</guid><dc:creator>Dhaval Dalvadi</dc:creator><description>&lt;p&gt;I tried SDK11 its working perfect&lt;br /&gt;&lt;br /&gt;I also tried SDK12.1.0,12.2.0 and 12.3.0 all have same problem with nrf51DK.&lt;/p&gt;
&lt;p&gt;I didnt modify any example code&lt;br /&gt;&lt;br /&gt;I have app based on s130_nrf51_2.0.1_softdevice. So I have to use DFU example based on sdk12.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I doubt on toolchain version or something&lt;br /&gt;&lt;br /&gt;I am using eclipse IDE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231128?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 12:31:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7146d4e4-c400-4fe8-9785-98e73f72854a</guid><dc:creator>Dhaval Dalvadi</dc:creator><description>&lt;p&gt;No&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231127?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 12:29:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:972f280b-d0fc-4db9-ae5a-3bacb1abb1ff</guid><dc:creator>Dhaval Dalvadi</dc:creator><description>&lt;p&gt;I put delay&lt;br /&gt;&lt;br /&gt;void app_error_fault_handler(uint32_t id, uint32_t pc, uint32_t info)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_LOG_ERROR(&amp;quot;received a fault! id: 0x%08x, pc: 0x&amp;amp;08x\r\n&amp;quot;, id, pc);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_delay_ms(2000);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_SystemReset();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void app_error_handler_bare(uint32_t error_code)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void)error_code;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRF_LOG_ERROR(&amp;quot;received an error: 0x%08x!\r\n&amp;quot;, error_code);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nrf_delay_ms(2000);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_SystemReset();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;but not printed anything&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231125?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 12:29:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4325a305-d17b-4076-8967-4900c86072ba</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Just changing the public key should not affect the ability to connect to the device. Please place breakpoints at the locations I stated below. Do you enter one of the handlers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231121?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 12:21:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ca0a023-01e9-4926-bbd7-4a8fecf96742</guid><dc:creator>Dhaval Dalvadi</dc:creator><description>&lt;p&gt;testing with nrf51DK&lt;br /&gt;nRF5_SDK_12.3.0_d7731ad\examples\dfu\bootloader_secure\pca10028_debug\hex\secure_dfu_secure_dfu_ble_s130_pca10028_debug.hex&lt;br /&gt;&lt;br /&gt;With this hex file I am able to connect discover all service and characteristics and allows DFU&lt;br /&gt;&lt;br /&gt;nRF5_SDK_12.3.0_d7731ad\examples\dfu\bootloader_secure\pca10028_debug&lt;br /&gt;I have compiled same example which preexist with sdk just changed public key file and its not able to find services&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231114?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 12:11:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9eb6fdfd-00cd-43ba-9e66-952daa03f233</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, can you place breakpoints in&amp;nbsp;app_error_handler_bare() and&amp;nbsp;app_error_fault_handler() in main.c and then try to connect? Do you end up in one of these handlers? If so, please look at the call stack and see which function that caused the error.&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><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231087?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 11:11:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f3ad897-f6a6-424e-bae2-7eb2eebfb8fc</guid><dc:creator>Dhaval Dalvadi</dc:creator><description>&lt;p&gt;Its advertising as DFUTARG&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231077?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 10:31:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5692363-a392-48f1-a3dc-97623229fc25</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, so the &lt;span&gt;nrf51822 is&amp;nbsp;&amp;nbsp;advertising as&amp;nbsp;Nordic_Buttonless, when you try to connect, then you&amp;#39;re not able to connect with the application?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;bjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231063?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 09:54:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aeb88e22-fa4d-47c2-a853-130c4a1458dc</guid><dc:creator>Dhaval Dalvadi</dc:creator><description>&lt;p&gt;INFO:Inside main&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:In nrf_bootloader_init&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:In real nrf_dfu_init&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:running nrf_dfu_settings_init&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:Enter nrf_dfu_continue&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:Valid App&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:Application sent bootloader request&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:In nrf_dfu_transports_init&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:num transports: 1&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:vector table: 0x00035c00&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:After nrf_dfu_transports_init&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:------- nrf_dfu_flash_init-------&lt;br /&gt;&amp;nbsp;0&amp;gt; :INFO:Waiting for events&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;this is getting on dfu start via RTT&lt;br /&gt;&lt;br /&gt;Here is log from nrf connect app&lt;/p&gt;
&lt;pre class="aLF-aPX-K0-aPE"&gt;nRF Connect, 2020-01-27
DfuTarg (CA:1A:F2:51:65:B7)
V	15:21:15.600	Connecting to CA:1A:F2:51:65:B7...
D	15:21:15.600	gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D	15:21:15.970	[Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I	15:21:15.970	Connected to CA:1A:F2:51:65:B7
D	15:21:15.973	[Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
V	15:21:16.009	Discovering services...
D	15:21:16.012	gatt.discoverServices()
I	15:21:16.413	Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms)
D	15:21:46.373	[Callback] Connection state changed with status: 22 and new state: DISCONNECTED (0)
E	15:21:46.373	Error 22 (0x16): GATT CONN TERMINATE LOCAL HOST
I	15:21:46.373	Disconnected
D	15:21:46.411	[Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231057?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 09:41:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17968c67-760f-40d1-8816-ba2e6ee54dc1</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Please use the nRF Connect app instead of the nRF Toolbox and provide the log files from the nRF Connect app.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231045?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 09:12:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c238d5f4-d794-4966-80d4-072f67a7e9b3</guid><dc:creator>Dhaval Dalvadi</dc:creator><description>&lt;p&gt;It worked with my module when I changed ram as below&lt;br /&gt;&lt;br /&gt;&amp;nbsp; FLASH (rx) : ORIGIN = 0x35C00, LENGTH = 0xA000&lt;br /&gt;&lt;br /&gt;&amp;nbsp; /** RAM Region for bootloader. This setting is suitable when used with s110, s120, s130, s310. */&lt;br /&gt;&amp;nbsp; RAM (rwx) :&amp;nbsp; ORIGIN = 0x200025e0, LENGTH = 0x1a02&lt;br /&gt;&lt;br /&gt;&amp;nbsp; /** Location of non initialized RAM. Non initialized RAM is used for exchanging bond information&lt;br /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp; from application to bootloader when using buttonluss DFU OTA.&lt;br /&gt;&amp;nbsp;&amp;nbsp; */&lt;br /&gt;&amp;nbsp; NOINIT (rwx) :&amp;nbsp; ORIGIN = 0x20003fe2, LENGTH = 0x80&lt;br /&gt;&lt;br /&gt;&amp;nbsp; /** Location of bootloader setting in at the last flash page. */&lt;br /&gt;&amp;nbsp; BOOTLOADER_SETTINGS (rw) : ORIGIN = 0x0003FC00, LENGTH = 0x0400&lt;br /&gt;&lt;br /&gt;&amp;nbsp; /** Location in UICR where bootloader start address is stored. */&lt;br /&gt;&amp;nbsp; UICR_BOOTLOADER (r) : ORIGIN = 0x10001014, LENGTH = 0x04&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;but on OTA inrf toolbox giving me error &lt;strong&gt;upload failed gatt error&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;I have generated package using application hex and private key using following command &lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 51 --application-version 1 --application testFirmware\mainApp.hex --sd-req 0x87 --key-file keys\private.pem OTATest.zip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf51822 qfaa bootloader settings not working</title><link>https://devzone.nordicsemi.com/thread/231023?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2020 08:07:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:707bfea1-091b-4eb2-afca-60d548bea533</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Dhaval,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;does the nRF51822 module have an external 32kHz crystal? If not, then you need to change the LFCLK configuration to use the internal RC Oscillator, i.e.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_RC,            \
                                 .rc_ctiv       = 16,                                \
                                 .rc_temp_ctiv  = 2,                                \
                                 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}&lt;/code&gt;&lt;br /&gt;Best regards&lt;br /&gt;Bjørn&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>