Skip to content

Commit

Permalink
boards: arm: mimxrt1040_evk: document M.2 WiFi module debugging issue
Browse files Browse the repository at this point in the history
Document issue with M.2 WiFi module, where debug connection fails using
external debugger. Current workaround is to remove J80 jumper when using
onboard debugger, or remove M.2 module entirely.

Signed-off-by: Daniel DeGrasse <[email protected]>
  • Loading branch information
danieldegrasse authored and carlescufi committed Jun 23, 2023
1 parent e802779 commit 8620efe
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion boards/arm/mimxrt1040_evk/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,11 @@ should see the following message in the terminal:
Troubleshooting
===============

Boot Header
-----------

If the debug probe fails to connect with the following error, it's possible
that the boot header in HyperFlash is invalid or corrupted. The boot header is
that the boot header in QSPI is invalid or corrupted. The boot header is
configured by :kconfig:option:`CONFIG_NXP_IMX_RT_BOOT_HEADER`.

.. code-block:: console
Expand All @@ -302,6 +305,27 @@ steps:

#. Reset by pressing SW1


WiFi Module
-----------

If the debugger fails to connect with the following error, it's possible
the M.2 WiFi module is interfering with the debug signals

.. code-block:: console
Remote debugging using :2331
Remote communication error. Target disconnected.: Connection reset by peer.
"monitor" command not supported by this target.
"monitor" command not supported by this target.
You can't do that when your target is `exec'
(gdb) Could not connect to target.
Please check power, connection and settings.
To resolve this, you may remove the M.2 WiFi module from the board when
flashing or debugging it, or remove jumper J80.


.. _MIMXRT1040-EVK Website:
https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-rt1040-evaluation-kit:MIMXRT1040-EVK

Expand Down

0 comments on commit 8620efe

Please sign in to comment.