<?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>Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72090/strange-debug-behaviour-in-ses</link><description>Hi, 
 I messed up my SES project and now the debugging session doesn&amp;#180;t start and the debugger does some weird stuff and doesn&amp;#180;t execute my application. 
 
 I also tested if the error does exist in the example projects from Nordic and the problem doesn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Feb 2021 19:58:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72090/strange-debug-behaviour-in-ses" /><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296656?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 19:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb51a3f6-ef61-4d9d-a29b-ea32ee546af1</guid><dc:creator>Kampino</dc:creator><description>&lt;p&gt;Thank you. I wonder because I removed the BLE code a few weeks ago and now I have the problems. Strange, but it seems that the error is gone now. I will test it a few more times.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296655?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 19:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4282cd0-1319-4650-b165-9f2a32d5e064</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks. So the Softdevice must be present with your current linker configuration. The start address must be changed to &amp;#39;0&amp;#39; if you want the application to run without the Softdevice.&lt;/p&gt;
&lt;p&gt;Note that you can use the Programmer app in nRF connect for desktop to see the memory laout.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296653?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 19:42:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92e2e83e-a3d3-4e75-8640-8513da405baa</guid><dc:creator>Kampino</dc:creator><description>&lt;p&gt;Yes. Please take a look at my project settings:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;!DOCTYPE CrossStudio_Project_File&amp;gt;
&amp;lt;solution Name=&amp;quot;Application&amp;quot; target=&amp;quot;8&amp;quot; version=&amp;quot;2&amp;quot;&amp;gt;
  &amp;lt;project Name=&amp;quot;Application&amp;quot;&amp;gt;
    &amp;lt;configuration
      Name=&amp;quot;Common&amp;quot;
      arm_architecture=&amp;quot;v7EM&amp;quot;
      arm_core_type=&amp;quot;Cortex-M4&amp;quot;
      arm_endian=&amp;quot;Little&amp;quot;
      arm_fp_abi=&amp;quot;Hard&amp;quot;
      arm_fpu_type=&amp;quot;FPv4-SP-D16&amp;quot;
      arm_linker_heap_size=&amp;quot;0&amp;quot;
      arm_linker_stack_size=&amp;quot;8192&amp;quot;
      arm_simulator_memory_simulation_parameter=&amp;quot;RX 00000000,00040000,FFFFFFFF;RWX 20000000,00008000,CDCDCDCD&amp;quot;
      arm_target_device_name=&amp;quot;nRF52832_xxAB&amp;quot;
      arm_target_interface_type=&amp;quot;SWD&amp;quot;
      c_preprocessor_definitions=&amp;quot;APP_TIMER_V2;APP_TIMER_V2_RTC1_ENABLED;BL_SETTINGS_ACCESS_ONLY;FLOAT_ABI_HARD;INITIALIZE_USER_SECTIONS;MBEDTLS_CONFIG_FILE=&amp;quot;nrf_crypto_mbedtls_config.h&amp;quot;;NO_VTOR_CONFIG;NRF52 ;NRF52832_XXAA;NRF52_PAN_74;CONFIG_NFCT_PINS_AS_GPIOS&amp;quot;
      c_user_include_directories=&amp;quot;../nordic/components;../nordic/components/boards;../nordic/components/libraries/atomic;../nordic/components/libraries/atomic_fifo;../nordic/components/libraries/atomic_flags;../nordic/components/libraries/balloc;../nordic/components/libraries/bsp;../nordic/components/libraries/button;../nordic/components/libraries/cli;../nordic/components/libraries/cli/uart;../nordic/components/libraries/crc16;../nordic/components/libraries/crc32;../nordic/components/libraries/crypto;../nordic/components/libraries/crypto/backend/cc310;../nordic/components/libraries/crypto/backend/cc310_bl;../nordic/components/libraries/crypto/backend/cifra;../nordic/components/libraries/crypto/backend/mbedtls;../nordic/components/libraries/crypto/backend/micro_ecc;../nordic/components/libraries/crypto/backend/nrf_hw;../nordic/components/libraries/crypto/backend/nrf_sw;../nordic/components/libraries/crypto/backend/oberon;../nordic/components/libraries/crypto/backend/optiga;../nordic/components/libraries/csense;../nordic/components/libraries/csense_drv;../nordic/components/libraries/delay;../nordic/components/libraries/ecc;../nordic/components/libraries/experimental_section_vars;../nordic/components/libraries/experimental_task_manager;../nordic/components/libraries/fds;../nordic/components/libraries/fifo;../nordic/components/libraries/fstorage;../nordic/components/libraries/gfx;../nordic/components/libraries/gpiote;../nordic/components/libraries/hardfault;../nordic/components/libraries/hardfault/nrf52;../nordic/components/libraries/hci;../nordic/components/libraries/led_softblink;../nordic/components/libraries/log;../nordic/components/libraries/log/src;../nordic/components/libraries/low_power_pwm;../nordic/components/libraries/mem_manager;../nordic/components/libraries/memobj;../nordic/components/libraries/mpu;../nordic/components/libraries/mutex;../nordic/components/libraries/pwr_mgmt;../nordic/components/libraries/queue;../nordic/components/libraries/ringbuf;../nordic/components/libraries/scheduler;../nordic/components/libraries/slip;../nordic/components/libraries/sortlist;../nordic/components/libraries/spi_mngr;../nordic/components/libraries/stack_guard;../nordic/components/libraries/stack_info;../nordic/components/libraries/strerror;../nordic/components/libraries/timer;../nordic/components/libraries/twi_mngr;../nordic/components/libraries/uart;../nordic/components/libraries/util;../nordic/components/libraries/bootloader;../nordic/components/libraries/bootloader/dfu;../nordic/components/toolchain/cmsis/include;../nordic/components/softdevice/common;../nordic/components/softdevice/s132/headers;../nordic/components/softdevice/s132/headers/nrf52;../../..;../nordic/external/cifra_AES128-EAX;../nordic/external/fnmatch;../nordic/external/fprintf;../nordic/external/mbedtls/include;../nordic/external/micro-ecc/micro-ecc;../nordic/external/nrf_cc310/include;../nordic/external/nrf_oberon;../nordic/external/nrf_oberon/include;../nordic/external/nrf_tls/mbedtls/nrf_crypto/config;../nordic/external/protothreads;../nordic/external/protothreads/pt-1.4;../nordic/external/thedotfactory_fonts;../nordic/external/segger_rtt;../nordic/integration/nrfx;../nordic/integration/nrfx/legacy;../nordic/modules/nrfx;../nordic/modules/nrfx/drivers/include;../nordic/modules/nrfx/hal;../nordic/modules/nrfx/mdk;../nordic/components/libraries/bootloader/ble_dfu;../nordic/components/libraries/svc;../config;config;../external;../external/tracker-app;../external/tracker-gpio;../external/tracker-misc;../external/tracker-peripherals;../external/tracker-peripherals/MicroCrystal/RV3028;../external/tracker-peripherals/Bosch/BMI270;../external/tracker-peripherals/Cypress/S25FL064L;../external/tracker-peripherals/TexasInstruments/BQ2022A&amp;quot;
      debug_register_definition_file=&amp;quot;../nordic/modules/nrfx/mdk/nrf52.svd&amp;quot;
      debug_start_from_entry_point_symbol=&amp;quot;No&amp;quot;
      debug_target_connection=&amp;quot;J-Link&amp;quot;
      gcc_debugging_level=&amp;quot;Level 3&amp;quot;
      gcc_entry_point=&amp;quot;Reset_Handler&amp;quot;
      linker_output_format=&amp;quot;hex&amp;quot;
      linker_printf_fmt_level=&amp;quot;long&amp;quot;
      linker_printf_width_precision_supported=&amp;quot;Yes&amp;quot;
      linker_scanf_fmt_level=&amp;quot;long&amp;quot;
      linker_section_placement_file=&amp;quot;flash_placement.xml&amp;quot;
      linker_section_placement_macros=&amp;quot;FLASH_PH_START=0x0;FLASH_PH_SIZE=0x40000;FLASH_START=0x26000;FLASH_SIZE=0x1a000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x8000;RAM_START=0x20002bd0;RAM_SIZE=0x5430&amp;quot;
      linker_section_placements_segments=&amp;quot;FLASH RX 0x0 0x40000;RAM1 RWX 0x20000000 0x800&amp;quot;
      project_directory=&amp;quot;&amp;quot; /&amp;gt;
    &amp;lt;configuration
      Name=&amp;quot;Debug&amp;quot;
      arm_architecture=&amp;quot;v7EM&amp;quot;
      arm_core_type=&amp;quot;Cortex-M4&amp;quot;
      arm_endian=&amp;quot;Little&amp;quot;
      arm_fpu_type=&amp;quot;FPv4-SP-D16&amp;quot;
      arm_simulator_memory_simulation_parameter=&amp;quot;RX 00000000,00080000,FFFFFFFF;RWX 20000000,00010000,CDCDCDCD&amp;quot;
      c_preprocessor_definitions=&amp;quot;DEBUG&amp;quot; /&amp;gt;
  &amp;lt;/project&amp;gt;
  &amp;lt;configuration
    Name=&amp;quot;Release&amp;quot;
    c_preprocessor_definitions=&amp;quot;NDEBUG&amp;quot;
    gcc_optimization_level=&amp;quot;Optimize For Size&amp;quot;
    link_time_optimization=&amp;quot;No&amp;quot; /&amp;gt;
  &amp;lt;configuration
    Name=&amp;quot;Debug&amp;quot;
    build_output_directory=&amp;quot;../build/$(Configuration)/$(ProjectName)&amp;quot;
    c_preprocessor_definitions=&amp;quot;DEBUG; DEBUG_NRF&amp;quot;
    gcc_optimization_level=&amp;quot;None&amp;quot; /&amp;gt;
&amp;lt;/solution&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296651?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 19:38:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dda293a-dc03-486f-b0ae-e167c6eaae04</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Sure you posted the correct image? It appears identical to the one I posted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296650?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 19:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35ebec27-653d-4a5d-a405-20ad733fd5ff</guid><dc:creator>Kampino</dc:creator><description>&lt;p&gt;Please take a look at the following settings:&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1614368201429v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296649?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 19:31:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5eeae424-c6b0-43f1-84e5-69720cef506f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You can check the FLASH_START address your linker settings.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1614368199850v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296646?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 19:29:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:092a4bc5-49f9-4d7a-b6f4-67007bac2630</guid><dc:creator>Kampino</dc:creator><description>&lt;p&gt;How can I check this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296645?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 19:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92b30104-a157-4b77-b77a-17047e60a991</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure what could have caused the hardfault then. Does your application start at address 0x0 in flash? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296644?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 19:20:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3743b9ee-ce59-4bd7-994c-649ab4aec18d</guid><dc:creator>Kampino</dc:creator><description>&lt;p&gt;No, I&amp;acute;m not using the Softdevice&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1614367232549v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296643?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 19:16:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bce3290-413a-4bfc-b10b-43204b0c9102</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Does your application use the Softdevice? It looks like it was not programmed in that case. Note that you can configure the SES project to load the Softdevice binary along with the application by pointing to the correct Softdevice as show by the image below.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1614367318306v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296641?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 18:57:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c54c9cf4-2850-4f59-9974-86d6a1bbdaa9</guid><dc:creator>Kampino</dc:creator><description>&lt;p&gt;Edit: &amp;lt;The error is not gone&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296636?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 18:34:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d94a834-4796-4b79-8c7c-8ee33c446205</guid><dc:creator>Kampino</dc:creator><description>&lt;p&gt;Hello, I run &amp;quot;Target&amp;quot; -&amp;gt; &amp;quot;Erase all&amp;quot; and start a new debug session and this happens:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8764.Error.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Strange debug behaviour in SES</title><link>https://devzone.nordicsemi.com/thread/296515?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 11:54:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a810e0f-7a96-435f-bb55-2f7a7dc3ad3f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To see if it fixes the problem, please try to do a full chip erase, then re-program the applicaiton FW. From the screenshots it looks like the program is stuck at the beginning of flash, and probably not reaching your main() function.&lt;/p&gt;
&lt;p&gt;Best regads,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>