<?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>IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28072/iar-warning-stack-pointer-is-setup-to-incorrect-alignment-stack-addr-0xffffffff</link><description>i am using nrf52832 dk. i am trying to change the flash address from 0x000 to 0x0002000. But i can only flash it to 0x0002000 if softdevice is already present on controller.If i flash it without softdeivce it gives me the error of incorrect stack pointer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Apr 2017 04:32:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28072/iar-warning-stack-pointer-is-setup-to-incorrect-alignment-stack-addr-0xffffffff" /><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110600?ContentTypeID=1</link><pubDate>Tue, 18 Apr 2017 04:32:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00903a76-9884-4e8d-89aa-39d660875bfa</guid><dc:creator>Yogesh</dc:creator><description>&lt;p&gt;Main problem is like IAR uses jlink version 5.12 (in this version nrf52840 is not defined) even if  latest jlink version 6.14b is installed in my system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110601?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2017 14:07:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5594bb62-3609-47aa-99ff-3f0c9fac66d7</guid><dc:creator>tkorsdal</dc:creator><description>&lt;p&gt;I just had this problem. Reprogramming softdevice with nRFgo fixed it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110599?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2017 08:10:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:895cac5f-85b2-420b-b2f5-4995976a96fb</guid><dc:creator>Yogesh</dc:creator><description>&lt;p&gt;It is working fine after making following settings:
Project &amp;gt; Options &amp;gt; Debugger &amp;gt; Extra Options and specify:
--drv_vector_table_base=0x00020000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110590?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2017 09:07:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:311838a9-6cb7-40d8-8d9d-3ec39d89b2bc</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;What does this warning of incorrect alignment look like? Is it the same warning as shown in &lt;a href="https://devzone.nordicsemi.com/question/64122/iar-warning-stack-pointer-is-setup-to-incorrect-alignment-stack-addr-0xffffffff/"&gt;this post&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Does the program work even if the warning is there? What version of IAR is this? Have you tried to download the latest Segger drivers ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110597?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2017 03:46:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80561e96-c824-4a82-9467-2a1c168fa794</guid><dc:creator>Yogesh</dc:creator><description>&lt;p&gt;I tried with it.But problem is still there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110588?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 14:51:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e5e56e1-64d8-4fa7-9caa-fa1d364995ed</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Try setting the start address in the linker config in IAR. Select the project, click on Project-&amp;gt; Options -&amp;gt; Linker -&amp;gt; Edit. Shown in the picture here:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/IAR_5F00_BLINKY.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110598?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2017 04:43:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1702c9bd-a7b8-4973-a75e-0fe16429d199</guid><dc:creator>Yogesh</dc:creator><description>&lt;p&gt;yes,i have made the above changes.But still the problem continues.
Any other settings do i need to perform?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110596?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2017 13:53:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d473746-c8f1-4a3e-ab68-39455626d382</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;You changed the &lt;code&gt;__ICFEDIT_region_ROM_start__&lt;/code&gt; to &lt;code&gt;0x00020000&lt;/code&gt; in blinky_iar_nRF5x.icf ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110595?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2017 13:38:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d30c96e-dda9-4b79-b9a1-7753d77f22cc</guid><dc:creator>Yogesh</dc:creator><description>&lt;p&gt;i have changed the linker address to 0x00020000. Since i have changed that address from 0x00 to 0x00020000 i could flash it only if softdevice is already present on flash. But if softdevice does not present before i flash blinky IAR gives me warning of incorrect alignment&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110594?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2017 12:21:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7ae8b42-f18b-43bf-b4d5-87f30d7de4ff</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The &lt;code&gt;blinky_pca10040&lt;/code&gt; does not use the SoftDevice S132, and will be flashed to flash start address 0x00. If you have flashed the SoftDevice S132 to your nRF52-DK, you should use the project &lt;code&gt;blinky_pca10040_s132&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110593?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2017 12:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cad2a9b-9c32-48dc-b4bf-15d9b3462167</guid><dc:creator>Yogesh</dc:creator><description>&lt;p&gt;i am using blinky_pca10040.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110592?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2017 11:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6cb46f7-021f-4425-a087-d50829599a17</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Which of the blinky examples is this? the one in the folder &lt;code&gt;peripheral\blinky&lt;/code&gt;? or in the folder &lt;code&gt;experimental_ble_app_blinky&lt;/code&gt;?&lt;/p&gt;
&lt;p&gt;If it is peripheral\blinky, are you using &lt;code&gt;blinky_pca10040&lt;/code&gt; or &lt;code&gt;blinky_pca10040_s132&lt;/code&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110591?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2017 11:43:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8db0f190-7cba-4ec2-ae07-e69418ecfcaf</guid><dc:creator>Yogesh</dc:creator><description>&lt;p&gt;i am using sdk version 13.0.0 with softdevice 132.I am trying for blinky example&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR Warning: Stack pointer is setup to incorrect alignment. stack addr = 0xFFFFFFFF</title><link>https://devzone.nordicsemi.com/thread/110589?ContentTypeID=1</link><pubDate>Fri, 03 Mar 2017 09:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6068d41b-09b1-4fa1-97ad-5dab5e84ce24</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;What SDK version are you using? What SoftDevice version are you using? What example in the SDK are you trying to flash?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>