Lines Matching +full:serial +full:- +full:port

5 Nordic nRF5x Segger J-Link
14 * Segger J-Link firmware and desktop tools
16 * Mass Storage device for drag-and-drop image flashing
17 * USB CDC ACM Serial Port bridged to the nRF5x UART peripheral
21 Segger J-Link Software Installation
24 To install the J-Link Software and documentation pack, follow the steps below:
26 #. Download the appropriate package from the `J-Link Software and documentation pack`_ website
28 #. When connecting a J-Link-enabled board such as an nRF5x DK, PDK or dongle, a
29 drive corresponding to a USB Mass Storage device as well as a serial port should come up
31 nRF5x Command-Line Tools Installation
34 The nRF5x command-line Tools allow you to control your nRF5x device from the command line,
37 To install them, visit `nRF5x Command-Line Tools`_ and select your operating
49 to install the Segger J-Link Software and the nRF5x Command-Line Tools, follow the steps below:
51 * Connect the micro-USB cable to the nRF5x board and to your computer
54 .. code-block:: console
56 nrfjprog --eraseall -f nrf5<x>
58 Where ``<x>`` is either 1 for nRF51-based boards or 2 for nRF52-based boards
62 .. code-block:: console
64 nrfjprog --program outdir/<board>/zephyr.hex -f nrf5<x>
67 and ``<x>`` is either 1 for nRF51-based boards or 2 for nRF52-based boards
71 .. code-block:: console
73 nrfjprog --reset -f nrf5<x>
75 Where ``<x>`` is either 1 for nRF51-based boards or 2 for nRF52-based boards
77 USB CDC ACM Serial Port Setup
80 **Important note**: An issue with Segger J-Link firmware on the nRF5x boards might cause
81 data loss and/or corruption on the USB CDC ACM Serial Port on some machines.
87 The serial port will appear as ``COMxx``. Simply check the "Ports (COM & LPT)" section
93 The serial port will appear as ``/dev/ttyACMx``. By default the port is not accessible to all users.
94 Type the command below to add your user to the dialout group to give it access to the serial port.
95 Note that re-login is required for this to take effect.
97 .. code-block:: bash
99 sudo usermod -a -G dialout `whoami`
101 Recent versions of `ModemManager send AT commands to TTY-like devices`_; this
102 includes Nordic development kits. This will prevent you from using the serial
103 port for a few seconds, and can make your application misbehave if it reads
107 .. code-block:: bash
115 .. code-block:: bash
117 sudo sh -c 'echo "ATTRS{idVendor}==\"1366\", ENV{ID_MM_DEVICE_IGNORE}=\"1\" " \
118 >> /etc/udev/rules.d/99-segger-modemmanager-blacklist.rules'
126 The serial port will appear as ``/dev/tty.usbmodemXXXX``.
133 Due to a known issue in Segger's J-Link firmware, depending on your operating system
135 ACM Serial Port with packets larger than 64 bytes.
145 .. code-block:: bat
150 not appear anymore and you should now be able to send long packets over the virtual Serial Port.
156 Segger's J-Link supports `Real-Time Tracing (RTT)`_, a technology that allows a terminal
163 .. code-block:: cfg
171 supports SEGGER J-Link RTT. This symbol is set automatically by the SoC
181 .. code-block:: cfg
191 * Open the "J-Link RTT Viewer" application
208 * RTT Control Block address: auto-detection
215 A Python RTT viewer tool can be found in the `pyrtt-viewer`_ GitHub repository.
220 Segger J-Link is compatible with `Segger Ozone`_, a visual debugger that can be obtained here:
231 Once configured, you can then use the File->Open menu to open the ``zephyr.elf``
237 .. target-notes::
239 .. _nRF5x Command-Line Tools: https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-C…
241 .. _Segger SAM3U Wiki: https://wiki.segger.com/index.php?title=J-Link-OB_SAM3U
242 .. _Real-Time Tracing (RTT): https://www.segger.com/jlink-rtt.html
243 .. _pyrtt-viewer: https://github.com/thomasstenersen/pyrtt-viewer
247 .. _ModemManager send AT commands to TTY-like devices: https://bugs.freedesktop.org/show_bug.cgi?id…
250 .. _J-Link Software and documentation pack: https://www.segger.com/jlink-software.html