Skip to content

RTT-Session not closed after terminate the script (CTRL-Z in terminal) #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
trunifom opened this issue Jul 26, 2021 · 0 comments
Open

Comments

@trunifom
Copy link

Session not closed correctly. After termiante / stop the script in the terminal it is not possible to open RTT-viewer again.

The following error occurs:
/pyrtt-viewer$ python3 pyrtt-viewer
Connected devices:
0: 801011524

Select a device number or quit (q): 0
Traceback (most recent call last):
File "pyrtt-viewer", line 185, in
main()
File "pyrtt-viewer", line 171, in main
nrf = connect(args.segger_id)
File "pyrtt-viewer", line 73, in connect
nrf.connect_to_emu_with_snr(snr, jlink_khz)
File "/home/user/.local/lib/python3.8/site-packages/pynrfjprog/LowLevel.py", line 243, in connect_to_emu_with_snr
raise APIError(result)
pynrfjprog.APIError.APIError: An error was reported by NRFJPROG DLL: -102 JLINKARM_DLL_ERROR.

@trunifom trunifom changed the title RTT-Session not closed after exit the script (CTRL-Z in terminal) RTT-Session not closed after terminate the script (CTRL-Z in terminal) Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant