<?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>Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59502/stable-application-crashes-at-address-0x00000000-when-i-add-jlink_monitor_isr_ses-s-but-debugmonitor_irqn-is-disabled</link><description>Very strange, I have lots of nRF52x experience, but this one has me stumped. 
 Successfully updated our custom board/application from nRF5_SDK_15.0.0 to latest as indicated below: 
 Setups: 
 SDK: nRF5_SDK_16.0.0_98a08e2 
 SoftDevice: 
 FreeRTOS (from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Apr 2020 19:46:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59502/stable-application-crashes-at-address-0x00000000-when-i-add-jlink_monitor_isr_ses-s-but-debugmonitor_irqn-is-disabled" /><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/243465?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 19:46:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80cd6e54-7872-4e2b-b46d-16af58fb6a01</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;OK, thanks. I am giving it a mental break ... but hope to take a look at again next week.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/243273?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 21:07:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16f5d013-a46e-449a-981a-797163e495ad</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;ok, I can&amp;#39;t see details of the vector table entries in your previous posts but yes it would be good to get the exact hardfault. Once you have those post back if you still need additional insight.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/243051?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 21:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:901b5f09-9c9f-4fb9-b09f-0f2e24fdb34e</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Yes, see previous notes.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I hit the HardFault_Handler: in ses_startup_nrf52.s during a&amp;nbsp;&lt;/span&gt;&lt;strong&gt;memory_set&lt;/strong&gt;&lt;span&gt;&amp;nbsp;loop operation on&amp;nbsp;&lt;/span&gt;&lt;strong&gt;.bss memory range&lt;/strong&gt;&lt;span&gt;. Screenshot image will show the loop operation.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will have to look to get an exact hardfault error code, but looks to be invalid memory access (even though images show CPU registers appear to point to valid addresses)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/243044?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 20:07:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aadd4d1e-ee5d-42f0-9e2f-8eb7a3898643</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;Right, so have you eyeballed the vector table entries for the DebugMon handlers to ensure that they are pointing to the correct addresses?&lt;/p&gt;
&lt;p&gt;Additionally, what data does your hardfault handler provide regarding the &lt;strong&gt;exact&lt;/strong&gt; nature of the fault?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/242193?ContentTypeID=1</link><pubDate>Sat, 28 Mar 2020 00:02:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd9d8149-345b-4c32-9066-83602fae359e</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;I don&amp;#39;t seem to need to do anything special with SES.&lt;/p&gt;
&lt;p&gt;I simply click in the editor to set a breakpoint within thumb_crt0.s, then start the application, and it will start at the breakpoint.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Yes, it is very confusing. I have another simpler SES application that uses the latest SDK, and I have&amp;nbsp;&lt;em&gt;SetMonModeDebug=1&lt;/em&gt; and that application runs perfectly fine.&lt;/p&gt;
&lt;p&gt;It is only my main application that is exhibiting this problem.&lt;/p&gt;
&lt;p&gt;But set&amp;nbsp;&lt;em&gt;SetMonModeDebug=0,&amp;nbsp;&lt;/em&gt;and my main application runs perfectly fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/242186?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 20:58:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62eb7b77-e489-495e-a9a7-ae9265d5cbcd</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;You probably know about this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;Startup Completion Point
Specifies the point in the program where startup is complete. Software breakpoints and debugIO will be enabled after this point has been reached.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The default is &lt;em&gt;main();&lt;/em&gt; how are you specifying the initial run to breakpoint? I think &lt;em&gt;&amp;quot;Only with no breakpoints set&amp;quot;&lt;/em&gt; in &lt;em&gt;Run To Control&lt;/em&gt; can an earlier breakpoint be set; with this I can single step through all the assembler with &lt;em&gt;SetMonModeDebug=1&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/242180?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 20:13:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e8de563-8f1c-4c91-95f1-09ec0c111531</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Getting more information ....&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Previously, I indicated when I had set&amp;nbsp;&lt;span&gt;SetMonModeDebug = 1, that I could not hit a breakpoint set in&lt;/span&gt;&amp;nbsp;_start: in thumb_crt0.s&lt;/p&gt;
&lt;p&gt;But I found 2 ways where I could hit this breakpoint:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;#1&amp;nbsp; Run application with&amp;nbsp;&lt;span&gt;SetMonModeDebug = 0, then stop, change setting to&amp;nbsp;SetMonModeDebug = 1 and restart&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;#2&amp;nbsp; ... or power down device, and perform SES Debug-&amp;gt;Go operation with setting already set for SetMonModeDebug = 1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So now I could single step onwards to see where some bad behavior may be occurring.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Voila, and I am always&amp;nbsp;HardFault_Handler: in ses_startup_nrf52.s somewhere&amp;nbsp;during &lt;strong&gt;memory_set&lt;/strong&gt; operation on &lt;strong&gt;.bss memory range&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;See thumb_crt0.s:325&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1585339501895v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How might this be happening ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Keep in mind when I have&amp;nbsp;&lt;span&gt;SetMonModeDebug = 0, the same application works perfectly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I put support ticket in Segger, but the politely declined to support this issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Up to 3 beer bounty now :}&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/242050?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 10:06:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:016a0196-9e14-4e4b-8d22-77c28b8c8136</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;There&amp;#39;s no problem in using eraseall vs chiperase.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241985?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2020 01:28:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17daa922-44e1-4696-95c7-5c762acc5b6c</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Cool ... me becoming more educated in coronaisolation :}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241976?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 20:54:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49663751-77a1-403d-b6d7-222a1d7cba35</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// The least-significant bit of each vector must be 1, indicating that the exception handler is Thumb code
// See http://infocenter.arm.com/help/topic/com.arm.doc.dui0553b/DUI0553.pdf&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241973?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 20:19:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45337d6f-ffcb-4633-886f-9ec077fac5d1</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;I use the depreciated nRFGo Studio to Erase All. There is indeed an erase all in SES but I can&amp;#39;t confirm that removes the MBR as I haven&amp;#39;t tried it. nRFGo Studio is a good option. Nordic say use nRF Connect which should also work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241970?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 19:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a45323ad-dae7-4cd4-a567-bd370dcd4878</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;OK, I see MBR is at Flash address 0x0 and indeed I have MBR contents there that match contents of&amp;nbsp;&lt;span&gt;mbr_nrf52_2.4.1_mbr.hex, at least there 1st 100 bytes or so ...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I wonder if I have no Bootloader ... then if there is any reason for the weird interactions with JLink ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But that doesn&amp;#39;t make sense ... if I go back to my demo application running ble_app_hrs_freertos_pca10040, and modified to support JLink Debug Monitor, that works fine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It also has no Bootloader, and same MBR programmed, using same SDK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So bloody weird ...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;----------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But to isolate MBR&amp;nbsp;as being a factor, would you know steps to erase it, and have it boot to application appropriately ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I presume JLink may issue a reset command via JTAG after flash programming ... maybe that is the reason for that odd&amp;nbsp;&amp;quot;T-bit of XPSR is 0 but should be 1&amp;quot; ... possibly MBR and JLink battling over something.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241966?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 19:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d37ec68-08e6-4767-8982-16700da77718</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Coming from 15.0.0 sounds like MBR is new ... but I haven&amp;#39;t familiarized myself with it.&lt;/p&gt;
&lt;p&gt;Whats the easiest way to confirm that I have erased it ?&lt;/p&gt;
&lt;p&gt;I see in the softdevice directory there is&amp;nbsp;mbr_nrf52_2.4.1_mbr.hex&amp;nbsp; which looks to consist of a significant amount of code presumably.&lt;/p&gt;
&lt;p&gt;Maybe my next step is to actually confirm that is truly erased, and not somehow getting in the way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241964?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 19:29:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f89f31d-8f6f-4c98-b21d-39c5118a8bc1</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Been a while since I have looked at startup code ...&lt;/p&gt;
&lt;p&gt;_start is at 0x26200&lt;/p&gt;
&lt;p&gt;Is there any other code that gets executed upon reset and/or JTAG startup ... ie.&amp;nbsp;Reset_Handler ?&lt;/p&gt;
&lt;p&gt;I could see if possible to set a breakpoint elsewhere, since upon JTAG startup, I cannot get it to break at _start.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241962?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 19:22:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9307a8b3-1beb-46f1-9fd7-1da45144fc37</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Typo on my part ... DebugMon_Handler is at 0x26030 in vector table.&lt;/p&gt;
&lt;p&gt;I have confirmed it contains a value pointing to the handler in the map file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241960?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 19:01:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58341d8d-e156-4eb4-b155-b7ebb288f135</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Yes, I presently sniffing around that area ...&lt;/p&gt;
&lt;p&gt;_vectors:&lt;br /&gt; .word __stack_end__&lt;br /&gt; .word Reset_Handler&lt;br /&gt; .word NMI_Handler&lt;br /&gt; .word HardFault_Handler&lt;br /&gt; .word MemoryManagement_Handler&lt;br /&gt; .word BusFault_Handler&lt;br /&gt; .word UsageFault_Handler&lt;br /&gt; .word 0 /*Reserved */&lt;br /&gt; .word 0 /*Reserved */&lt;br /&gt; .word 0 /*Reserved */&lt;br /&gt; .word 0 /*Reserved */&lt;br /&gt; .word SVC_Handler&lt;br /&gt; .word DebugMon_Handler&lt;br /&gt; .word 0 /*Reserved */&lt;br /&gt; .word PendSV_Handler&lt;br /&gt; .word SysTick_Handler&lt;/p&gt;
&lt;p&gt;/* External Interrupts */&lt;br /&gt; .word POWER_CLOCK_IRQHandler&lt;br /&gt; .word RADIO_IRQHandler&lt;/p&gt;
&lt;p&gt;etc ....&lt;/p&gt;
&lt;p&gt;and if I dump memory contents at 0x26000&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;0x26000&amp;nbsp;&lt;/strong&gt; 20010000 00026361 000263BD 000263BF 000263C1 000263C3 000263C5 00000000&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;0x26020&lt;/strong&gt; 00000000 00000000 00000000 0004DBB5 &lt;em&gt;&lt;strong&gt;0004D135&lt;/strong&gt; &lt;/em&gt;00000000 0004DBD9 000263CD&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;0x26040&lt;/strong&gt; 0002A6A1 000263CF 0002FCCD 0002E3C1 0002EE3D 000263CF 0002C7E5 0002AE2D&lt;/p&gt;
&lt;p&gt;DebugMon_Handler Is at 0x26034 = &lt;strong&gt;0x0004D135&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;actual &lt;strong&gt;DebugMon_Handler&lt;/strong&gt; in map file is at&amp;nbsp;0x0004D134 &amp;hellip; not sure why offset by 1.&lt;/li&gt;
&lt;li&gt;But this seems to be normal for ARM-Cortex M4&lt;/li&gt;
&lt;li&gt;&amp;hellip;&amp;nbsp;all the vectors&amp;nbsp;have the same characteristic, even in my working applications&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241957?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 18:17:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:495af78b-04ea-45ec-8665-d290a886f020</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;I have Segger 6.50a on the nRF52DK which is working. I suppose you checked there really is an interrupt vector present?&amp;nbsp;DebugMon_Handler and not just 0&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;_vectors:
  .word __stack_end__
  .word Reset_Handler
  .word NMI_Handler
  .word HardFault_Handler
  .word MemoryManagement_Handler
  .word BusFault_Handler
  .word UsageFault_Handler
  .word Reserved_09_IRQHandler      /*Reserved */
  .word Reserved_08_IRQHandler      /*Reserved */
  .word Reserved_07_IRQHandler      /*Reserved */
  .word Reserved_06_IRQHandler      /*Reserved */
  .word SVC_Handler
  .word DebugMon_Handler  &amp;lt;&amp;lt;&amp;lt;=== Here
  .word Reserved_03_IRQHandler      /*Reserved */
  .word PendSV_Handler
  .word SysTick_Handler&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241952?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 17:42:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1103507e-4c0a-4b02-8408-2ab7b4973594</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;I inspected the memory contents at 0x26000 in both scenarios, and they are identical.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241948?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 17:24:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4003658e-7754-4ae3-8ed1-27db7621b031</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Well turns out it was easy to downgrade back to my prior 6.54c, and Segger made it effortless to revert the JLink firmware back to a version that was dated Jan 7 2019.&amp;nbsp; I completely uninstalled 6.62b, and reboot my PC.&lt;/p&gt;
&lt;p&gt;So now back to much older (early 2019) JLink DLL and JLink nRF52-DK firmware.&lt;/p&gt;
&lt;p&gt;Unfortunately behavior was identical. Debugger shows its at at address 0x0.&lt;/p&gt;
&lt;p&gt;If all I do is change JLink options&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from&amp;nbsp; &amp;nbsp; SetMonModeDebug =&amp;nbsp;1&amp;nbsp; SetMonModeVTableAddr = 0x26000&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to&amp;nbsp; &amp;nbsp; SetMonModeDebug = 0&amp;nbsp; SetMonModeVTableAddr = 0x26000&lt;/p&gt;
&lt;p&gt;then my application works perfectly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I had done an EraseAll operation on my chip. Is that different than a Chip Erase ?&lt;/p&gt;
&lt;p&gt;The latter requires a new hex file ... is all I can tell as being different.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241947?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 16:59:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2db63741-8b60-473f-920c-8b2bfa000edb</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;OK, found the info in JLink document&amp;nbsp;UM08001&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looks like via JLink Configuration app I can replace firmware.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll update my findings ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241946?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 16:52:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66c59d9c-8940-4e0f-9929-17744b855a6c</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Very strange indeed. I have a strong suspicion it is the updated JLink firmware loaded into the nRF52-DK ... maybe not so much the DLL version.&lt;/p&gt;
&lt;p&gt;Reason being, is that on my previous notes, my SES was using JLink DLL version&amp;nbsp;&lt;span&gt;V6.54c ... but I had somehow/somewhere downloaded&amp;nbsp;6.62b, and it auto-updated the nRF-DK JLink firmware.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can definitely step back to a previous JLink DLL version, but curious as to whether it will allow downgrading of the firmware loaded into the nRF52-DK.&amp;nbsp; My previous post shows the version loaded in is V2 dated Jan 21 2020.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Anyone with knowledge / experience on downgrading the JLink firmware in a nRF52-DK ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Obviously this is more of a Segger question ... but curious if anyone has gone thru a downgrading process.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241753?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 09:40:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d65da087-9f5a-49e1-b1c0-f41dc8dc0764</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I believe there&amp;#39;s a bug in the 6.62b j-link driver, at least we&amp;#39;re having problems in NCS with it. You&amp;#39;ll have to revert back to an older J-link driver version for now.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve seen the&amp;nbsp;&lt;span&gt;&amp;quot;T-bit of XPSR is 0 but should be 1&amp;quot; before, but I can&amp;#39;t for the life of me remember the root cause, my best bet is a buggy J-link driver.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241710?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 02:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:004e392c-eea3-4254-a231-3325517c148c</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;I might even see if I can revert my firmware in the DK, and my JLink DLL back to an older V6.20 ish ...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;... pain in the butt .. but who knows.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241709?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 02:52:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:097c51b4-9a05-4497-bef1-7115c4f3175a</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Thanks again. I will take a look into that tomorrow.&lt;/p&gt;
&lt;p&gt;With my JLINK DLL cleanups (see postings below), now it is not at 0x0 ... but&amp;nbsp;&lt;span&gt;it is on another planet at 0xEA6AAA2C&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stable application crashes at address 0x00000000 when I add JLINK_MONITOR_ISR_SES.s but DebugMonitor_IRQn is disabled</title><link>https://devzone.nordicsemi.com/thread/241706?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 02:34:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fc56ef4-d4a1-4578-8456-a57c491f23d4</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Yes, the chip erase removes the MBR. So .. this is worrying:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;  .word   PDM_IRQHandler
  .word   0                           /*Reserved */
  .word   0                           /*Reserved */
  .word   MWU_IRQHandler&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;These are not reserved vectors, but they track to address 0x00000000. I have the following in the diagnostics I wrote:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//  Text Name               V  ID Peripheral Description                                      Base Addr
//  ==================     == === ========== ================================================ =========================================================
   &amp;quot;PDM&amp;quot;,               // 45  29 PDM        Pulse Density Modulation (Digital Microphone)    0x4001D000 PDM_IRQHandler
   &amp;quot;NVMC&amp;quot;,              // 46  30 NVMC       Non-Volatile Memory Controller                   0x4001E000 0                         ; Reserved
   &amp;quot;PPI&amp;quot;,               // 47  31 PPI        Programmable Peripheral Interconnect             0x4001F000 0                         ; Reserved
   &amp;quot;MWU&amp;quot;,               // 48  32 MWU        Memory Watch Unit                                0x40020000 MWU_IRQHandler&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Maybe these vectors need populating; I do thus:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt; __WEAK void PDM_IRQHandler(void)       {NVIC_DisableIRQ(PDM_IRQn); NVIC_ClearPendingIRQ(PDM_IRQn); ExceptionVectors.Counters.IrqCount_PDM ++;} // 29 PDM  Pulse Density Modulation (Digital Microphone) 0x4001D000
__WEAK void Reserved30_IRQHandler(void) {NVIC_DisableIRQ(U30_IRQn); NVIC_ClearPendingIRQ(U30_IRQn); ExceptionVectors.Counters.IrqCount_NVMC++;} // 30 NVMC Non-Volatile Memory Controller                0x4001E000
__WEAK void Reserved31_IRQHandler(void) {NVIC_DisableIRQ(U31_IRQn); NVIC_ClearPendingIRQ(U31_IRQn); ExceptionVectors.Counters.IrqCount_PPI ++;} // 31 PPI  Programmable Peripheral Interconnect          0x4001F000
__WEAK void MWU_IRQHandler(void)        {NVIC_DisableIRQ(MWU_IRQn); NVIC_ClearPendingIRQ(MWU_IRQn); ExceptionVectors.Counters.IrqCount_MWU ++;} // 32 MWU  Memory Watch Unit                             0x40020000
 &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I forget why the source does not specify the missing vectors - why are they reserved? They don&amp;#39;t have specific enable/disable interrupt registers I see&amp;nbsp; .. and I don&amp;#39;t actually always add them:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;.weak Reserved30_IRQHandler
.thumb_set Reserved30_IRQHandler, Dummy_Handler

.weak Reserved31_IRQHandler
.thumb_set Reserved31_IRQHandler, Dummy_Handler

  .word   PDM_IRQHandler
  .word   Reserved30_IRQHandler        /*Reserved */
  .word   Reserved31_IRQHandler        /*Reserved */
  .word   MWU_IRQHandler&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>