<?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>Application not flashing to board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48935/application-not-flashing-to-board</link><description>Hello, 
 I am trying to flash my application to my NRF51422. In short, the application is a combination of the ble_app_uart and twi_scanner examples, I am reading data from a TWI slave device and sending it via BLE. When I debug the application in SEGGER</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jul 2019 21:47:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48935/application-not-flashing-to-board" /><item><title>RE: Application not flashing to board</title><link>https://devzone.nordicsemi.com/thread/196915?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2019 21:47:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7585a163-dfbe-4435-b0b2-6aa86b014dd2</guid><dc:creator>bsas</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I have resolved the issue. I&amp;#39;m not 100% what the issue was, but I believe it was some incorrect FLASH/SRAM linker macros.&lt;/p&gt;
&lt;p&gt;Thank you for all your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application not flashing to board</title><link>https://devzone.nordicsemi.com/thread/195695?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 14:00:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c35deccd-9db4-4ce1-ba3e-9ba864ebcabc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If instead of debugging you simply flash your application using Segger Embedded Studio, would it work ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you testing on your custom board or a nRF51 DK ? Do you have 32kHz crystal on the board ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you test the TWI example would it work ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application not flashing to board</title><link>https://devzone.nordicsemi.com/thread/195438?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 23:31:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85dbc51f-5708-433e-baca-1ec152bbea75</guid><dc:creator>bsas</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SEGGER.&lt;/p&gt;
&lt;p&gt;Yes, if I debug the application in SEGGER, it works fine.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve added some of the TWI_Scanner functions to my project, as well as modifying the nus_data_handler function to send some data from the TWI slave when it recieves certain characters via BLE.&lt;/p&gt;
&lt;p&gt;Yes. As a test, I used ble_app_uart and changed the name of the device and flashed the hex and SD to my board, and it works fine.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Bennett&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application not flashing to board</title><link>https://devzone.nordicsemi.com/thread/195414?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 14:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51c46431-0a4d-4f22-b84c-68035f2820f4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Which IDE do you use to flash and debug your application ?&lt;/p&gt;
&lt;p&gt;If you debug your application did it work ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which modification did you make ? If you simply change the advertising name, would it work ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application not flashing to board</title><link>https://devzone.nordicsemi.com/thread/195231?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 23:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0deec7f8-f65a-4b2c-85b9-0827e058628f</guid><dc:creator>bsas</dc:creator><description>&lt;p&gt;Hello Hung,&lt;/p&gt;
&lt;p&gt;I have debugged my application (along with other unmodified examples) and they run as expected. It&amp;#39;s only when I try flashing the application with nRF Connect (or any other method, for that matter) that I do not see the board advertise/application run. Again, it does work when I flash unmodified examples, however.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Bennett&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application not flashing to board</title><link>https://devzone.nordicsemi.com/thread/195141?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 12:40:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08fc6e76-462c-4a06-84c6-02a81355555d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Benneth,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to debug the application. You can start first by testing a simple application (the blinky application for example) without softdevice. Just to make sure the chip running correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can test and debug application with softdevice (ble_app_hrs for example). Please step in the code and debug.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please follow&lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/#60126"&gt; this debug guide.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application not flashing to board</title><link>https://devzone.nordicsemi.com/thread/194959?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 19:12:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a356e31-53f7-4700-9492-554ef6742f0d</guid><dc:creator>bsas</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thank you for your response. After I flash the application and soft device, I do not see it advertise, I don&amp;#39;t see anything reported on the nRF Log or anything like that.&lt;/p&gt;
&lt;p&gt;i have the NRF51 DK, with a 32 kHz crystal. I also tried using the RC oscillator instead, and get the same results.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Bennett&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application not flashing to board</title><link>https://devzone.nordicsemi.com/thread/194873?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 12:12:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a550c1f9-06de-4d69-ab73-43b6de0a3d20</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Bennett,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s more likely a bug in our nRFConnect software. Seems that it doesnt recognize the S130 softdevice when reading the flash. I will report this to the team.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But it shouldn&amp;#39;t be a big problem. The chip should still operate. Do you see the chip advertising after you flash the softdevice and the application ? Note that the precompiled hex in the examples in the SDK already include a softdvice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which hardware board do you have ? Please be aware that in the example we expect the 32kHz crystal on board. If you don&amp;#39;t have 32 kHz crystal you would need to configure the soft device to use 32kHz RC instead.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application not flashing to board</title><link>https://devzone.nordicsemi.com/thread/194721?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2019 17:43:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f687df56-1fac-4272-8805-69f6b4421db6</guid><dc:creator>bsas</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Yes, I&amp;#39;ve tried using unmodified examples, both with and without softdevices, and they seem to be flashing fine. I see the same thing as above in the nRF Connect app when I flash the examples with SDs.&lt;/p&gt;
&lt;p&gt;I am using S130 and SDK 12.3.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application not flashing to board</title><link>https://devzone.nordicsemi.com/thread/194645?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2019 12:25:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b0cf3da-8b1a-4ca7-bbba-4934e8323fed</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Benneth,&lt;/p&gt;
&lt;p&gt;Have you tried to test with the unmodified example(s) ? When you flash the example and the softdevice do you see it reflected in nRF Connect app ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which softedvice do you use and which SDK version ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>