<?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>nRF52840 pca10056 compiled ble_app_blinky hex too small and doesn&amp;#39;t work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47827/nrf52840-pca10056-compiled-ble_app_blinky-hex-too-small-and-doesn-t-work</link><description>Windows 10, Keil5 5.27.1.0, Nordic SDK 15.3.0 59ac345, pca10056 devkit for nRF52840. 
 Works: 
 The DK shows up as &amp;quot;JLINK&amp;quot; when plugged into USB. I can copy the prebuilt hex to it and it work great. Shows up in nRFConnect as &amp;quot;Nordic_Blinky&amp;quot; 
 I&amp;#39;m copying</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Jun 2019 12:26:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47827/nrf52840-pca10056-compiled-ble_app_blinky-hex-too-small-and-doesn-t-work" /><item><title>RE: nRF52840 pca10056 compiled ble_app_blinky hex too small and doesn't work</title><link>https://devzone.nordicsemi.com/thread/191352?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 12:26:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff264c29-50e4-48f8-b87e-c6d360289659</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Glad to hear!&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Yes, you can mark it as Answered, however, to ask questions (and get an answer) you must reopen the case. Once marked as Verified Answer, we do not get any notifications on new comments (which is a known bug we are working on) &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 pca10056 compiled ble_app_blinky hex too small and doesn't work</title><link>https://devzone.nordicsemi.com/thread/191187?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 17:44:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4bf2f1f-93ba-47bf-a9cd-d7bf1af093a2</guid><dc:creator>gjames</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind, and no worries, this isn&amp;#39;t stalling our development.&amp;nbsp; (Also, the email notifications from this forum are great!).&amp;nbsp; Thanks for the follow up!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can I mark this as Answered, or is that something you do from your end?&amp;nbsp; Either way, I&amp;#39;m happy and our project is going great so far.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 pca10056 compiled ble_app_blinky hex too small and doesn't work</title><link>https://devzone.nordicsemi.com/thread/190970?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2019 07:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2644195-752a-4cfc-81f5-72642d653d62</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;My apologies for the late reply.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The drag-and-drop feature is part of the &lt;a href="https://www.segger.com/products/debug-probes/j-link/models/j-link-ob/"&gt;J-Link OB Debugger&lt;/a&gt;. I don&amp;#39;t know the details about the drag-and-drop feature, but you can read more &lt;a href="https://www.segger.com/products/debug-probes/j-link/models/j-link-ob/#drag-and-drop-option-intuitive-programming-of-the-target-device"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 pca10056 compiled ble_app_blinky hex too small and doesn't work</title><link>https://devzone.nordicsemi.com/thread/189977?ContentTypeID=1</link><pubDate>Wed, 29 May 2019 18:16:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba71e980-0d47-4c90-b263-0e7d29163056</guid><dc:creator>gjames</dc:creator><description>&lt;p&gt;Great - programming from Keil works.&lt;/p&gt;
&lt;p&gt;For when the pca10056 DK appears as a drive in Windows, is there code and documentation with more detail about how that works?&amp;nbsp; It&amp;#39;s not obvious what is getting erased with either the Keil or drag-and-drop interface.&amp;nbsp; Does the &amp;#39;mount as a drive&amp;#39; feature come from one of the bootloaders in the SDK, probably working with your windows driver for the usb device?&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 pca10056 compiled ble_app_blinky hex too small and doesn't work</title><link>https://devzone.nordicsemi.com/thread/189535?ContentTypeID=1</link><pubDate>Tue, 28 May 2019 09:21:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1b0326c-8b3a-4b9a-8e9b-6c5d1381edd7</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Greg,&lt;/p&gt;
[quote user=""]I&amp;#39;m copying the 485kb hex from&amp;nbsp;examples\ble_peripheral\ble_app_blinky\hex\ble_app_blinky_pca10056_s140.hex[/quote]
&lt;p&gt;This file includes both SoftDevice and the example itself. When you drag this file over to the JLink folder, the device will do a full erase and program this file.&lt;/p&gt;
[quote user=""]When I build the uvprojx from&amp;nbsp;examples\ble_peripheral\ble_app_blinky\pca10056\s140\arm5_no_packs, the build succeeds and produces a 63kb .hex in the _build folder[/quote]
&lt;p&gt;&amp;nbsp;Yes, this is correct, as this only builds the software itself and does not include the SoftDevice.&lt;/p&gt;
[quote user=""]When I copy this to the JLINK drive, the device resets, but the example does not work.&amp;nbsp; LED 1 does not illuminate and the stats for &amp;quot;Nordic_Blinky&amp;quot; are grayed out in nRFConnect.[/quote]
&lt;p&gt;&amp;nbsp;See my first answer. The device does a full erase, so you lose the SoftDevice on the device. This means that you do not get any BLE connectivity. Are you able to find anything when you search for devices in nRF Connect?&lt;br /&gt;&lt;br /&gt;Is there a reason for why you are not programming the device via Keil? When clicking Download (F8) in Keil, see image below, the SoftDevice is not deleted and the example should work as expected.&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-7d5a5f7df49d45ce8f9698c5060e4a7a/pastedimage1559035110093v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Please help me to link in the softdevice or flash this in some way that works.[/quote]
&lt;p&gt;&amp;nbsp;Please use the Keil programming interface to program the device, as this will not delete the SoftDevice.&lt;br /&gt;&lt;br /&gt;Let me know how this works for you.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>