This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NCS: How to reconnect the NRF Terminal?

Dear NCS experts,

The development system is running:

  • Ubuntu 21.10
  • nRF Connect SDK (btw., where's can the installed version be seen?)
  • VS code (1.62.1 - in portable mode, that is with it's own, isolated set of plugins installed)
  • nRF Connect Extension Pack v2021.9.1
  • SEGGER J-Link V7.56d

Hardware is based on a nRF52832 (connected through a nRF52840DK).

Now, after building and flashing the firmware application, NCS TERMINAL is able to connect. However, only once.
Building and flashing the firmware application for a second time followed by resetting the device causes NRF TERMINAL to become unresponsive! I.e. none of the log messages printed by the firmware will show up.

The first attempt to fix this was by killing the (two) JLinkExe processes. This however had no effect, and pushing the "Connect to RTT In nRF Terminal" button (under "CONNECTED DEVICES") keeps NRF TERMINAL disconnected...
However, after restarting VS Code, NRF TERMINAL is able to connect again. But again, only once. So the way that looks, it's a bug at the NRF TERMINAL. Question is, do you have any ideas how to fix this?

I don't know if this is relevant, but...
At the nRF Connect Sidebar -> ACTIONS, when pushing either the "Flash" or "Erase and flash" buttons, a notification shows up (popup at bottom right corner) telling you "Programming: Applying system reset". However, the device is not resetted. The way it looks, the device is halted at a breakpoint, and to start the firmware application on the device, the "Reset Board" button (under CONNECTED DEVICES) must be pushed.
No idea if the halting after flashing/resetting is intended, but it looks like a bug. If it is, it could be related to NRF TERMINAL quietly ignoring any attempts to re-connect.

Any ideas how to fix this are welcome,
Thank you.

Parents Reply Children
No Data
Related