<?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>Single and dual bank DFU all failed over RedMi Note3 Phone</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21478/single-and-dual-bank-dfu-all-failed-over-redmi-note3-phone</link><description>Firstly，the RedMi Note3 DFU failed used by dual bank，however Xiaomi3 Phone can DFU successfully.As the question link text mentioned,the process of the RedMi Notes3 Phone DFU stopped at the line APP_SCHED_QUEUE_FULL().
The details over the OTA app on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Apr 2017 12:11:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21478/single-and-dual-bank-dfu-all-failed-over-redmi-note3-phone" /><item><title>RE: Single and dual bank DFU all failed over RedMi Note3 Phone</title><link>https://devzone.nordicsemi.com/thread/84266?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 12:11:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30d9d188-ccdb-4fa4-ba81-f2cf80609da4</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Great! Happy to hear that you found the cause of the issue!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single and dual bank DFU all failed over RedMi Note3 Phone</title><link>https://devzone.nordicsemi.com/thread/84265?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 09:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b68070b5-5bab-4616-a908-9ef3822f4046</guid><dc:creator>Milk</dc:creator><description>&lt;p&gt;I have good news for you,
OTA succeed by changing the parameter MIN_CONN_INTERVAL and MAX_CONN_INTERVAL.
The original value is 15 and 30.Now the value is 100 and 200.However,the result is  the speed of all the&lt;br /&gt;
OTA,no matter the IOS and Android,decreased.
Now I tried to find the best value to balance the OTA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single and dual bank DFU all failed over RedMi Note3 Phone</title><link>https://devzone.nordicsemi.com/thread/84263?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 08:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48b17b5f-06ab-4fc2-a856-e25f5d81ca68</guid><dc:creator>Milk</dc:creator><description>&lt;p&gt;I have checked the code step by step,found the program stop at the event as follows:
static void on_dfu_evt(ble_dfu_t *p_dfu,ble_dfu_evt_t *p_evt)&lt;/p&gt;
&lt;p&gt;{
//
//
}&lt;/p&gt;
&lt;p&gt;It means that there is no dfu_event to generate.
The dfu_event is defined as follows:
static void services_init(void)&lt;/p&gt;
&lt;p&gt;{
uint32_t err_code;
ble_dfu_init_t dfu_init_obj;
memset(&amp;amp;dfu_init_obj,0,sizeof(dfu_init_obj));&lt;/p&gt;
&lt;p&gt;dfu_init_obj.revision   = DFU_REVISION;
dfu_init_obj.evt_handler = on_dfu_evt;
dfu_init_obj_error_handler = service_error_handler;
ble_dfu_init(&amp;amp;m_dfu,&amp;amp;dfu_init_obj);
}&lt;/p&gt;
&lt;p&gt;What happened to the program?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single and dual bank DFU all failed over RedMi Note3 Phone</title><link>https://devzone.nordicsemi.com/thread/84262?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 06:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd8f9fbd-f16b-446d-8c86-cb51986a5c09</guid><dc:creator>Milk</dc:creator><description>&lt;p&gt;Decreasing it to 10 has no effect on OTA,but I change it to 768,sometimes the rate of OTA progress can reach to 7%.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single and dual bank DFU all failed over RedMi Note3 Phone</title><link>https://devzone.nordicsemi.com/thread/84264?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 13:06:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9dca184-b04f-4c19-b7d1-aa785243cc5a</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi again, could you try to decrease it to 10, i.e.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define SCHED_QUEUE_SIZE                10
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and see if that helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single and dual bank DFU all failed over RedMi Note3 Phone</title><link>https://devzone.nordicsemi.com/thread/84260?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 01:47:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b310b1ef-6b32-4a6d-bda3-936bc27a7a52</guid><dc:creator>Milk</dc:creator><description>&lt;p&gt;I have tried as you say,but it failed.
What circumstance,it will lead the result of m_queue_start_index = m_queue_end_index?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Single and dual bank DFU all failed over RedMi Note3 Phone</title><link>https://devzone.nordicsemi.com/thread/84261?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2017 09:40:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87de9566-ef02-4c8f-b395-e22155519606</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could you try increasing the SCHED_QUEUE_SIZE define in main.c to a higher value, e.g. 30&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define SCHED_QUEUE_SIZE                30
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>