<?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>Newbie to Nordic nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27036/newbie-to-nordic-nrf51822</link><description>hi,
As a ambitious tech lover i bought BLE400 nrf51822 motherboard. I downloaded SDK 11.0, keil and nrfgo. I started programming based on the Nordic developer Zone. I first did the blinky example successfully and then i tried the ble_app_uart example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 18 Nov 2017 12:28:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27036/newbie-to-nordic-nrf51822" /><item><title>RE: Newbie to Nordic nrf51822</title><link>https://devzone.nordicsemi.com/thread/106149?ContentTypeID=1</link><pubDate>Sat, 18 Nov 2017 12:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:178ee8ac-4ccf-4113-91a2-5410de74d009</guid><dc:creator>Brendan PG Ambayan</dc:creator><description>&lt;p&gt;Hi! I am currently doing my project on BLE beacons. I am using nordic&amp;#39;s nrf51822 and waveshare ble400. I am using a blackmagic probe instead of jlink to program it using Arduino IDE. I want to use sandeep&amp;#39;s repo (see: &lt;a href="https://github.com/sandeepmistry/ardu...)"&gt;github.com/.../ardu...)&lt;/a&gt; but I don&amp;#39;t know what to do in order for it to work on blackmagic probe. I think his repo is in jlink build. Please help me guys.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie to Nordic nrf51822</title><link>https://devzone.nordicsemi.com/thread/106157?ContentTypeID=1</link><pubDate>Sat, 18 Nov 2017 12:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b37dead4-437a-4dca-8582-d7a5351db3be</guid><dc:creator>Brendan PG Ambayan</dc:creator><description>&lt;p&gt;Hi! I am currently doing my project on BLE beacons. I am using nordic&amp;#39;s nrf51822 and waveshare ble400. I am using a blackmagic probe instead of jlink to program it using Arduino IDE. I want to use sandeep&amp;#39;s repo (see: &lt;a href="https://github.com/sandeepmistry/ardu...)"&gt;github.com/.../ardu...)&lt;/a&gt; but I don&amp;#39;t know what to do in order for it to work on blackmagic probe. I think his repo is in jlink build. Please help me guys.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie to Nordic nrf51822</title><link>https://devzone.nordicsemi.com/thread/106158?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2016 13:08:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19f432c7-0f76-400c-b00c-1c74ef248141</guid><dc:creator>tharun</dc:creator><description>&lt;p&gt;I identified the issue that I face while I tried to flash in Keil 5. My problem was the application program overwrites the SoftDevice preloaded or got some error like &amp;quot;Error: Flash Download failed - &amp;quot;Cortex-M0&amp;quot; &amp;quot;that does not allow me to download the program to module. It was due to the wrong selection of IROM1 and IRAM1 to the application program.
If you face this issue, just try out the following steps:&lt;/p&gt;
&lt;p&gt;Step 1: Flash the SoftDevice based on the application you required using nRFgo Studio.&lt;/p&gt;
&lt;p&gt;S110 - BLE Peripheral Stack
S120 - BLE Central Stack
S130 - BLE Peripheral Stack + BLE Central Stack
S210 - ANT Stack
S310 - ANT + BLE Stack&lt;/p&gt;
&lt;p&gt;Step 2: Downlaod the application program to module using keil.&lt;/p&gt;
&lt;p&gt;Select the correct device you used in target option and select the debugger you used and add your device to the debugger setting. Select the IROM1 and IRAM1 correctly. This are some common values for different combinations of SoftDevices and chips.&lt;/p&gt;
&lt;p&gt;S110 v8.0 from SDS v2.0&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IRAM base - 0x20002000
IRAM size(16 kB RAM) - 0x2000

IRAM size(32 kB RAM) - 0x6000

IROM base - 0x18000
IROM size(128 kB Flash) - 0x8000
IROM size(256 kB Flash) - 0x28000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;S120 v2.1 from SDS v2.1&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IRAM base - 0x20002800
IRAM size(16 kB RAM) - 0x1800

IRAM size(32 kB RAM) - 0x5800

IROM base - 0x1D000
IROM size(128 kB Flash) - 0x3000
IROM size(256 kB Flash) - 0x23000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;S130 v1.0 from SDS v1.0&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IRAM base - 0x20002800
IRAM size(16 kB RAM) - 0x1800

IRAM size(32 kB RAM) - 0x5800

IROM base - 0x1C000
IROM size(128 kB Flash) - 0x4000
IROM size(256 kB Flash) - 0x24000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;S130 v2.0 from SDS v2.0&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IRAM base - 0x20001870
IRAM size(16 kB RAM) - 0x2790

IRAM size(32 kB RAM) - 0x6790

IROM base - 0x1B000
IROM size(128 kB Flash) - 0x5000
IROM size(256 kB Flash) - 0x25000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;S210 v5.0 from SDS v3.0&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IRAM base - 0x20000900
IRAM size(16 kB RAM) - 0x3700

IRAM size(32 kB RAM) - 0x7700

IROM base - 0xD000
IROM size(128 kB Flash) - 0x13000
IROM size(256 kB Flash) - 0x33000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;S310 v3.0 from SDS v3.0&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IRAM base - 0x20002200
IRAM size(16 kB RAM) - 0x1E00

IRAM size(32 kB RAM) - 0x5E00

IROM base - 0x1D000
IROM size(128 kB Flash) - 0x3000
IROM size(256 kB Flash) - 0x23000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;S132 v0.9 from SDS v0.5&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IRAM base - 0x20002800

IRAM size(64 kB RAM) - 0xD800

IROM base - 0x1C000
IROM size(512 kB Flash) - 0x64000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;S132 v2.0 from SDS v2.0&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IRAM base - 0x20001870

IRAM size(64 kB RAM) - 0xE790

IROM base - 0x1C000
IROM size(512 kB Flash) - 0x64000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Try downloading.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie to Nordic nrf51822</title><link>https://devzone.nordicsemi.com/thread/106156?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 11:45:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5428a6ee-7c7c-4631-90b9-d6dc3bf729c6</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;It is likely just that you did not erase the device before attempting to program the SoftDevice the first time around. Good to see that it is working now though.&lt;/p&gt;
&lt;p&gt;The IRAM and IROM should be correctly configured in the examples you&amp;#39;ve followed, and since it&amp;#39;s working that&amp;#39;s a good indication =)&lt;/p&gt;
&lt;p&gt;If you would like to know more about rom and ram management you can check out &lt;a href="https://devzone.nordicsemi.com/blogs/723/rom-and-ram-management/"&gt;this blogpost&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie to Nordic nrf51822</title><link>https://devzone.nordicsemi.com/thread/106155?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 09:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79483909-6170-4624-b179-f86d0075788f</guid><dc:creator>tharun</dc:creator><description>&lt;p&gt;I tried flashing SoftDevice s130 [ie../softdevice/s130/hex/s130_nrf51_2.0.0_softdevice.hex] using nRFgo Studio and then I opened keil 5 for buliding an example program [for eg: ble_app_uart_s130_pca10028.uvprojx ]. Clicking on option for target &amp;#39;Device&amp;#39; I selected nRF51822_xxAA and set the debug used. I left the &amp;#39;Target&amp;#39; within the option as default. I am unaware of IRAM/IROM so i left it as it is. After building, I tried Load but i got an error message as Error: Flash Download failed - &amp;quot;Cortex-M0&amp;quot; . Referring to &lt;a href="https://devzone.nordicsemi.com/question/64/why-do-i-get-error-flash-download-failed-cortex-m0-when-downloading-a-project-from-keil/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; this site i earsed the softdevice and load the program. But unfortunately I found it was not advertising. This is how I flashed the program. Hope you will tell me where i went wrong.&lt;/p&gt;
&lt;p&gt;Also please guide me how to set IRAM/IROM for each application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie to Nordic nrf51822</title><link>https://devzone.nordicsemi.com/thread/106154?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 07:41:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6aa6846-625e-4eff-9d27-c86959fce4a5</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;I&amp;#39;m looking into updating the tutorial right now. I think you might have had issues with the SoftDevice not being programmed before programming the chip, or wrong IRAM/IROM settings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie to Nordic nrf51822</title><link>https://devzone.nordicsemi.com/thread/106153?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 07:30:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ad4746a-0c5c-4ce1-ad40-2ed1694e67ca</guid><dc:creator>tharun</dc:creator><description>&lt;p&gt;I was trying to build and flash the program using .uvprojx file from the SDK using keil 5 and i failed. Now I tried to flash the hex file directly using nRFgo Studio and i successfully executed the tutorial [https://devzone.nordicsemi.com/tutorials/4/]. What do you think about this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie to Nordic nrf51822</title><link>https://devzone.nordicsemi.com/thread/106152?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 06:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82b026a3-3e39-45e3-8c15-5245987abcf0</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Did you flash the SoftDevice before trying the examples with BLE?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie to Nordic nrf51822</title><link>https://devzone.nordicsemi.com/thread/106151?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 13:06:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f539b0e-7572-48e1-90d5-b780a36091c6</guid><dc:creator>tharun</dc:creator><description>&lt;p&gt;I started working on BLE400 motherboard from this tutorial[http://morf.lv/modules.php?name=tutorials&amp;amp;lasit=35]. It was a good tutorial and from there i downloaded the BLE400 BSP. I added them to my SDK file as he said. When i looked into the code, he had done the Led mapping well and I hope this is fine for advertising too. Or if you had a glance at the that code he created please guide me whether i should add some code along with that for advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie to Nordic nrf51822</title><link>https://devzone.nordicsemi.com/thread/106150?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 12:27:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0be244ef-3e9f-4fd0-a1cc-1024b1e86f82</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The tutorial is based on the &lt;a href="https://www.nordicsemi.com/eng/Products/nRF51-DK"&gt;nordic development kit&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This board has a different pinout from the one you are using, I think LED 1 is mapped to P19 on your board, this means that you would have to change the pin mappings. You can find a guide to this in &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/sdk_for_custom_boards.html?resultof=%22%63%75%73%74%6f%6d%22%20%22%62%6f%61%72%64%22%20"&gt;this link&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>