<?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>SEGGER Embedded Studio and Monitor Mode Debugging</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15602/segger-embedded-studio-and-monitor-mode-debugging</link><description>So I&amp;#39;ve been following these blogs on getting Monitor Mode Debugging working with SEGGER Embedded Studio: devzone.nordicsemi.com/.../ and devzone.nordicsemi.com/.../ 
 These blogs state it is necessary to amend the start-up file to define DebugMon_Handler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Aug 2016 10:01:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15602/segger-embedded-studio-and-monitor-mode-debugging" /><item><title>RE: SEGGER Embedded Studio and Monitor Mode Debugging</title><link>https://devzone.nordicsemi.com/thread/59517?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2016 10:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b99ff1c9-5f72-46a7-93d5-3a88975053a0</guid><dc:creator>Michael Dietz</dc:creator><description>&lt;p&gt;&lt;code&gt;arm_startup_nrf52.s&lt;/code&gt; and &lt;code&gt;iar_startup_nrf52.s&lt;/code&gt; are the startup files for the Keil and IAR IDEs respectively, and will not work with Embedded Studio.&lt;/p&gt;
&lt;p&gt;Use the nRF Package in Embedded Studio like you already are. You don&amp;#39;t need to modify &lt;code&gt;nrf_startup.s&lt;/code&gt; as this is not where the exceptions/interrupts are defined in Embedded Studio. You need to modify &lt;code&gt;$(DeviceVectorsFile)&lt;/code&gt; which is in the same &lt;code&gt;System Files/&lt;/code&gt; folder as &lt;code&gt;nRF_Startup.s&lt;/code&gt;. Basically all you need to do is make sure DebugMon_Handler is defined as the other ISRs. But here is my file, you can check against it or just use it: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52_5F00_Vectors.s"&gt;nrf52_Vectors.s&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER Embedded Studio and Monitor Mode Debugging</title><link>https://devzone.nordicsemi.com/thread/59518?ContentTypeID=1</link><pubDate>Sun, 07 Aug 2016 23:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8bd6d31-3ffd-4b5b-a666-a1dc94e9664a</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;In order to get MMD up and running under Segger Embedded Studio (SES), you will need the following files (in addition to your main application code):&lt;/p&gt;
&lt;p&gt;JLINK_MONITOR.c - contains the definitions of the mmd routines (in file &lt;a href="https://devzone.nordicsemi.com/attachment/4382d93032538d7122a9a06eea3bcc86"&gt;JLink_Monitor_Code.zip&lt;/a&gt; of the original blog post that you referenced &amp;amp;  &lt;a href="https://devzone.nordicsemi.com/attachment/4008661910f8d3785d26a6c005598a26"&gt;nRF5x-MMD-led-btn-example.zip&lt;/a&gt; in the Part 2 blog)&lt;/p&gt;
&lt;p&gt;JLINK_MONITOR.h - contains the declarations of the mmd routines (in file &lt;a href="https://devzone.nordicsemi.com/attachment/4382d93032538d7122a9a06eea3bcc86"&gt;JLink_Monitor_Code.zip&lt;/a&gt; of the original blog post that you referenced &amp;amp;  &lt;a href="https://devzone.nordicsemi.com/attachment/4008661910f8d3785d26a6c005598a26"&gt;nRF5x-MMD-led-btn-example.zip&lt;/a&gt; in the Part 2 blog)&lt;/p&gt;
&lt;p&gt;JLINK_MONITOR_ISR_SES.s - contains the SES specific asm code which drive the mmd routines referenced in the above files when the Debugmon interrupt is triggered (in file &lt;a href="https://devzone.nordicsemi.com/attachment/4382d93032538d7122a9a06eea3bcc86"&gt;JLink_Monitor_Code.zip&lt;/a&gt; of the original blog post that you referenced &amp;amp;  &lt;a href="https://devzone.nordicsemi.com/attachment/4008661910f8d3785d26a6c005598a26"&gt;nRF5x-MMD-led-btn-example.zip&lt;/a&gt; in the Part 2 blog)&lt;/p&gt;
&lt;p&gt;ses_nrf52_startup.s - contains the SES specific definition for the vector table with DebugMon_Handler entry (in file &lt;a href="https://devzone.nordicsemi.com/attachment/4008661910f8d3785d26a6c005598a26"&gt;nRF5x-MMD-led-btn-example.zip&lt;/a&gt; in the Part 2 blog)&lt;/p&gt;
&lt;p&gt;Please respond back if you experience any issue(s) with the above or getting MMD working correctly.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>