<?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 an hex file to Red Bear Lab BLE Nano (nRF51822) from command line</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7327/flashing-an-hex-file-to-red-bear-lab-ble-nano-nrf51822-from-command-line</link><description>I am using the eclipse/gcc toolchain as explained in this tutorial . I am able to generate and flash my application code and softdevice separately using hex format. 
 I am using the flash and flash_softdevice targets defined in the makefiles of nRF51</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jun 2015 15:34:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7327/flashing-an-hex-file-to-red-bear-lab-ble-nano-nrf51822-from-command-line" /><item><title>RE: Flashing an hex file to Red Bear Lab BLE Nano (nRF51822) from command line</title><link>https://devzone.nordicsemi.com/thread/25955?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 15:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb79a932-8d3b-45eb-8180-1eb8e8fb0840</guid><dc:creator>tumaku</dc:creator><description>&lt;p&gt;I found the cause for my issues. Nothing to do with BLE Nano, nRF51822 or j-Link.
The problem was the malfunctionaing USB hardware of my PC.&lt;/p&gt;
&lt;p&gt;I am not sure why this is happening, but sometimes the J-Link USB driver misbehaves. Although I can still flash BLE Nano from J-Link, the BLE Nano is not properly reset afterwards. This means that the installed application is not &amp;quot;visible&amp;quot; over BLE. When this situation happens, the green LED indicator of J-Link blinks at 10Hz.&lt;/p&gt;
&lt;p&gt;If I connect J-Link to another PC or connect BLE Nano through the MK-20 USB dongle, I see that the application has been properly isntalled and is &amp;quot;visible&amp;quot; over BLE.&lt;/p&gt;
&lt;p&gt;When this happens, I restart my PC and things start working again (I believe the issue is with the USB hardware of my old PC, not with the J-Link driver)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing an hex file to Red Bear Lab BLE Nano (nRF51822) from command line</title><link>https://devzone.nordicsemi.com/thread/25954?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2015 11:05:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bb359a7-f548-4232-97e1-bbf842c28884</guid><dc:creator>tumaku</dc:creator><description>&lt;p&gt;I am using both USB dongle MK20 from BLE Nano and J-Link programmer.
If I use the MK-20 dragging and dropping the merged HEX file, the app is propoerly installed.
If I use J-Link flashing the merged HEX file (or flashing first SD and then the app), the flashing process is successful but the app does not work/start. I guess that I miss a bootloader in the case of J-Link that MK-20 is flashing somehow by default.&lt;/p&gt;
&lt;p&gt;If I flash the app once with MK-20, I can move the BLE Nano to J-Link and then I can reflash (only) the app from Jlink and the app is then properly updated (I assume that the MK-20 bootloader is not deleted and is still valid)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing an hex file to Red Bear Lab BLE Nano (nRF51822) from command line</title><link>https://devzone.nordicsemi.com/thread/25953?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2015 09:15:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b711efff-81f1-4ccf-981f-375db0c25e5e</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Are you using a J-link programmer instead of the BLE Nano dongle?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>