<?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>DFU SD 8.1 Non-functional W/ GCC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7640/dfu-sd-8-1-non-functional-w-gcc</link><description>Hello, 
 It appears that changes were made to the DFU bootloader project in SD 8.1. The project no longer seems to function when using GCC. 
 I am using GCC 4.9.3 
 when compiling the bootloader for release everything finishes fine. I flash the code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Nov 2015 11:49:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7640/dfu-sd-8-1-non-functional-w-gcc" /><item><title>RE: DFU SD 8.1 Non-functional W/ GCC</title><link>https://devzone.nordicsemi.com/thread/27241?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2015 11:49:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91f4149b-3fc4-4f72-9ad1-c42201014b4b</guid><dc:creator>Morten Kristiansen</dc:creator><description>&lt;p&gt;You can just remove R7 from the list of registers maintained manually. The code never return anyway, so GCC has no use for the scratch list. Hence:
...
&amp;quot;.align\t\n&amp;quot;
:: &amp;quot;r&amp;quot; (start_addr)             // Argument list for the gcc assembly. start_addr is %0.
// List of register maintained manually, omitted. Code never returns.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU SD 8.1 Non-functional W/ GCC</title><link>https://devzone.nordicsemi.com/thread/27240?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2015 15:18:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b2a0cf5-4d3a-4786-8ab6-f48531349f00</guid><dc:creator>Lucas</dc:creator><description>&lt;p&gt;I am using an xxac and have selected the associated linker script. I am using a custom board and have changed the clock source to the RC. The project I have works fine with 8.0, but something in 8.1 broke it.&lt;/p&gt;
&lt;p&gt;Also, I notice that the linker script associated with the new 8.1 bootloader starts its general ram space at 0x20002C00 instead of 0x20002000. What is the reason for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU SD 8.1 Non-functional W/ GCC</title><link>https://devzone.nordicsemi.com/thread/27239?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2015 11:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1160791b-380b-4e48-9d30-6fbe57af95d5</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;To enable debugging, try the following:&lt;/p&gt;
&lt;p&gt;Add &lt;code&gt;-fomit-frame-pointer&lt;/code&gt; to the compiler options as described here: &lt;a href="https://tls.mbed.org/kb/development/arm-thumb-error-r7-cannot-be-used-in-asm-here"&gt;tls.mbed.org/.../arm-thumb-error-r7-cannot-be-used-in-asm-here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Remove the &lt;code&gt;-lto&lt;/code&gt; option to get rid of the lto error.&lt;/p&gt;
&lt;p&gt;Since the device never starts advertising, are you using the 32K RAM chip (xxac)? If not try to use the xxaa linker script. Also, are you using a custom board or one of the dev. kits? If using a custom board check if you are using the right clock source (SDK code uses external crystal).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU SD 8.1 Non-functional W/ GCC</title><link>https://devzone.nordicsemi.com/thread/27238?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2015 10:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b780b747-df2a-460d-9a82-1471c8742782</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;You can get the Eclipse project for it from &lt;a href="http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html"&gt;here&lt;/a&gt;.  Precompiled hex is also available.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>