<?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>Problem after doing DFU over BLE.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69972/problem-after-doing-dfu-over-ble</link><description>Does doing DFU again and again on same controller can cause misbehavior of code? I am using BLE + UART + EEPROM in my code and sometimes I face the issue with UART event handler. Normally if I use STlink to load the softdevice and application then everything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jan 2021 10:14:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69972/problem-after-doing-dfu-over-ble" /><item><title>RE: Problem after doing DFU over BLE.</title><link>https://devzone.nordicsemi.com/thread/287901?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 10:14:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a62ca33d-04da-493e-9358-1141964a6405</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you please&amp;nbsp; post your&amp;nbsp; &amp;quot;UART event handler&amp;quot; code here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem after doing DFU over BLE.</title><link>https://devzone.nordicsemi.com/thread/287657?ContentTypeID=1</link><pubDate>Wed, 06 Jan 2021 09:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:302f8e3c-9343-4c52-80ff-5c736bed253f</guid><dc:creator>Vibhor</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying to read some data using UART and send that data over BLE. Only on successful reading of data on UART port, the data is sent over BLE. The problem is sometimes I am don&amp;#39;t receive any data in cellphone. I tried placing some debug flags in UART event handler and send the debug flag data over BLE. Using that I am able to find that the code enters in UART event handler (data ready case).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But the flag which determines the successful reading of data is not being set and so the data is not sent over ble. This happens very rarely (1 out of 25 times).&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;If I erase the chip using nrfgo studio and upload the DFU package again. Everything starts to works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem after doing DFU over BLE.</title><link>https://devzone.nordicsemi.com/thread/287647?ContentTypeID=1</link><pubDate>Wed, 06 Jan 2021 08:56:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c156d92-4ec5-46da-a142-4a792ef6138c</guid><dc:creator>Vibhor</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying to read some data using UART and send that data over BLE. Only on successful reading of data on UART port, the data is sent over BLE. The problem is sometimes I am don&amp;#39;t receive any data in cellphone. I tried placing some debug flags in UART event handler and send the debug flag data over BLE. Using that I am able to find that the code enters in UART event handler (data ready case).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But the flag which determines the successful reading of data is not being set and so the data is not sent over ble. This happens very rarely (1 out of 25 times).&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;If I erase the chip using nrfgo studio and upload the DFU package again. Everything starts to works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem after doing DFU over BLE.</title><link>https://devzone.nordicsemi.com/thread/287643?ContentTypeID=1</link><pubDate>Wed, 06 Jan 2021 08:41:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3b96391-471f-45e1-9980-747800bea01c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It should not be a problem to perform DFU multiple times on the same controller. What is the issue you are facing in the UART event handler? Are you getting an UART error event&amp;nbsp; (&lt;a href="https://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.1.pdf?cp=5_2_0#%5B%7B%22num%22%3A2071%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C56.692%2C379.345%2Cnull%5D"&gt;error conditions)&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>