<?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>Secure Bootloader SDK13.0.0 array alignement GCC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20826/secure-bootloader-sdk13-0-0-array-alignement-gcc</link><description>Hi Nordic,
During DFU tests i had weird issue. If i compileed bootloader using your makefile everything works fine, instead of compiling with Eclipse IDE.
With Eclipse i dfu returns: &amp;quot;Signature failed&amp;quot; during update.
The reason for that i think was</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Mar 2017 14:05:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20826/secure-bootloader-sdk13-0-0-array-alignement-gcc" /><item><title>RE: Secure Bootloader SDK13.0.0 array alignement GCC</title><link>https://devzone.nordicsemi.com/thread/81343?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2017 14:05:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec5ba308-ee4a-4e71-93b0-33be803fccb7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi PanTikTak,&lt;/p&gt;
&lt;p&gt;It is actually a bug. I have reported it to our SDK team. I got the suggestion that this can be used :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;__ALIGN(4) static uint8_t name ## _buffer[STRING_CONCATENATE(NRF_CRYPTO_ECDSA_SIGNATURE_SIZE_, type)] ;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Just so it would works on all platforms (IAR, KEIL, GCC)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure Bootloader SDK13.0.0 array alignement GCC</title><link>https://devzone.nordicsemi.com/thread/81342?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2017 09:29:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6951d683-d502-4d7f-bd67-eafed699d58b</guid><dc:creator>Finisboy</dc:creator><description>&lt;p&gt;Thank you so much for this,&lt;/p&gt;
&lt;p&gt;I had the exact same issue. The init packet would not be validated, though I&amp;#39;m using the provided Makefiles, but a different version of gcc than Nordic are using(I&amp;#39;m using v. 6.3.0)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>