<?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>PCA10000 and SDK 11</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12631/pca10000-and-sdk-11</link><description>I&amp;#39;m trying to build the blinky example in SDK 11 and load it onto a PCA10000. I&amp;#39;m using the make file in PCA10031/blank/armgcc and am building this under linux. If I use blinky_blank_pca10031.hex which is in the hex directory, then I can load and run</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Mar 2016 12:39:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12631/pca10000-and-sdk-11" /><item><title>RE: PCA10000 and SDK 11</title><link>https://devzone.nordicsemi.com/thread/47984?ContentTypeID=1</link><pubDate>Tue, 22 Mar 2016 12:39:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73ae5404-e4c9-4582-888d-5b58e7b57dcf</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;All SDK examples from SDK 7.x.x and later are by default configured for the xxAC variant which has 32K of RAM instead of 16K. So since you are working on a 16K RAM variant you need to adjust the linker settings accordingly if you haven&amp;#39;t done so already?&lt;/p&gt;
&lt;p&gt;E.g., correct settings for the \nRF5_SDK_11.0.0\examples\peripheral\blinky\pca10028\blank\armgcc example:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/* Linker script to configure memory regions. */

SEARCH_DIR(.)GROUP(-lgcc -lc -lnosys)

MEMORY{

FLASH (rx) : ORIGIN = 0x0, LENGTH = 0x40000

RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x4000  //changed from 0x8000

}

SECTIONS{

.fs_data : { PROVIDE(__start_fs_data = .);

KEEP(*(.fs_data)) PROVIDE(__stop_fs_data = .);

} &amp;gt; RAM} INSERT AFTER .data;

INCLUDE &amp;quot;nrf5x_common.ld&amp;quot;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10000 and SDK 11</title><link>https://devzone.nordicsemi.com/thread/47983?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 09:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7c96d55-9bc5-4a43-9576-41721381eb27</guid><dc:creator>Lee</dc:creator><description>&lt;p&gt;I will try it, but I am only changing:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;nrf_delay_ms(500);   to   nrf_delay_ms(250);&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10000 and SDK 11</title><link>https://devzone.nordicsemi.com/thread/47982?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 09:03:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51f52465-330b-49f6-be33-3ae09f004207</guid><dc:creator>Torsten Robitzki</dc:creator><description>&lt;p&gt;Take the &lt;em&gt;original&lt;/em&gt; source, build the hex file from source and try to run it. Just to make sure, that your code changes are not the reason, for the failure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10000 and SDK 11</title><link>https://devzone.nordicsemi.com/thread/47981?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 08:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70c480da-f9db-4e46-93b4-b303d615ac83</guid><dc:creator>Lee</dc:creator><description>&lt;p&gt;What do you mean by run a self build hex file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10000 and SDK 11</title><link>https://devzone.nordicsemi.com/thread/47980?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 08:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5307cabb-0ec1-4ff9-8f05-7eb548d487bd</guid><dc:creator>Torsten Robitzki</dc:creator><description>&lt;p&gt;You first &lt;code&gt;loadfile&lt;/code&gt; and then you erase the chip? Have you tried to run a self build hex file, without modifying the source? (just to make sure, that your process is working)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10000 and SDK 11</title><link>https://devzone.nordicsemi.com/thread/47979?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 08:17:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:256db18c-45c1-4cf4-9402-f5965807f713</guid><dc:creator>Lee</dc:creator><description>&lt;p&gt;Thanks for responding.
My dev machine is running Ubuntu 15.04.  I have downloaded and installed the SDK11, J-Link tools, and the armgcc tools and I am using the PCA10000.
My aim is to use the blinky example to make sure that my dev environment is working correctly and also program the PCA10000.
In the SDK, I navigate down to:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;~/SDK11/examples/peripheral/blinky/hex
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I then run:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;JLinkExe -device nRF51
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This allows me to connect to the PCA10000.&lt;/p&gt;
&lt;p&gt;I then:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;loadfile blinky_blank_pca10031.hex
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I then run erase, then enter r, then g (as per &lt;a href="https://devzone.nordicsemi.com/tutorials/7)"&gt;devzone.nordicsemi.com/.../7)&lt;/a&gt;.  The LED on my PCA10000 changes colour as I would expect so I can see that ~/SDK11/examples/peripheral/blinky/hex/blinky_blank_pca10031.hex and my steps to program it to my board and run it are working correctly.  I exit JLinkExe.&lt;/p&gt;
&lt;p&gt;I then navigate to:
~/SDK11/examples/peripheral/blinky&lt;/p&gt;
&lt;p&gt;I modify main.c to change the delay in order to get the LED to flash quicker (again, this is merely to prove my dev environment).&lt;/p&gt;
&lt;p&gt;I save the file then navigate to:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;~/SDK11/examples/peripheral/blinky/pca10031/blank/armgcc
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I then run:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;make
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This generates a directory called _build and everything appears to build correctly.  This contains .hex .out .bin .map and some other files from the make process.  I navigate to:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;~/SDK11/examples/peripheral/blinky/pca10031/blank/armgcc/_build
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I then run:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;JLinkExe -device nRF51
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I then:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;loadfile nrf51422_xxac.hex
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I then erase, enter r, then enter g.  Nothing happens.  No flashing LED, flames, sparks or explosions.&lt;/p&gt;
&lt;p&gt;I assume that blinky_blank_pca10031.hex was generated using IAR or Keil and so can&amp;#39;t really tell much from comparing the .hex files other than to say that they&amp;#39;re both very similar in size.&lt;/p&gt;
&lt;p&gt;I have tried to copy:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;~/SDK11/examples/peripheral/blinky/pca10031 to ~/SDK11/examples/peripheral/blinky/pca10000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I have changed any references of pca10031 to pca10000 and rerun the make file but with no success.&lt;/p&gt;
&lt;p&gt;Am I missing a step or am I not editing the correct files?  Any help is much appreciated.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA10000 and SDK 11</title><link>https://devzone.nordicsemi.com/thread/47978?ContentTypeID=1</link><pubDate>Fri, 18 Mar 2016 00:39:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de06f479-b29e-46e7-bf7b-17b378b32187</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Not really - because there&amp;#39;s far too little information in your question. You say you are trying to build the example, but you don&amp;#39;t say what the problem is, is it not building at all, does it not work, in what way does it not work if it doesn&amp;#39;t work, are there make errors, run errors, does the chip burst into flames?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>