You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2018/11/27 02:06:01 UTC

[mynewt-documentation] 01/01: Update troubleshoot_faq.rst

This is an automated email from the ASF dual-hosted git repository.

aditi pushed a commit to branch aditihilbert-patch-1
in repository https://gitbox.apache.org/repos/asf/mynewt-documentation.git

commit 6cd4801d7d78fc82ec6f347c26ad09a16aba8341
Author: aditihilbert <ad...@runtime.io>
AuthorDate: Mon Nov 26 18:05:56 2018 -0800

    Update troubleshoot_faq.rst
---
 docs/mynewt_faq/troubleshoot_faq.rst | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/docs/mynewt_faq/troubleshoot_faq.rst b/docs/mynewt_faq/troubleshoot_faq.rst
index 27bbd9d..05f4c0e 100644
--- a/docs/mynewt_faq/troubleshoot_faq.rst
+++ b/docs/mynewt_faq/troubleshoot_faq.rst
@@ -1,10 +1,21 @@
-Mynewt FAQ - Troubleshooting
-============================
+Mynewt FAQ - Troubleshooting/Debugging
+======================================
 
 .. contents::
   :local:
   :depth: 1
 
+Concurrent debug sessions with two boards
+-----------------------------------------
+
+**Q**: Can I run concurrent GDB connections to multiple devices? Is the GDB port hardcoded?
+
+Yes, starting with release 1.5 Mynewt allows "newt debug" to have a session with JLink as well as openocd simultaneously open. And no, the GDB port is not hardcoded. You can specify it with the -port option. For example:
+
+.. code-block:: console
+ 
+    newt debug slinky_nrf52 --extrajtagcmd "-port 5431 -select usb=682148664"
+
 Error: Unsatisfied APIs detected
 --------------------------------