<?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>Getting  a hard fault</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94995/getting-a-hard-fault</link><description>Hi all, 
 I&amp;#39;m new to embedded programing with Nordic I&amp;#39;m using the evaluation of Fanstel EV-BC 805M. I was trying to program the basic program for blinky led, however by the time I ran the program I got a HardFault before I got to the first line of main</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Dec 2022 12:30:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94995/getting-a-hard-fault" /><item><title>RE: Getting  a hard fault</title><link>https://devzone.nordicsemi.com/thread/401250?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2022 12:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35d34ba1-b1c9-4b7a-ad54-ada3bad7eeae</guid><dc:creator>Guy_mego</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;it works, thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting  a hard fault</title><link>https://devzone.nordicsemi.com/thread/401240?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2022 12:04:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34ebb049-9930-4564-a154-d077296a5877</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;pca10040 is for the nRF52 DK board which targets the 52832 with 64K RAM whereas your chip only has 24K. Try the pca10040e project instead.&amp;nbsp;This configuration is&amp;nbsp;really for the 52810, but it may work still as it shares the same memory configuration as the 52805 has.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting  a hard fault</title><link>https://devzone.nordicsemi.com/thread/401235?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2022 11:55:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bae75b1f-7e25-4905-8f17-2d2f49a1346c</guid><dc:creator>Guy_mego</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;br /&gt;I used pca10040.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting  a hard fault</title><link>https://devzone.nordicsemi.com/thread/401225?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2022 11:44:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02b6cf88-4600-4062-978a-8ec9b44b8ca1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which project configuration did you use (pca10040e, pca10056, etc) when you built the blinky project? Hardfaults before reaching main() are typically caused by incorrect linker settings (i.e. invalid memory configuration for the target device).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Instructions on how to configure the linker&amp;nbsp;for the nRF52805 is&amp;nbsp;described in this guide:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/developing-for-the-nrf52805-with-nrf5-sdk"&gt;Developing for the nRF52805 with nRF5 SDK&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>