System details:
- Ubuntu Linux version 20.04.6 LTS
- nRF Connect for Desktop v4.0.1
- Toolchain Manager v1.2.2
- NCS v2.2.0
- Visual Studio Code 1.77.3
There has been a new update for nRF Terminal extension see here:
https://nrfconnect.github.io/vscode-nrf-connect/release_notes/terminal/2023.4.15.html
Since this new update, I no longer have any output in terminal.
I tried the hello world example with the NRF52840DK kit which has always worked for me. But now it no longer works.
I can connect to the DK board, but there is no output. Also no errors.
I usually select Actions - Debug
Then under Connected Devices - RTT I click on the Connect to RTT symbol (on the right).
Since this new update, it no longer works.
The release notes suggest to add a serial terminal by pressing the + in the Tab Terminal.
I tried:
nRF RTT Terminal
nRF Serial Terminal
But every time I get a prompt to manually enter all the details of the serial connection. I get no suggestions in the input text field (on the release note page it does show COM port suggestions).
I have to enter stuff like:
- Enter device
- Enter serial number
- Choose memory address
- Select port
- Enter port path
- Choose configuration
Also there is no option anymore to gracefully terminate the connection to the J-Link. I used this a lot because terminal connection tasks got hanging in the background and new terminals would no longer work if this is the case.
[15:55:07] nrfutil [682896]: s2 { id: '683245598', capabilities: { rtt: true, erase: true, recover: true }, device: { id: 11, jlink: [Object], serialNumber: '000683245598', serialPorts: [Array], traits: [Object], usb: [Object] } } [15:55:20] sh -c west flash -d /home/user/vscode/hello_world/buildNordicDK --skip-rebuild --dev-id 683245598 [15:55:35] Success. IMPORTANT: The data below could contain sensitive or confidential information about your environment. If you do not wish this to be seen by others, please make sure to remove it before sharing. For help and support, visit the Nordic DevZone at https://devzone.nordicsemi.com/. { "platform": { "os": "linux", "osVersion": "#164-Ubuntu SMP Tue Mar 21 14:23:17 UTC 2023", "osKernel": "5.4.0-147-generic", "vscode": "1.77.3", "electron": "19.1.11", "node": "v16.14.2" }, "system": { "date": "2023-05-02T14:02:57.869Z", "vscodeRoot": "/usr/share/code/resources/app", "nrfConnectForDesktopInstalled": "unknown", "vscodeUptime": "00:07:56", "osUptime": "126:00:20", "cpu": { "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz", "speed": "700 MHz", "count": 4 }, "memory": { "total": "15.40 GB", "free": "2.47 GB" } }, "workspace": { "name": "hello_world", "workspaceFile": null, "folders": [ "/home/user/vscode/hello_world" ] }, "extensions": { "internal": { "nordic-semiconductor.nrf-connect": { "version": "2023.4.179", "path": "/home/user/.vscode/extensions/nordic-semiconductor.nrf-connect-2023.4.179-linux-x64", "isActive": true }, "nordic-semiconductor.nrf-terminal": { "version": "2023.4.15", "path": "/home/user/.vscode/extensions/nordic-semiconductor.nrf-terminal-2023.4.15", "isActive": true }, "nordic-semiconductor.nrf-devicetree": { "version": "2023.4.61", "path": "/home/user/.vscode/extensions/nordic-semiconductor.nrf-devicetree-2023.4.61", "isActive": true }, "nordic-semiconductor.nrf-kconfig": { "version": "2023.4.17", "path": "/home/user/.vscode/extensions/nordic-semiconductor.nrf-kconfig-2023.4.17", "isActive": true } }, "external": { "marus25.cortex-debug": "1.10.0", "ms-vscode.cpptools": "1.15.4", "ms-vscode.js-debug": "1.77.2", "ms-vscode.js-debug-companion": "1.0.18", "ms-vscode.vscode-js-profile-table": "1.0.3", "mcu-debug.debug-tracker-vscode": "0.0.15", "mcu-debug.memory-view": "0.0.20", "mcu-debug.rtos-views": "0.0.6", "trond-snekvik.gnu-mapfiles": "1.1.0", "twxs.cmake": "0.0.17", "utsavm9.c-cpp-flag-debugging": "0.0.1" } }, "tools": { "/home/user/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc": "0.16.0", "/opt/SEGGER/JLink/JLinkExe": "6.88a", "/usr/local/bin/nrfjprog": "10.17.2", "/home/user/.local/bin/nrfutil": null, "/home/user/.local/bin/cmake": "3.24.1", "/home/user/.local/bin/west": "0.13.1", "/usr/bin/python3": "3.8.10", "/usr/bin/ninja": "1.10.0", "/usr/bin/gperf": "3.1", "/usr/bin/dtc": "1.5.0", "gn": "Not found", "/usr/bin/git": "2.25.1", "gdbPath": "/home/user/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb" }, "sdks": [ { "version": "2.1.2", "path": "/home/user/ncs2/v2.1.2" }, { "version": "2.4.99", "path": "/home/user/zephyrproject" }, { "version": "2.2.0", "path": "/home/user/ncs2/v2.2.0" } ], "toolchains": [ { "version": "2.1.2", "path": "/home/user/ncs2/toolchains/v2.1.2" }, { "version": "2.2.0", "path": "/home/user/ncs2/toolchains/v2.2.0" } ], "connectedDevices": [ { "serialNumber": "000683245598", "boardVersion": "PCA10056", "deviceFamily": "NRF52_FAMILY", "deviceVersion": "NRF52840_xxAA_REV2", "jlinkObFirmwareVersion": "J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 20 2022 16:43:31" } ], "deviceProvider": "nrfutil", "config": { "nordic-semiconductor.nrf-connect": { "topdir": "${nrf-connect.sdk:2.2.0}", "toolchain": { "path": "PATH" }, "ozonePath": "", "applications": [ "." ], "applicationOptions": {}, "kconfig": { "interface": "kconfig", "executeInDefaultShell": false }, "welcome": { "showOnStartup": true }, "west": { "env": { "$base": "terminal" } }, "boardRoots": [], "enableTelemetry": true, "taskBindings": {}, "debugging": { "backend": "nRF Debug", "flash": true, "bindings": {} }, "activeAppFollowActiveEditor": true, "deviceProvider": "nrfutil" }, "nordic-semiconductor.nrf-terminal": { "terminalMode": "character" }, "marus25.cortex-debug": { "armToolchainPath": "/home/user/zephyr-sdk-0.14.2/arm-zephyr-eabi/bin", "armToolchainPrefix": "arm-zephyr-eabi", "gdbPath": null, "objdumpPath": null, "JLinkGDBServerPath": "/opt/SEGGER/JLink/JLinkGDBServerCLExe", "openocdPath": null, "pyocdPath": null, "PEGDBServerPath": null, "stutilPath": null, "stlinkPath": null, "stm32cubeprogrammer": null, "enableTelemetry": true, "registerUseNaturalFormat": true, "variableUseNaturalFormat": true, "dbgServerLogfile": null, "showDevDebugOutput": "none" } }, "environment": { "westExe": "west", "westEnv": { "ELECTRON_RUN_AS_NODE": "1", "HOME": "/home/user", "PATH": "/home/user/zephyr-sdk-0.16.0/arm-zephyr-eabi/bin:/tmp/.mount_nrfcon6rDHiE:/tmp/.mount_nrfcon6rDHiE/usr/sbin:/home/user/.local/bin:/home/user/.local/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "ZEPHYR_BASE": "/home/user/ncs2/v2.2.0/zephyr", "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr", "USER": "user" }, "inherited": { "ELECTRON_RUN_AS_NODE": "1", "HOME": "/home/user", "PATH": "/tmp/.mount_nrfcon6rDHiE:/tmp/.mount_nrfcon6rDHiE/usr/sbin:/home/user/.local/bin:/home/user/.local/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "ZEPHYR_BASE": "/home/user/ncs2/v2.2.0/zephyr/", "USER": "user" }, "toolchainPath": "PATH" }, "terminal": { "shell": null, "defaultProfile": null } }