<?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>nrf51822 bootloader with gcc</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1415/nrf51822-bootloader-with-gcc</link><description>while creating a Makefile for DFU, for BLE DualBank only, I&amp;#39;m getting some odd errors: 
 ../bootloader_util_arm.c:19:1: error: &amp;#39;at&amp;#39; attribute directive ignored [-Werror=attributes]
../bootloader_util_arm.c:20:1: error: &amp;#39;at&amp;#39; attribute directive ignored</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Feb 2014 16:24:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1415/nrf51822-bootloader-with-gcc" /><item><title>RE: nrf51822 bootloader with gcc</title><link>https://devzone.nordicsemi.com/thread/6345?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2014 16:24:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8100a1c-9e04-4a2e-b548-ef6630e6298f</guid><dc:creator>Joe Merten</dc:creator><description>&lt;p&gt;@Oleh: Could you provide your asm code?
I&amp;#39;d open similar threads here:
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/nrf51822-over-the-air-bootloader-with-gcc" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/nrf51822-over-the-air-bootloader-with-gcc&lt;/a&gt;
&lt;a target="_blank" href="https://devzone.nordicsemi.com/index.php/nrf51822-bootloader-with-gcc-code-for-starting-the-application" rel="nofollow"&gt;https://devzone.nordicsemi.com/index.php/nrf51822-bootloader-with-gcc-code-for-starting-the-application&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 bootloader with gcc</title><link>https://devzone.nordicsemi.com/thread/6344?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 17:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96ba986a-f648-464c-a632-341370a6539a</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;sure, will keep the asm then.&lt;/p&gt;
&lt;p&gt;thank you Ole!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 bootloader with gcc</title><link>https://devzone.nordicsemi.com/thread/6343?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 15:50:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69d7da77-e7d5-4cdd-b47f-05f5ba30e049</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;It should be possible to start the application in C, but I&amp;#39;m not aware of any way to set MSP, and that should also be done. I&amp;#39;d hence recommend you to keep the assembly for this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 bootloader with gcc</title><link>https://devzone.nordicsemi.com/thread/6342?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 14:42:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1516edc-1b34-4604-a51d-4898bdc1b4b0</guid><dc:creator>Oleh</dc:creator><description>&lt;p&gt;thank you Ole!&lt;/p&gt;
&lt;p&gt;got it fixed now (asm part as well). still was thinking of restart the firmware from c...&lt;/p&gt;
&lt;p&gt;Is there a way to restart application from the address in C (instead of ASM)? so that specifying CODE_REGION_1_START to start from?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 bootloader with gcc</title><link>https://devzone.nordicsemi.com/thread/6341?ContentTypeID=1</link><pubDate>Wed, 22 Jan 2014 12:19:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0a62d72-117c-4aac-b723-19ca306ac7fa</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;This probably comes from the use of the Keil specific attribute at() to place the start address of the bootloader, and to reserve flash space for the bootloader settings, and the difference in Keil and GCC&amp;#39;s ASM syntax.&lt;/p&gt;
&lt;p&gt;There is unfortunately not any direct equivalent for the at keyword with GCC, but you can achieve this by using the section keyword and make changes to the linker script. You can take a look at &lt;a href="http://stackoverflow.com/a/4081574/2742202"&gt;this answer on Stack Overflow&lt;/a&gt; for details. With regard to the ASM syntax, you&amp;#39;ll just have to change it manually.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>