<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic failed to excute MI command  -data--disassemble -s  -e in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/failed-to-excute-MI-command-data-disassemble-s-e/m-p/1846670#M9673</link>
    <description>&lt;P&gt;when running led_blinky example on N947, I use step over to debug, and came cross this bug:&lt;/P&gt;&lt;P&gt;00002cb0: Failed to execute MI command:&lt;BR /&gt;-data-disassemble -s 11440 -e 11488 -- 3&lt;BR /&gt;Error message from debugger back end:&lt;BR /&gt;Cannot access memory at address 0x2cb0&lt;/P&gt;&lt;P&gt;and the debug session won't go on.&lt;/P&gt;&lt;P&gt;this happens in this part:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;EM&gt;while (1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/* Delay 1000 ms */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SysTick_DelayTicks(1000U);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GPIO_PortToggle(BOARD_LED_GPIO, 1u &amp;lt;&amp;lt; BOARD_LED_GPIO_PIN);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 15 Apr 2024 03:14:19 GMT</pubDate>
    <dc:creator>xin_ma</dc:creator>
    <dc:date>2024-04-15T03:14:19Z</dc:date>
    <item>
      <title>failed to excute MI command  -data--disassemble -s  -e</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/failed-to-excute-MI-command-data-disassemble-s-e/m-p/1846670#M9673</link>
      <description>&lt;P&gt;when running led_blinky example on N947, I use step over to debug, and came cross this bug:&lt;/P&gt;&lt;P&gt;00002cb0: Failed to execute MI command:&lt;BR /&gt;-data-disassemble -s 11440 -e 11488 -- 3&lt;BR /&gt;Error message from debugger back end:&lt;BR /&gt;Cannot access memory at address 0x2cb0&lt;/P&gt;&lt;P&gt;and the debug session won't go on.&lt;/P&gt;&lt;P&gt;this happens in this part:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;EM&gt;while (1)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/* Delay 1000 ms */&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SysTick_DelayTicks(1000U);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GPIO_PortToggle(BOARD_LED_GPIO, 1u &amp;lt;&amp;lt; BOARD_LED_GPIO_PIN);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Apr 2024 03:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/failed-to-excute-MI-command-data-disassemble-s-e/m-p/1846670#M9673</guid>
      <dc:creator>xin_ma</dc:creator>
      <dc:date>2024-04-15T03:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: failed to excute MI command  -data--disassemble -s  -e</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/failed-to-excute-MI-command-data-disassemble-s-e/m-p/1846900#M9674</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232054"&gt;@xin_ma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not repeating the problem you mentioned, I am using the latest version of SDK2.14.0 and MXUXpresso IDE 11.9.0. I see that the latest version of led_blinky is the LED that is triggered in an interrupt, but this error should not occur if placed in while, I suggest re-importing the project and trying again. Here is my code reference:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;#include "pin_mux.h"
#include "peripherals.h"
#include "board.h"

/*******************************************************************************
 * Definitions
 ******************************************************************************/
#define BOARD_LED_GPIO     BOARD_LED_RED_GPIO
#define BOARD_LED_GPIO_PIN BOARD_LED_RED_GPIO_PIN

/*******************************************************************************
 * Prototypes
 ******************************************************************************/

/*******************************************************************************
 * Variables
 ******************************************************************************/

/*******************************************************************************
 * Code
 ******************************************************************************/
void SysTick_Handler(void)
{
    /* Toggle pin connected to LED */
    //GPIO_PortToggle(BOARD_LED_GPIO, 1u &amp;lt;&amp;lt; BOARD_LED_GPIO_PIN);
}


void SysTick_DelayTicks( __IO uint32_t ms)
{
  uint32_t i;
  SysTick_Config(12000000/1000);

  for(i=0;i&amp;lt;ms;i++)
  {
    while( !((SysTick-&amp;gt;CTRL)&amp;amp;(1&amp;lt;&amp;lt;16)) );
  }
  SysTick-&amp;gt;CTRL &amp;amp;=~ SysTick_CTRL_ENABLE_Msk;
}

/*!
 * @brief Main function
 */
int main(void)
{
    /* Board pin init */
    CLOCK_EnableClock(kCLOCK_Gpio0);
    BOARD_InitPins();
    BOARD_BootClockFRO12M();
    /* Initialize the systick module. */
    //SysTick_Config(12000000UL);
    LED_RED_INIT(LOGIC_LED_OFF);

    while (1)
    {
    	SysTick_DelayTicks(1000);
    	GPIO_PortToggle(BOARD_LED_GPIO, 1u &amp;lt;&amp;lt; BOARD_LED_GPIO_PIN);
    }
}
&lt;/LI-CODE&gt;
&lt;P&gt;Hope this helps you.&lt;/P&gt;
&lt;P&gt;Best regards, Alex&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 07:59:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/failed-to-excute-MI-command-data-disassemble-s-e/m-p/1846900#M9674</guid>
      <dc:creator>Alex_Wang</dc:creator>
      <dc:date>2024-04-15T07:59:32Z</dc:date>
    </item>
  </channel>
</rss>

