<?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>After updating the software with nRFtoolbox, my device doesn&amp;#39;t advertising.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72906/after-updating-the-software-with-nrftoolbox-my-device-doesn-t-advertising</link><description>I am working with the secure bootloader example. I copied the firmware zip package to my phone. It contains only application.hex in the package, ​there is no softdevice or bootloader. the software package is installed on my device but afterwards it doesn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Apr 2021 13:14:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72906/after-updating-the-software-with-nrftoolbox-my-device-doesn-t-advertising" /><item><title>RE: After updating the software with nRFtoolbox, my device doesn't advertising.</title><link>https://devzone.nordicsemi.com/thread/305303?ContentTypeID=1</link><pubDate>Fri, 16 Apr 2021 13:14:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a34d8524-aa5b-49d1-b023-df9aff7ad12b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;em&gt;&amp;lt;error&amp;gt; app: Received a fault! id: 0x00004002, pc: 0x00000000, info: 0x2000FFB8&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The fault id indicates that an&amp;nbsp;NRF_FAULT_ID_SDK_ASSERT has occurred somewhere in your code.&amp;nbsp;&lt;/span&gt;I&amp;#39;m not sure why this would happen upon connection, but you can read out the&amp;nbsp;assert_info_t struct stored at 0x2000FFB8&amp;nbsp;&lt;span&gt;to find the line number and file name of where occurred.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;E.g.,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;assert_info_t * p_info = (assert_info_t *) 0x2000FFB8&amp;nbsp;;&lt;br /&gt;NRF_LOG_ERROR(&amp;quot;ASSERTION FAILED at %s:%u&amp;quot;,&lt;br /&gt;p_info-&amp;gt;p_file_name,&lt;br /&gt;p_info-&amp;gt;line_num);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After updating the software with nRFtoolbox, my device doesn't advertising.</title><link>https://devzone.nordicsemi.com/thread/302964?ContentTypeID=1</link><pubDate>Mon, 05 Apr 2021 08:44:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a78e63e-240d-4502-8a5d-a8b4f54850c8</guid><dc:creator>cemalb</dc:creator><description>&lt;p&gt;Hi.&lt;br /&gt;I could not take care of this problem for a long time due to my busy schedule.&amp;nbsp;now I am dealing with this problem again.&lt;/p&gt;
&lt;p&gt;I checked what you said.&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/72906/after-updating-the-software-with-nrftoolbox-my-device-doesn-t-advertising/300969#300969"]nrf_bootloader_init() -&amp;gt;&amp;nbsp;nrf_bootloader_fw_activate() which returns&amp;nbsp;ACTIVATION_NONE, due to your log (Can you check whether the&amp;nbsp;switch (p_bank-&amp;gt;bank_code) case is&amp;nbsp;NRF_DFU_BANK_INVALID or something else?)[/quote]
&lt;p&gt;&lt;span&gt;p_bank-&amp;gt;bank_code&amp;nbsp;value is 0x00000000.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/72906/after-updating-the-software-with-nrftoolbox-my-device-doesn-t-advertising/300969#300969"]Then when&amp;nbsp;nrf_bootloader_init() returns ACTIVATION_NONE, it should call&amp;nbsp;dfu_enter_check(). Does this return? Is it called?[/quote]
&lt;p&gt;Yes, I put a breakpoint there. Calling dfu_enter_check () function after ACTIVATION_NONE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After updating the software with nRFtoolbox, my device doesn't advertising.</title><link>https://devzone.nordicsemi.com/thread/300969?ContentTypeID=1</link><pubDate>Fri, 19 Mar 2021 14:09:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c582c7a6-87f0-4199-bd66-41ff46ee6645</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Are you using the unmodified example?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Can you check if the flow is something like the following:&lt;/p&gt;
&lt;p&gt;nrf_bootloader_init() -&amp;gt;&amp;nbsp;nrf_bootloader_fw_activate() which returns&amp;nbsp;ACTIVATION_NONE, due to your log (Can you check whether the&amp;nbsp;switch (p_bank-&amp;gt;bank_code) case is&amp;nbsp;NRF_DFU_BANK_INVALID or something else?)&lt;/p&gt;
&lt;p&gt;Then when&amp;nbsp;nrf_bootloader_init() returns ACTIVATION_NONE, it should call&amp;nbsp;dfu_enter_check(). Does this return? Is it called?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;id: 0x00004002 means&amp;nbsp;NRF_FAULT_ID_SDK_ASSERT.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After updating the software with nRFtoolbox, my device doesn't advertising.</title><link>https://devzone.nordicsemi.com/thread/300914?ContentTypeID=1</link><pubDate>Fri, 19 Mar 2021 12:03:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:547adcc3-f08e-4c29-9692-4888506cfce4</guid><dc:creator>cemalb</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I debugged with the pca10040_ble_debug example. Log outputs are as follows:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Yeni-Metin-Belgesi.txt"&gt;devzone.nordicsemi.com/.../Yeni-Metin-Belgesi.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1106.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After updating the software with nRFtoolbox, my device doesn't advertising.</title><link>https://devzone.nordicsemi.com/thread/300572?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 07:47:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e43da64e-7c8f-4ee1-a4c7-6611c75ccd90</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should use the project under&amp;nbsp;nRF5_SDK_15.3.0\examples\dfu\secure_bootloader\pca10040_ble_debug to get the debug log with&lt;span&gt;&amp;nbsp;segger or J-Linker RTT View. Are you able to provide the log? Thanks.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After updating the software with nRFtoolbox, my device doesn't advertising.</title><link>https://devzone.nordicsemi.com/thread/300420?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 13:11:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f8a1e2f-d9af-468b-93bd-87289b8781d0</guid><dc:creator>cemalb</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/72906/after-updating-the-software-with-nrftoolbox-my-device-doesn-t-advertising/300391#300391"]Which version SDK/Softdevice are you using?[/quote]
&lt;p&gt;I am using sdk 15.3.0 and s132.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/72906/after-updating-the-software-with-nrftoolbox-my-device-doesn-t-advertising/300391#300391"]How do you generate the updated&lt;span&gt;&amp;nbsp;package? Please post the command you are using.&lt;/span&gt;[/quote]
&lt;p&gt;I am using this command:&lt;/p&gt;
&lt;p&gt;2-N5ftrrfutil pkg generate --hw-version 52 --sd-req 0xB7 --application-version 1 --application abc.hex --key-file private.pem app_dfu_package.zip&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/72906/after-updating-the-software-with-nrftoolbox-my-device-doesn-t-advertising/300391#300391"]Do you see the device adverse as DfuTrag after programming the&amp;nbsp;&lt;span&gt;softdevice and bootloader?&lt;/span&gt;[/quote]
&lt;p&gt;- Yes,When I press DFU in nRFToolbox, my device appears as DfuTrag.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/72906/after-updating-the-software-with-nrftoolbox-my-device-doesn-t-advertising/300391#300391"]Do you see any errors from the bootloader (use _debug version bootloader, you can see the log in segger or RTT view) while/after updating the package?[/quote]
&lt;p&gt;I don&amp;#39;t know exactly how to do this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After updating the software with nRFtoolbox, my device doesn't advertising.</title><link>https://devzone.nordicsemi.com/thread/300391?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 12:27:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ddc2a90-8674-4dd2-926e-23e12345e013</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which version SDK/Softdevice are you using?&lt;/p&gt;
&lt;p&gt;How do you generate the updated&lt;span&gt;&amp;nbsp;package? Please post the command you are using.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Do you see the device adverse as DfuTrag after programming the&amp;nbsp;&lt;span&gt;softdevice and bootloader?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you see any errors from the bootloader (use _debug version bootloader, you can see the log in segger or RTT view) while/after updating the package?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>