<?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>Setup a Debug environment on Segger Embedded Studio using ARM GCC tools</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73152/setup-a-debug-environment-on-segger-embedded-studio-using-arm-gcc-tools</link><description>We are currently developing for a product that uses the nRF52832, using Segger Embedded Studio (SES) 4.52c, and the ARM GCC toolchain (2019 q4 version. 
 
 We have set up an SES project to build using ARM GCC, and this is successful. We have no issues</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Mar 2021 17:26:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73152/setup-a-debug-environment-on-segger-embedded-studio-using-arm-gcc-tools" /><item><title>RE: Setup a Debug environment on Segger Embedded Studio using ARM GCC tools</title><link>https://devzone.nordicsemi.com/thread/301768?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 17:26:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df8ea6d1-558a-480d-bdd4-864e9323e30c</guid><dc:creator>ppillai</dc:creator><description>&lt;p&gt;Thanks for the link. I&amp;#39;ll check it out.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;On your second point, the code is being built completely unoptimized and still shows the same issue while debugging.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setup a Debug environment on Segger Embedded Studio using ARM GCC tools</title><link>https://devzone.nordicsemi.com/thread/301667?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 12:31:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76d5d84f-e992-4b4f-b731-2ffade0e3312</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Basically, &lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt; is correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Once the softdevice is enabled and started, you can&amp;#39;t use normal breakpoints, because the softdevice will miss time critical events. It is possible to use Monitor Mode Debugging, but this is not something that I have tested myself. My typical advice is to use logging and reset the application after breakpoints. It takes a bit longer, but that is how it is working with embedded devices and (time sensitive) protocol stacks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setup a Debug environment on Segger Embedded Studio using ARM GCC tools</title><link>https://devzone.nordicsemi.com/thread/301536?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 17:52:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04785c49-334c-4b24-a3ad-8bfb21408cf6</guid><dc:creator>awneil</dc:creator><description>[quote userid="87534" url="~/f/nordic-q-a/73152/setup-a-debug-environment-on-segger-embedded-studio-using-arm-gcc-tools"]In BLE-enabled projects, if breakpoints are hit, the session becomes unstable[/quote]
&lt;p&gt;You need &lt;strong&gt;Monitor Mode Debug&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48647/ble-debugging-on-nrf52/193088#193088"&gt;devzone.nordicsemi.com/.../193088&lt;/a&gt;&lt;/p&gt;
[quote userid="87534" url="~/f/nordic-q-a/73152/setup-a-debug-environment-on-segger-embedded-studio-using-arm-gcc-tools"]There are also issues where breakpoints are enabled on sections of code that are definitely being encountered, but breakpoints set there are never hit[/quote]
&lt;p&gt;Optimisation?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>