<?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>nRFgo Studio and IAR Using SEGGER J-Link Question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7405/nrfgo-studio-and-iar-using-segger-j-link-question</link><description>Hello all, 
 I&amp;#39;m new to embedded development and could use some help here. 
 I am currently working on our own board with a nRF51822 chip on it and using SEGGER j-link to program. It took quite a bit of work, but I eventually got it to compile the HRS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Jun 2015 07:23:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7405/nrfgo-studio-and-iar-using-segger-j-link-question" /><item><title>RE: nRFgo Studio and IAR Using SEGGER J-Link Question</title><link>https://devzone.nordicsemi.com/thread/26345?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 07:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37b2cd18-e088-4c06-9ee2-beef7098cfc0</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;I see the same issue with EWB 7.30. If there&amp;#39;s something present in flash, IAR will erase the sections and flash the softdevice. In this scenario, I see errors sometime, and have to restart the session.
Haven&amp;#39;t seen a workaround yet, but I recommend checking out their latest EWB version to see if it has improved. Also try to update your Segger drivers to the latest.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFgo Studio and IAR Using SEGGER J-Link Question</title><link>https://devzone.nordicsemi.com/thread/26344?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2015 18:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13856935-6f3d-4992-a1c2-d4c5bffd3a60</guid><dc:creator>John Slay</dc:creator><description>&lt;p&gt;Thank you so much. The only problem now is that I have to download and debug twice after erasing it for it to work. On the first download, I get &amp;quot; Warning: Stack pointer is setup to incorrect alignment. Stack addr = 0xFFFFFFFF&amp;quot; and it does not run properly. After downloading again, it makes it to main and runs the code no problem. Any solution for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFgo Studio and IAR Using SEGGER J-Link Question</title><link>https://devzone.nordicsemi.com/thread/26343?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2015 08:39:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb0ddd9c-d5ff-412b-a8d4-bcacf5de0e6f</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi John,&lt;/p&gt;
&lt;p&gt;Yes, it is possible to load the softdevice directly from IAR.
First, I would recommend that you start off with a &amp;quot;nrfjprog -e&amp;quot; to ensure that your device is blank.&lt;/p&gt;
&lt;p&gt;If you go to your IAR project settings&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Options.. -&amp;gt; Debugger
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then select the &amp;quot;Images&amp;quot; tab, you have the option to download an extra image when entering debug mode.&lt;/p&gt;
&lt;p&gt;You check this option and browse to the selected softdevice .hex location.
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/iar_5F00_download_5F00_softdevice.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Now, when you enter debug mode from IAR, it will load the softdevice .hex as well.&lt;/p&gt;
&lt;p&gt;Cheers,
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>