<?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>previous BLE stack program not erased</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55787/previous-ble-stack-program-not-erased</link><description>Dear people , 
 nRF52840 and 15.2 version 
 
 I have uploaded the program ble_app_hts in my NRF52840. After which I uploaded ble_app_uart but I still get the &amp;quot;Nordic_HTS&amp;quot; device name in my nRF toolbox application . My previous program (i.e) ble_app_hts</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Dec 2019 12:07:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55787/previous-ble-stack-program-not-erased" /><item><title>RE: previous BLE stack program not erased</title><link>https://devzone.nordicsemi.com/thread/226360?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 12:07:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cd1235a-f2e0-4bfe-b4ab-6bfd7a5d3531</guid><dc:creator>Sundar_santhanam@1998</dc:creator><description>&lt;p&gt;Thank you sir, since I tested using iOS the gatt table is not flushed and the problem occurs again and again. Now I switched to a different phone and it started working . Thank you so much . We came to a conclusion that board wasn&amp;rsquo;t working but you helped us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: previous BLE stack program not erased</title><link>https://devzone.nordicsemi.com/thread/226349?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 11:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77b98e6c-f0ec-40f3-b568-221cc79a38d0</guid><dc:creator>Sundar_santhanam@1998</dc:creator><description>&lt;p&gt;Hi sir,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have done forget device in my phone and flashed new code into my nRF device. &amp;nbsp;Still I get the same issue my previous program is being advertised&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: previous BLE stack program not erased</title><link>https://devzone.nordicsemi.com/thread/226320?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 10:10:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e802ead8-d0fd-4468-86a5-319836d028a1</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This sounds like a caching issue. Since the BLE address of the device is the same, the smartphone might have cached the GATT table, and when it connects again (with a new example on the board) it still shows the same GATT table.&lt;/p&gt;
&lt;p&gt;Usually, turning Bluetooth off and on again (properly through the settings menus not by any shortcut switches), or entering Airplane mode and going back, or both, will work for flushing the cache. That way, the next time the phone connects to the device, it will run the database discovery procedure (i.e. read the new, correct GATT table.)&lt;/p&gt;
&lt;p&gt;If you connect to the device using a different phone, that has never connected to the device before, you should see that the new application has indeed been correctly flashed to the device and that the issue then must be caching on the other smartphone.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>