<?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>NULL Pointer dereference does not cause a hard fault.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59595/null-pointer-dereference-does-not-cause-a-hard-fault</link><description>I&amp;#39;m working with the nRF5 SDK v15.3 and a nRF52840 Dongle; developing on Keil uVision V5.29; Compiler: Armcc V5.06 
 While debugging I that in my programm a NULL pointer was dereferenced without the programm crashing and I am really confused about that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Mar 2020 13:38:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59595/null-pointer-dereference-does-not-cause-a-hard-fault" /><item><title>RE: NULL Pointer dereference does not cause a hard fault.</title><link>https://devzone.nordicsemi.com/thread/242114?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 13:38:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:754d176b-f7de-4449-a24d-09646fc92a6b</guid><dc:creator>lorv</dc:creator><description>&lt;p&gt;Wow ok thanks I was completly wrong about that then.&lt;/p&gt;
&lt;p&gt;Thank you for your clarification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NULL Pointer dereference does not cause a hard fault.</title><link>https://devzone.nordicsemi.com/thread/242105?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 13:25:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5803ae4-5ef8-4a3f-a9e8-a3bba5a0dbeb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;NULL==0 happens to be a valid memory address (&lt;span&gt;&lt;a title="Memory" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/memory.html?cp=4_0_0_3_1"&gt;Memory&lt;/a&gt;&lt;/span&gt;). It&amp;#39;s in FLASH memory and is where the first vector table is located and thus the first entry point after reset (true for all M4s). Writes to this address will be ignored unless you enable flash write in &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/nvmc.html?cp=4_0_0_3_2"&gt;NVMC &lt;/a&gt;first.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>