<?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>Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36770/flashing-nrf52dk-pass-but-not-running-j-link-and-segger-embedded-studio</link><description>Hi, 
 I am using nRF52Dk dev kit with nRF_SDK_15. I did some using segger embedded studio with J-Link for debugging. I am way past the blinky stuff. I am able to flash and run on the PCA_10040 kit. I belive all my flashing and compiling environment are</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Nov 2018 01:45:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36770/flashing-nrf52dk-pass-but-not-running-j-link-and-segger-embedded-studio" /><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/159326?ContentTypeID=1</link><pubDate>Wed, 28 Nov 2018 01:45:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f737caa4-31a0-4b77-b656-4f16b7210288</guid><dc:creator>Nihadh</dc:creator><description>&lt;p&gt;Afer sometime i had to downgrade my OS to WIN7, reinstall the segger and got the activation licence , build and flashed in release mode. i donnot know what went right this time and didnot make changes to code or build configs other than the paths. It got fixed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/146794?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 13:25:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29927a64-3066-4eb3-905d-d0cdeeb92c0d</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;I understand. &lt;br /&gt;But it is hard for me to be able to test your project, when all the .c and .h files aren&amp;#39;t included in the example folder i downloaded from the dropbox-link.&lt;/p&gt;
&lt;p&gt;However, when I removed the filesnot included in the dropbox folder from the project, compiled and flashed it, it worked just as expected. I flashed the program to my DK and it started advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/146031?ContentTypeID=1</link><pubDate>Tue, 28 Aug 2018 06:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e602586-d32f-4810-8aef-ea7dc3b1135d</guid><dc:creator>Nihadh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Those are my project files. I need them to be included for my device. It builds clean. So the flashing should be fine. How would I be able to flash with my own modifications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/144054?ContentTypeID=1</link><pubDate>Tue, 14 Aug 2018 06:32:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2df6aa44-bdff-4abf-b33e-dd9a1863cd9e</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;There seems to be more changes to the project than only the broadcasting name.&lt;/p&gt;
&lt;p&gt;There is also files included in the project that isn&amp;#39;t included in your folder (lamp.c, lamp.h, rdm.c).&lt;/p&gt;
&lt;p&gt;Once I removed all the files that was not included in your folder etc. The example runs just fine. I can flash the example and it runs just as expected, no need to start the debug session.&lt;/p&gt;
&lt;p&gt;Maybe you could try to copy the main.c file of your modified example to the stock ble_app_uart example, and then build and flash it?&lt;br /&gt;&lt;br /&gt;Also, I would not recommend using the &lt;strong&gt;nrfx_coredep_delay_us() &lt;/strong&gt;as you do in your project. This will halt the MCU and delay execution. &lt;br /&gt;This means that you will not be able to connect, advertise etc. as long as the delay-function is active. I would suggest using a timer instead.&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/143338?ContentTypeID=1</link><pubDate>Wed, 08 Aug 2018 10:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:296b8772-42b8-4f8e-b4dd-df421a7f9f19</guid><dc:creator>Nihadh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;attaching the drop box link here :&amp;nbsp;&lt;a href="https://www.dropbox.com/s/p8v6pn31866oyd1/source.7z?dl=0"&gt;www.dropbox.com/.../source.7z&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/143209?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 11:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f29f77f4-ac25-4bc8-9664-888e77752992</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;I actually asked you in a previous comment about any modifications to the code, where you said that no changes were made. &lt;br /&gt;Changing the advertisment name is the only change from the original example?&lt;/p&gt;
&lt;p&gt;I would assume that the issue is related to the modification you made to the code.&lt;/p&gt;
&lt;p&gt;Maybe you could upload your project, so that I can test this myself?&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/142925?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 01:38:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c492ab0-0c5c-40b2-bc8e-d73b3aaf4be4</guid><dc:creator>Nihadh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried to merge the ble_hex from the sample with&amp;nbsp;s132_nrf52_6.1.0_softdevice.hex, it works great. But when I do the same for my application hex, the merge is happening, but the application is not running. My application is also based on ble_app_uart_sample, it was not modified much, just the broadcast name.My application works well when through IDE debugging.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Nihadh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/142139?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 11:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed1bbe10-8d68-487b-ad9f-4f8af62a5a58</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Ah ok! Then I misunderstood you.&lt;br /&gt;&lt;br /&gt;The ble_app_uart_pca10040_s132.hex file is the unmodified ble_app_uart application, merged with the softdevice.&lt;br /&gt;Hence, you do not need to merge that with the softdevice.&lt;br /&gt;&lt;br /&gt;When you build your application, i.e in SES, there will be generated a hex-file that contains only the application.&lt;br /&gt;When using SES, this hex-file can be found in:&lt;br /&gt;examples/ble_peripheral/ble_app_uart/pca10040/s132/ses/Output/Debug(or Release, depending on what configuration you are using)/Exe&lt;/p&gt;
&lt;p&gt;You should use that hex file and merge it with the softdevice.&lt;/p&gt;
&lt;p&gt;Let me know if you still face any issues. &lt;br /&gt;Best regards,&lt;br /&gt;Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/142096?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 08:48:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f60ca650-fada-46f0-be1e-c2e28653c5f5</guid><dc:creator>Nihadh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have built my application. But my application.hex needs to be merged with s132 hex, so i tried to merge with&amp;nbsp;&lt;span&gt;ble_app_uart_pca10040_s132.hex, But is this the correct way or should I use other softdevice hex.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Anywasy I tried to merge with the&amp;nbsp;ble_app_uart_pca10040_s132.hex, but I get the conflict error&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/142068?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 08:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19ad594e-bdf4-4d0f-831a-1435ee7011ce</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;You can use the mergehex executable, which is a part of the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrf5x_command_line_tools/nrf5x_installation.html?cp=5_1_1"&gt;nRF5x Command Line Tools&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrf5x_command_line_tools/nrf5x_mergehex.html?cp=5_1_2"&gt;Merging files with mergehex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you have any further questions, please let me know.&lt;/p&gt;
&lt;p&gt;Best regards, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/142030?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 02:36:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b71a13d7-e223-4531-a07a-413a7e3160ed</guid><dc:creator>Nihadh</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the inuput. I tried flashig the sample application nfrjprog uility and it works. previously I was merging the&amp;nbsp;&lt;span&gt;ble_app_uart_pca10040_s132.hex with generated application.hex, I think my merging was wrong, when I try to flash using nrfjprog.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am building my custom application, can you suggest a way to merge my application.hex and softdevice.hex(I think this has to be raw not including any application) and flash using nrjprog. I am getting conflicts on merge&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/141940?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 13:25:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d9bc516-1ec1-4c2c-9e1a-b88d083ae435</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;So the pre-compiled hex file: ble_app_uart_pca10040_s132.hex didn&amp;#39;t work either?&lt;/p&gt;
&lt;p&gt;Note that this hex-file contains both the softdevice and the application, so you don&amp;#39;t need to flash the softdevice first.&lt;/p&gt;
&lt;p&gt;SDK15 should not be &amp;quot;unstable&amp;quot;. I don&amp;#39;t know about any known issues with the the ble_app_uart example in SDK15.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/141841?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 08:06:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:988bfa72-46e2-4bf5-806e-6556aa7a5104</guid><dc:creator>Nihadh</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I didnot make any changes to the code. I tried flashing them. I was using this &amp;quot;&lt;em&gt;ble_app_uart_pca10040_s132.hex&amp;quot;. is the SDK15 unstable any problem over my interface. I am using J-Link over USB.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Best Regards,&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Nihadh&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing nRF52DK pass but not running , J-Link and segger embedded studio</title><link>https://devzone.nordicsemi.com/thread/141826?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 07:15:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bdb40d5-9fac-42f5-a034-de4e299d4ce9</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have any problems with the ble_app_uart example from SDK 15.&lt;/p&gt;
&lt;p&gt;Did you make any modifications or changes at all to the code?&lt;br /&gt;Could you test the pre-compiled hex file in the SDK? You should find this in the;&lt;br /&gt;&lt;em&gt;sdk_folder/examples/ble_peripheral/ble_app_uart/hex/ble_app_uart_pca10040_s132.hex&lt;/em&gt;&lt;/p&gt;
[quote user=""] I also checked whether I am flashing the soft_devices.hex its getting flashed.[/quote]
&lt;p&gt;Which version of the softdevice are you using?&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>