Skip to content

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

@trunifom

Description

@trunifom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions