Advertisement

MCUXpresso IDE MQX RTOS
Debug Guide
Rev. 11.7.0 — 12 January, 2023
User guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MCUXpresso IDE MQX RTOS and is the answer not in the manual?

Questions and answers

Summary of Contents for NXP Semiconductors MCUXpresso IDE MQX RTOS

  • Page 1 MCUXpresso IDE MQX RTOS Debug Guide Rev. 11.7.0 — 12 January, 2023 User guide...
  • Page 2 MCUXpresso IDE MQX RTOS Debug Guide 12 January, 2023 Copyright © 2023 NXP Semiconductors All rights reserved. MCUXpresso IDE MQX RTOS Debug Guide - All information provided in this document is subject to legal disclaimers © 2023 NXP Semiconductors. All rights reserved. User Guide...
  • Page 3: Table Of Contents

    3.1. PEmicro Probes ....................9 3.2. SEGGER J-Link Probes ..................9 4. Legal information ......................10 MCUXpresso IDE MQX RTOS Debug Guide - All information provided in this document is subject to legal disclaimers © 2023 NXP Semiconductors. All rights reserved.
  • Page 4: Introduction

    MQX RTOS. For more information on MQX RTOS please visit homepage. MCUXpresso IDE MQX RTOS Debug Guide - All information provided in this document is subject to legal disclaimers © 2023 NXP Semiconductors. All rights reserved.
  • Page 5: Linkserver Mqx Rtos Thread Aware Debugging

    Note: If Non-Stop debug mode is used, only the current thread will be seen in the Debug view, as shown in the screenshot below: MCUXpresso IDE MQX RTOS Debug Guide - All information provided in this document is subject to legal disclaimers ©...
  • Page 6: Behavior When Thread Aware Debugging

    In the below example, the MCU is halted in Thread #2, but a backtrace for Thread #9 is also opened up (and backtrace information for the other threads is also available): MCUXpresso IDE MQX RTOS Debug Guide - All information provided in this document is subject to legal disclaimers ©...
  • Page 7: Required Source Code Changes

    ELF. The assumptions the stub makes are listed in the “Debug Messages” console, as seen in the screenshot below. MCUXpresso IDE MQX RTOS Debug Guide - All information provided in this document is subject to legal disclaimers ©...
  • Page 8: Modify Mqx.c

    – more details in the section below. 2.2.1 Modify mqx.c As described above, MCUXpresso IDE MQX RTOS thread aware debug might need the definition of an extra data structure. It must be added inside source file. The newly _mqx_debug_config mqx.c...
  • Page 9: Debugger Messages

    LinkServer MQX RTOS Thread Aware Debugging is active is recorded in the “Debug Messages” log inside the IDE’s Console view: GDB nonstop mode disabled (using allstop mode) MCUXpresso IDE MQX RTOS Debug Guide - All information provided in this document is subject to legal disclaimers © 2023 NXP Semiconductors. All rights reserved.
  • Page 10: Switching Between All-Stop And Non-Stop Debug Modes

    • Tick / Untick the " Non-Stop mode" option, as required. • Click on Apply to save, then Continue MCUXpresso IDE MQX RTOS Debug Guide - All information provided in this document is subject to legal disclaimers © 2023 NXP Semiconductors. All rights reserved.
  • Page 11 MCUXpresso IDE MQX RTOS Debug Guide Any further debug sessions of your project will now use the newly selected debug mode. MCUXpresso IDE MQX RTOS Debug Guide - All information provided in this document is subject to legal disclaimers © 2023 NXP Semiconductors. All rights reserved.
  • Page 12: Thread Aware Debugging With Other Debug Probes

    3.2 SEGGER J-Link Probes MQX RTOS thread aware debugging with SEGGER J-Link debug probes is not yet supported. MCUXpresso IDE MQX RTOS Debug Guide - All information provided in this document is subject to legal disclaimers © 2023 NXP Semiconductors. All rights reserved.
  • Page 13: Legal Information

    How To Reach Us: Home Page: https://www.nxp.com Web Support: https://www.nxp.com/support MCUXpresso IDE MQX RTOS Debug Guide - All information provided in this document is subject to legal disclaimers © 2023 NXP Semiconductors. All rights reserved. User Guide Rev. 11.7.0 — 12 January, 2023...

Table of Contents