<?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>nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13233/nrf51-dk---not-possible-to-flash-files-to-the-board</link><description>Hello guys, i&amp;#39;m new in nRF51 DK board, and i would like to flash the .hex file to my board, but when i do it the board automatically unmounting himself and reset with the following file: fail.txt which contain the &amp;quot;CORRUPT FILE&amp;quot; message. If i copy the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 May 2016 05:59:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13233/nrf51-dk---not-possible-to-flash-files-to-the-board" /><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50463?ContentTypeID=1</link><pubDate>Mon, 02 May 2016 05:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd5ef9a9-76c5-4b84-ac98-9f2b0041facc</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi, Sorry for late reply, I was sick all week. If it enabled it then the DK wil be marked with &amp;quot;Mbed Enabled&amp;quot; logo, if there is not logo then it means that it did not enable it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50462?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 08:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d5a06f4-be69-4113-8634-bc7ac61ac4a8</guid><dc:creator>polaroi8d</dc:creator><description>&lt;p&gt;Is it possible to nRF51-DK doesn&amp;#39;t enable the mbedOS ( mbed version of 3.0 ) ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50461?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2016 07:47:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f5dcfbd-27e3-4133-86e5-70664a7d8451</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I just know about merging two hex files into one using the mergehex tool&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50460?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2016 07:25:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69148cbd-f6ee-477c-ad32-1f5cce1e09e3</guid><dc:creator>polaroi8d</dc:creator><description>&lt;p&gt;You know what the different between the generated normal-combined.hex and the normal.hex?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50459?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2016 07:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87828311-e800-4679-a431-3f40d1d630d4</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If you are not using any softdevice. (LENGTH depends on your device Flash size and RAM size, below example assumes your nrf51 have 256KB flash and 32 KB RAM)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MEMORY
{
  FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x40000
  RAM (rwx) :  ORIGIN = 0x20000000, LENGTH = 0x8000
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you are using softdevice then the ORIGIN value changes for both and its value is given in the softdevice release notes. For example the S130_nrf51_2.0.0_release notes says&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The combined MBR and SoftDevice memory
requirements for this version are as
follows: Flash: 108 kB (0x1B000
bytes). RAM: 4.9 kB (0x13C8 bytes)
(minimum required memory - actual
requirements are dependent upon the
configuration chosen at
sd_ble_enable() time).&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Then the origin value for flash and ram changes as below&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;FLASH LENGTH = 0x40000 - 0x1B000 = 0x25000
RAM LENGTH    = 0x8000 - 0x13C8  = 0X6C38

MEMORY
{
  FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000
  RAM (rwx) :  ORIGIN = 0x200013c8, LENGTH = 0x6c38
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50458?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2016 06:37:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cea1a47-3f52-4cf5-ab20-472c7abecdbb</guid><dc:creator>polaroi8d</dc:creator><description>&lt;p&gt;Hello Aryan, I have one more question, that you can answered, maybe. What is the optional setting for Memory in the Linker Script?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;MEMORY
{
FLASH (rx) : ORIGIN = ?, LENGTH = ?
RAM (rwx) :  ORIGIN = ?, LENGTH = ?
}&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I am edited this few days ago, I have a vibe about the problem is here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50457?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 08:43:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64b939d0-0806-4903-bb62-12bc51e1af02</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Polar,
I am sorry, I was not aware that mbed needed the hex to be in specific format for the mount to work. I was thinking that the device flash is enumerated as the file system and any hex file should have worked normally. This is outside my expertise so I cannot help you further. Did you try to ask this in MBED forums? We at Nordic have little or no knowledge on mbed software or debug tools.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50456?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 08:37:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:831273d6-3487-4552-8195-4f2eea95fc71</guid><dc:creator>polaroi8d</dc:creator><description>&lt;p&gt;Made .hex by the mbed online compiler works fine. But when I try it out local with &lt;em&gt;mbed yotta&lt;/em&gt;, i got the &amp;quot;CORRUPT FILE&amp;quot; problem again.  So I think, I don&amp;#39;t need this software to work the flashing files to the board...  Any suggestion?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50455?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 07:52:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a2200f6-39d9-4a73-82a9-fdf7e30c4e93</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Download latest Segger software.  Segger software needs to be installed for this tools to work.&lt;br /&gt;
&lt;a href="https://www.segger.com/jlink-software.html"&gt;www.segger.com/jlink-software.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50452?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 07:29:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b56cc75c-62fa-478f-acd4-adfcaf5ee4b3</guid><dc:creator>polaroi8d</dc:creator><description>&lt;p&gt;I got the following error meassage:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;ERROR: JLinkARM DLL not found. Please reinstall latest JLinkARM.
But im using Linux.&lt;/p&gt;
&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50454?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 06:57:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efdc412d-c7f3-4f3e-9279-6ab75ebe9029</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;nrfjprog -f nrf51&lt;br /&gt;
nrfjprog -f nrf51 --program softdevice.hex&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Does this work for you without any errors?
You can download nrfjprog for linux &lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/52615/6/37519866"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50453?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 06:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d216f7ba-8c8f-42c5-bd7c-17d8173dd023</guid><dc:creator>polaroi8d</dc:creator><description>&lt;p&gt;Hello Aryan,
What does reflash mean in your sentence?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51 DK - not possible to flash files to the board</title><link>https://devzone.nordicsemi.com/thread/50451?ContentTypeID=1</link><pubDate>Mon, 18 Apr 2016 10:50:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57d937de-ec00-4d59-bb79-df9c05c69459</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi,
Are you able to reflash to the chip? I have not heard about this before probably some issue with Segger driver?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>