<?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>I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73234/i-can-start-to-trace-code-step-by-step-but-always-it-stops-after-30sec-in-ses</link><description>I work with SES 5.4, nRF5_SDK_17.0.2, and s132, SD v7.2.0. 
 I try to trace step by step (F11) my app with success, but it stops always after 30sec in SES. 
 With this errors: 
 in disassembly window: Error reported: Cannot single step in source main</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Apr 2021 08:33:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73234/i-can-start-to-trace-code-step-by-step-but-always-it-stops-after-30sec-in-ses" /><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/303033?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 08:33:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbf35448-1aa8-4014-91a1-77af28ec0f41</guid><dc:creator>awneil</dc:creator><description>[quote userid="87001" url="~/f/nordic-q-a/73234/i-can-start-to-trace-code-step-by-step-but-always-it-stops-after-30sec-in-ses/302317#302317"]any new idea?&amp;nbsp;[/quote]
&lt;p&gt;Sorry, no.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d still say your ebay J-Link must be a prime suspect.&lt;/p&gt;
&lt;p&gt;Do you have (or can you borrow) another, known-good J-Link that you can try?&lt;/p&gt;
&lt;p&gt;Or a genuine Nordic development board?&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;Or perhaps contact Segger for help with the J-Link?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forum.segger.com/index.php/Board/3-J-Link-Flasher-related"&gt;https://forum.segger.com/index.php/Board/3-J-Link-Flasher-related&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/303030?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 08:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59676cd7-aaf3-4faa-aacf-bbefd30f17ae</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m unable to reproduce the issue. I think that you might have purchased a fake J-link as &lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt; has already suggested. Do you have an extra development kit? &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/hw_debug_out.html?cp=4_2_4_5_9"&gt;The dev kits has a onboard debugger that you can use to flash other DUTs with&lt;/a&gt;. Could you try reproducing the issue with either a onboard debugger or a J-link from a&amp;nbsp;reputable distributor such as DigiKey, or Avnet?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/302317?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 08:46:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef1eae09-e6d8-4e71-8593-5fcd53c1fab6</guid><dc:creator>galilei</dc:creator><description>&lt;p&gt;any new idea?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;why stopped the debug step by step trace after 30 sec?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/302121?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 11:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:204fca7e-d063-4ce8-90e4-4ad55b7a1817</guid><dc:creator>galilei</dc:creator><description>&lt;p&gt;&lt;span&gt;I red, this firmware is the last for&amp;nbsp;J-Link ARM V8&amp;nbsp; :(&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/302113?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 10:48:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5aa6a07-68ed-470c-bdf1-54546c845d06</guid><dc:creator>awneil</dc:creator><description>[quote userid="87001" url="~/f/nordic-q-a/73234/i-can-start-to-trace-code-step-by-step-but-always-it-stops-after-30sec-in-ses/302110#302110"]I bought it on eBay[/quote]
&lt;p&gt;sadly, that gives a very high risk that it&amp;#39;s a fake.&lt;/p&gt;
&lt;p&gt;My fake came from ebay - and was even stated to be genuine.&amp;nbsp; &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;
[quote userid="87001" url="~/f/nordic-q-a/73234/i-can-start-to-trace-code-step-by-step-but-always-it-stops-after-30sec-in-ses/302110#302110"]is it&amp;nbsp;&lt;span&gt;genuine or not&lt;/span&gt;[/quote]
&lt;p&gt;I don&amp;#39;t know - you could try asking Segger ...&lt;/p&gt;
[quote userid="87001" url="~/f/nordic-q-a/73234/i-can-start-to-trace-code-step-by-step-but-always-it-stops-after-30sec-in-ses/302110#302110"]Probe/ Programmer firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46&lt;br /&gt;[/quote]
&lt;p&gt;That&amp;#39;s very old - have you tried updating it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/302110?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 10:43:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0fc9700-e21e-4f1f-adb6-e933b775078d</guid><dc:creator>galilei</dc:creator><description>&lt;p&gt;&lt;b&gt;I dont know exactly wether genuie or not I bought it on eBay as used, and&amp;nbsp; it works well until now, The SN: 440067258&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;The Segger J-Flash V6.84a LOG is:&lt;/p&gt;
&lt;p&gt;Connecting ...&lt;br /&gt; - Connecting via USB to probe/ programmer device 0&lt;br /&gt; - Probe/ Programmer firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46&lt;br /&gt; - Device &amp;quot;NRF52832_XXAA&amp;quot; selected.&lt;br /&gt; - Target interface speed: 4000 kHz (Fixed)&lt;br /&gt; - VTarget = 3.319V&lt;br /&gt; - InitTarget() start&lt;br /&gt; - InitTarget() end&lt;br /&gt; - Found SW-DP with ID 0x2BA01477&lt;br /&gt; - Unknown DP version. Assuming DPv0&lt;br /&gt; - Scanning AP map to find all available APs&lt;br /&gt; - AP[2]: Stopped AP scan as end of AP map has been reached&lt;br /&gt; - AP[0]: AHB-AP (IDR: 0x24770011)&lt;br /&gt; - AP[1]: JTAG-AP (IDR: 0x02880000)&lt;br /&gt; - Iterating through AP map to find AHB-AP to use&lt;br /&gt; - AP[0]: Core found&lt;br /&gt; - AP[0]: AHB-AP ROM base: 0xE00FF000&lt;br /&gt; - CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)&lt;br /&gt; - Found Cortex-M4 r0p1, Little endian.&lt;br /&gt; - FPUnit: 6 code (BP) slots and 2 literal slots&lt;br /&gt; - CoreSight components:&lt;br /&gt; - ROMTbl[0] @ E00FF000&lt;br /&gt; - ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7&lt;br /&gt; - ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT&lt;br /&gt; - ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB&lt;br /&gt; - ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM&lt;br /&gt; - ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU&lt;br /&gt; - ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM&lt;br /&gt; - Executing init sequence ...&lt;br /&gt; - Initialized successfully&lt;br /&gt; - Target interface speed: 4000 kHz (Fixed)&lt;br /&gt; - Found 1 JTAG device. Core ID: 0x2BA01477 (None)&lt;br /&gt; - Connected successfully&lt;/p&gt;
&lt;p&gt;&lt;b&gt;is it&amp;nbsp;&lt;span&gt;genuine or not?&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/302102?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 10:23:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27b8eaa7-e0c0-4782-b7ff-c95e3162e0a6</guid><dc:creator>galilei</dc:creator><description>&lt;p&gt;1,&amp;nbsp;Yes,&lt;/p&gt;
&lt;p&gt;the little full program above is only LED blinky program, without Softdevice. I can debugging it step by step in first about 30 sec, in Disassembly window or c++ source (main.c) window too.&lt;/p&gt;
&lt;p&gt;After 30s I cant do it, because appear an error window&lt;/p&gt;
&lt;p&gt;&amp;nbsp;in disassembly window:&amp;nbsp; &amp;nbsp; Error reported: Cannot single step&amp;nbsp;&lt;br /&gt;&amp;nbsp;in source main.c window: Error reported: Not enough hardware instructions breakpoints&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2, Yes,&lt;/p&gt;
&lt;p&gt;The same error appear after 30s if I using Softdevice or not.&lt;/p&gt;
&lt;div class="content"&gt;
&lt;p&gt;&lt;span&gt;I work with SEGGER EMBEDDED STUDIO&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;5.4 ,&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;nRF5_SDK_17.0.2&amp;nbsp; &amp;nbsp;and&amp;nbsp; s132, SD v7.2.0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My&amp;nbsp;&amp;nbsp;J-Link informaton is:&amp;nbsp;Product = SEGGER J-Link ARM V8.00&amp;nbsp; &amp;nbsp;HostFW = 2014 Nov 28 13:44&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/302099?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 10:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df7ed8f8-70f6-4f62-b2d0-2eae65298ed7</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Are you sure it is a genuine Segger J-Link ?&lt;/p&gt;
&lt;p&gt;I once had the misfortune to&amp;nbsp;get a fake - and it would do weird stuff like this.&lt;/p&gt;
&lt;p&gt;IIRC, the clue was in the Serial Number - which was something like 999999999 or 000000000 ...&lt;/p&gt;
&lt;p&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/302092?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 10:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5605e072-612d-43eb-839e-38a7143b593d</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Monitor Mode Debugging is relevant if you&amp;#39;re debugging Softdevice applications. It seems that you have issues debugging even when you&amp;#39;re not debugging applications that use the Softdevice?&amp;nbsp;&lt;/p&gt;
[quote user=""]&amp;nbsp;in disassembly window:&amp;nbsp; &amp;nbsp; Error reported: Cannot single step&amp;nbsp;&lt;br /&gt;&amp;nbsp;in source main.c window: Error reported: Not enough hardware instructions breakpoints ,[/quote]
&lt;p&gt;&amp;nbsp;Are you getting the same error code when debugging a application that doesn&amp;#39;t use the Softdevice?&amp;nbsp;What version of SEGGER EMBEDDED STUDIO are you using? Could you try to update it?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/301886?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 12:11:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e361aeb-3467-4485-8148-cb79e3984021</guid><dc:creator>galilei</dc:creator><description>&lt;p&gt;I use the&amp;nbsp;&lt;a href="https://fccid.io/2ALPH-E73/User-Manual/User-manual-3768078"&gt;nRF52832 e73-2g4m04s modul&lt;/a&gt;,&amp;nbsp;with J-link like on page 7 in this short manual.&lt;/p&gt;
&lt;p&gt;I use this modul and this J-Link&amp;nbsp; 6 month ago, I use it for read write FLASH and use RTT, it well works until now, but never use for debug .&lt;/p&gt;
&lt;p&gt;I read out the J-Link informaton:&amp;nbsp;Product = SEGGER J-Link ARM V8.00&amp;nbsp; &amp;nbsp;HostFW = 2014 Nov 28 13:44&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/301884?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 11:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7de412e-81bc-4124-b823-284191aa9f5c</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Are you using a Nordic DevKit?&lt;/p&gt;
&lt;p&gt;What J-Link are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/301882?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 11:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97f53c91-5c5b-40bd-bd2e-859403259e2a</guid><dc:creator>galilei</dc:creator><description>&lt;p&gt;Thank you for your quick answer!&lt;/p&gt;
&lt;p&gt;Before I try&amp;nbsp;the Monitor Mode Debugging, I clear all FLASH in nRF52832 with&amp;nbsp;&lt;strong&gt;nrfjprog -f NRF52 --recover&lt;/strong&gt;&amp;nbsp;command.&lt;/p&gt;
&lt;p&gt;Then I compile this simple program (without BLE !!!! ) in Debug mode and FLASH it. I can trace the program, everythying is works but only the first 30s.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;
#include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stdint.h&amp;gt;
#include &amp;quot;nrf_delay.h&amp;quot;
#include &amp;quot;boards.h&amp;quot;

int main(void)
{
    /* Configure board. */
    bsp_board_init(BSP_INIT_LEDS);

    /* Toggle LEDs. */
    while (true)
    {
        for (int i = 0; i &amp;lt; LEDS_NUMBER; i++)
        {
            bsp_board_led_invert(i);
            nrf_delay_ms(500);
        }
    }
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I think this is NOT BLE related problem, this is only SES and J-Link debug problem.&lt;/p&gt;
&lt;p&gt;But what?&lt;/p&gt;
&lt;h1 id="mcetoc_1f1kjepvk0"&gt;&lt;/h1&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can start to trace code step by step but always it stops after 30sec in SES.</title><link>https://devzone.nordicsemi.com/thread/301851?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 10:31:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34145dfc-93a3-4edc-9307-cb7bbf89e10d</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;This:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/73152/setup-a-debug-environment-on-segger-embedded-studio-using-arm-gcc-tools"&gt;devzone.nordicsemi.com/.../setup-a-debug-environment-on-segger-embedded-studio-using-arm-gcc-tools&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>