<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>Keil Start up Files</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/48066/keil-start-up-files</link><description> Hi, 
 I&amp;#39;m working on ATSAME70Q21 microcontroller in Keil IDE. I downloaded latest Keil and SAME70_DFP (ATMEL) software packages. I created a dummy project (which is having only main function) and tried to flash in controller. The code is flashing but</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Keil Start up Files</title><link>https://community.arm.com/thread/168691?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 19:47:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a78e0925-d64c-419d-940f-7a2dd2d85d18</guid><dc:creator>Adam Lins</dc:creator><description>&lt;p&gt;Could be a problem with floating-point initialization similar to this one: &lt;a href="https://community.arm.com/developer/tools-software/tools/f/keil-forum/44640/faultisr-infinite-loop"&gt;community.arm.com/.../faultisr-infinite-loop&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil Start up Files</title><link>https://community.arm.com/thread/168688?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 18:57:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e688bba1-f37a-4246-ba49-39538e7b71e5</guid><dc:creator>Andy Neil</dc:creator><description>[quote userid="69995" url="~/developer/tools-software/tools/f/keil-forum/48066/keil-start-up-files"]&lt;p&gt;it&amp;#39;s going to hard-fault before coming to the main function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;So have you stepped through the startup code to see where the Hard Fault occurs?&lt;/p&gt;
&lt;p&gt;Or used the standard Cortex-M Hard Fault debugging techniques:&lt;/p&gt;
&lt;p&gt;&lt;a href="/developer/tools-software/tools/f/keil-forum/44640/faultisr-infinite-loop/161465#161465"&gt;https://community.arm.com/developer/tools-software/tools/f/keil-forum/44640/faultisr-infinite-loop/161465#161465&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/developer/tools-software/tools/f/keil-forum/44640/faultisr-infinite-loop/168666#168666"&gt;https://community.arm.com/developer/tools-software/tools/f/keil-forum/44640/faultisr-infinite-loop/168666#168666&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>