<?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>Unable to flash another BLE code after flashing a secure BLE bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66601/unable-to-flash-another-ble-code-after-flashing-a-secure-ble-bootloader</link><description>I Flashed the DK using segger embedded studio with example &amp;quot;pca10056_s140_ble_debug&amp;quot; After that I am unable to flash &amp;quot;ble_app_uart&amp;quot; example. 
 I tried another example like &amp;quot;gpiote&amp;quot;, it worked but unable to flash &amp;quot; pca10056_s140_ble_debug&amp;quot; as well as </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Oct 2020 12:29:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66601/unable-to-flash-another-ble-code-after-flashing-a-secure-ble-bootloader" /><item><title>RE: Unable to flash another BLE code after flashing a secure BLE bootloader</title><link>https://devzone.nordicsemi.com/thread/272974?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 12:29:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b60bf02-81df-453d-bf45-332f51ebab55</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;I have tested both &amp;quot;ble_app_uart&amp;quot; amd &amp;quot;ble_app_beacon&amp;quot; on the nrf52840dk v2.0.1 and both work for me.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;So I will list the steps I do:&lt;br /&gt;&lt;br /&gt;Connect DK to pc with USB.&lt;br /&gt;&lt;br /&gt;Open SES (I am using SES Nordic edition V4.52)&lt;br /&gt;&lt;br /&gt;Click the Open Existing button on the dashboard.&lt;br /&gt;&lt;br /&gt;Select either &lt;em&gt;ble_app_uart&lt;/em&gt; or &lt;em&gt;ble_app_beacon&lt;/em&gt;&amp;nbsp;emProject file. ( I&amp;nbsp;tested SDK16 and SDK17, \examples\ble_peripheral\ble_app_uart\pca10056\s140\ses)&lt;br /&gt;&lt;br /&gt;Click on the &lt;strong&gt;Target&lt;/strong&gt; and select &lt;strong&gt;Connect J-link&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Click on &lt;strong&gt;Target&lt;/strong&gt; once more and select &lt;strong&gt;Erase All&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Click on &lt;strong&gt;Build&lt;/strong&gt; and select &lt;strong&gt;Build(F7)&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Click on &lt;strong&gt;Target&lt;/strong&gt; and select &lt;strong&gt;Download&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Open a Serial terminal like Putty and connect to the port.&lt;br /&gt;Press the reset device to se if the correct output is printed in the terminal.&lt;br /&gt;&lt;br /&gt;For ble_app_beacon this is printed in the terminal:&lt;br /&gt;&lt;code&gt;&amp;lt;info&amp;gt; app_timer: RTC: initialized.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;lt;info&amp;gt; app: Beacon example started.&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;For ble_app_uart this is printet:&lt;br /&gt;&lt;code&gt;UART started.&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Here is a link to the SDK XX:&lt;a href="https://developer.nordicsemi.com/nRF5_SDK/"&gt;https://developer.nordicsemi.com/nRF5_SDK/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you still experience the same problem then maybe try SES Nordic Edition, but don&amp;#39;t think that is the problem.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash another BLE code after flashing a secure BLE bootloader</title><link>https://devzone.nordicsemi.com/thread/272935?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 10:50:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8a73ea2-d027-49c3-9cf5-2826621aaf2f</guid><dc:creator>Venus_Bilandi</dc:creator><description>&lt;p&gt;No, only single device is connected.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried &amp;quot;gpiote&amp;quot; example and &lt;strong&gt;it ran successfully&lt;/strong&gt; even in debug mode but &amp;quot;ble_app_uart&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;span&gt;and &amp;quot;ble_app_beacon&amp;quot; didn&amp;#39;t work.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash another BLE code after flashing a secure BLE bootloader</title><link>https://devzone.nordicsemi.com/thread/272929?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 10:27:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:011486b9-ee1f-4012-b640-27fb9b7beca4</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;In SES go to &amp;gt;Target and click on connect J-Link, then you can press Erase All or use hot keys Ctrl+T,K.&lt;br /&gt;&lt;br /&gt;Do you have more than one device connected? maybe the application does not get flashed to the chip properly. You can check what is on the bard by using the programmer app and clicking the Read button. Then you can see if it is the same before and after you flash the board.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash another BLE code after flashing a secure BLE bootloader</title><link>https://devzone.nordicsemi.com/thread/272784?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 15:54:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3833a15f-cd2e-480f-a4de-2af0a58fc0d9</guid><dc:creator>Venus_Bilandi</dc:creator><description>&lt;p&gt;Thanks for your reply. I will try the solution.&lt;/p&gt;
&lt;p&gt;what do you think about this problem? why this is happening?&lt;/p&gt;
&lt;p&gt;one more, can I erase the device with SES? is there any functionality available in SES, like after setting that SES automatically erase the device every time before programing the device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash another BLE code after flashing a secure BLE bootloader</title><link>https://devzone.nordicsemi.com/thread/272781?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 15:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c41daeb-6b2b-409d-b1e7-c73d3b8e54d5</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Try to erase the device befor programming, two ways to do this&lt;br /&gt;&lt;br /&gt;1. &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-desktop"&gt;nRF Desktop Programmer app&lt;/a&gt;. Connect the dk and select erase.&lt;br /&gt;&lt;br /&gt;2. &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download"&gt;nrf&amp;nbsp;Command line&amp;nbsp;tools&lt;/a&gt;. run the comand: &lt;em&gt;nrfjprog --recover&lt;/em&gt; to erase the device, then reprogram whit&amp;nbsp;&lt;strong&gt;ble_app_beacon&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash another BLE code after flashing a secure BLE bootloader</title><link>https://devzone.nordicsemi.com/thread/272768?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 14:14:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36f2e0f7-5d22-40ca-b348-cf14b3ef6588</guid><dc:creator>Venus_Bilandi</dc:creator><description>&lt;p&gt;I am using &amp;quot;SEGGER Embedded Studio for ARM 5.10a&amp;quot; and&amp;nbsp; nrf52840dk Rev. 2.0.1.&lt;/p&gt;
&lt;p&gt;Initially I flashed and debug multiple examples for peripherals like gpio, spi, uart, timer,&amp;nbsp;&lt;strong&gt;ble_app_uart&lt;/strong&gt;&amp;nbsp;etc and all of them were working fine. After that I wanted to test the DFU functionality of the controller with the android application &amp;quot;nRF connect&amp;quot;. Therefore I flashed the example code&amp;nbsp;&lt;span&gt;&amp;quot;pca10056_s140_ble_debug&amp;quot;&amp;nbsp; and it also worked fine&lt;/span&gt; but I was unsuccessful in DFU because I didn&amp;#39;t have an &amp;quot;init&amp;quot;( .dat ) file. After this unsuccessful attempt I tried to run the example &amp;quot;&lt;span&gt;ble_app_uart&amp;quot;&lt;/span&gt;&amp;nbsp; again in debug mode and it entered into debug mode but the debugger didn&amp;#39;t stop initially at main.c and nor did it stopped at any of the breakpoint. And I noticed that the firmware which was running in the controller was still&amp;nbsp; the&amp;nbsp;&lt;span&gt;&amp;quot;pca10056_s140_ble_debug&amp;quot; not the&amp;nbsp;&amp;nbsp;&amp;quot;ble_app_uart&amp;quot;. Then I tried &amp;quot;gpiote&amp;quot; example and it ran successfully even in debug mode. then again I tried&amp;nbsp;&amp;quot;ble_app_uart&amp;quot; and same as in the last time it entered into debug mode but the code which was running is &amp;quot;pca10056_s140_ble_debug&amp;quot;.&amp;nbsp;&lt;/span&gt;&lt;span&gt;same for &amp;quot;ble_app_beacon&amp;quot;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think in the case of&amp;nbsp;&amp;quot;ble_app_uart&amp;quot; and&amp;nbsp;&amp;quot;ble_app_beacon&amp;quot;&amp;nbsp; boot loader&amp;nbsp;isn&amp;#39;t jumping to application&amp;nbsp;firmware but in the case of &amp;quot;gpiote&amp;quot; it jumps successfully.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;can you help me in solving this problem? I need to run the&amp;nbsp;&amp;quot;&lt;strong&gt;ble_app_beacon&lt;/strong&gt;&amp;quot; example code.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash another BLE code after flashing a secure BLE bootloader</title><link>https://devzone.nordicsemi.com/thread/272670?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 08:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5695cd5-37e4-405b-8707-470a33ddaeab</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi Venus,&lt;br /&gt;&lt;br /&gt;What version of SES(SEGGER Embedded Studio) are you using?&amp;nbsp; and what version of the nrf52840dk do you have?&lt;br /&gt;&lt;br /&gt;I was not able to reproduce the problem that you describe whit SES v4.52.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>