Hello,
I can you please post the output you got when you ran the 'nrf_sniffer_ble.bat --extcap-interfaces' command at step 3 b in Installing the nRF Sniffer capture tool?
OK, I see you are getting a permission error when it tries to open COM8 (10-Jan-2023 12:48:38 (+0100) ERROR: Error opening UART could not open port 'COM8': PermissionError(13, 'Acceso denegado.', None, 5)). Any chance this port may be kept open by another program like a serial terminal emulator?
Apparently not, I don't have any serial port terminal opened
OK, can you clear the log and check if you get the same permission error after a reboot of your PC?
1673363398.5505974
10-Jan-2023 16:09:58 (+0100) INFO: --------------------------------------------------------
10-Jan-2023 16:09:58 (+0100) INFO: Software version: 4.1.0
10-Jan-2023 16:09:58 (+0100) INFO: --------------------------------------------------------
10-Jan-2023 16:09:58 (+0100) INFO: Software version: 4.1.1
10-Jan-2023 16:09:58 (+0100) INFO: Started PID 11356
10-Jan-2023 16:09:58 (+0100) INFO: Namespace(capture=False, extcap_interfaces=True, extcap_interface=None, extcap_dlts=False, extcap_config=False, extcap_capture_filter=None, fifo=None, extcap_control_in=None, extcap_control_out=None, extcap_version='4.0', device='', baudrate=None, only_advertising=False, only_legacy_advertising=False, scan_follow_rsp=False, scan_follow_aux=False, coded=False)
10-Jan-2023 16:09:58 (+0100) INFO: Opening serial port COM8
10-Jan-2023 16:09:58 (+0100) INFO: Started PID 11200
10-Jan-2023 16:09:58 (+0100) INFO: Namespace(capture=False, extcap_interfaces=True, extcap_interface=None, extcap_dlts=False, extcap_config=False, extcap_capture_filter=None, fifo=None, extcap_control_in=None, extcap_control_out=None, extcap_version='4.0', device='', baudrate=None, only_advertising=False, only_legacy_advertising=False, scan_follow_rsp=False, scan_follow_aux=False, coded=False)
10-Jan-2023 16:09:58 (+0100) INFO: Opening serial port COM8
10-Jan-2023 16:09:58 (+0100) ERROR: Error opening UART could not open port 'COM8': PermissionError(13, 'Acceso denegado.', None, 5)
Traceback (most recent call last):
File "C:\Program Files\Wireshark\extcap\SnifferAPI\Packet.py", line 74, in __init__
self.uart = UART.Uart(portnum, baudrate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Wireshark\extcap\SnifferAPI\UART.py", line 124, in __init__
self.ser = serial.Serial(
^^^^^^^^^^^^^^
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialwin32.py", line 33, in __init__
super(Serial, self).__init__(*args, **kwargs)
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialutil.py", line 244, in __init__
self.open()
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialwin32.py", line 64, in open
raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM8': PermissionError(13, 'Acceso denegado.', None, 5)
10-Jan-2023 16:09:58 (+0100) INFO: Opening serial port None
10-Jan-2023 16:09:58 (+0100) INFO: Opening serial port COM8
10-Jan-2023 16:09:58 (+0100) ERROR: Error opening UART could not open port 'COM8': PermissionError(13, 'Acceso denegado.', None, 5)
Traceback (most recent call last):
File "C:\Program Files\Wireshark\extcap\SnifferAPI\Packet.py", line 74, in __init__
self.uart = UART.Uart(portnum, baudrate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Wireshark\extcap\SnifferAPI\UART.py", line 124, in __init__
self.ser = serial.Serial(
^^^^^^^^^^^^^^
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialwin32.py", line 33, in __init__
super(Serial, self).__init__(*args, **kwargs)
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialutil.py", line 244, in __init__
self.open()
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialwin32.py", line 64, in open
raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM8': PermissionError(13, 'Acceso denegado.', None, 5)
10-Jan-2023 16:09:58 (+0100) INFO: Opening serial port None
10-Jan-2023 16:09:58 (+0100) INFO: Opening serial port COM1
10-Jan-2023 16:09:58 (+0100) ERROR: Error opening UART Cannot configure port, something went wrong. Original message: OSError(22, 'El par�metro no es correcto.', None, 87)
Traceback (most recent call last):
File "C:\Program Files\Wireshark\extcap\SnifferAPI\Packet.py", line 74, in __init__
self.uart = UART.Uart(portnum, baudrate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Wireshark\extcap\SnifferAPI\UART.py", line 130, in __init__
self.ser.baudrate = baudrate
^^^^^^^^^^^^^^^^^
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialutil.py", line 299, in baudrate
self._reconfigure_port()
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialwin32.py", line 222, in _reconfigure_port
raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: OSError(22, 'El par�metro no es correcto.', None, 87)
10-Jan-2023 16:09:58 (+0100) INFO: Opening serial port None
10-Jan-2023 16:09:58 (+0100) INFO: Opening serial port COM1
10-Jan-2023 16:09:58 (+0100) ERROR: Error opening UART Cannot configure port, something went wrong. Original message: OSError(22, 'El par�metro no es correcto.', None, 87)
Traceback (most recent call last):
File "C:\Program Files\Wireshark\extcap\SnifferAPI\Packet.py", line 74, in __init__
self.uart = UART.Uart(portnum, baudrate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Wireshark\extcap\SnifferAPI\UART.py", line 130, in __init__
self.ser.baudrate = baudrate
^^^^^^^^^^^^^^^^^
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialutil.py", line 299, in baudrate
self._reconfigure_port()
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialwin32.py", line 222, in _reconfigure_port
raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: OSError(22, 'El par�metro no es correcto.', None, 87)
10-Jan-2023 16:09:58 (+0100) INFO: Opening serial port None
10-Jan-2023 16:09:58 (+0100) INFO: Exiting PID 11200
10-Jan-2023 16:09:58 (+0100) INFO: closing UART
10-Jan-2023 16:09:58 (+0100) INFO: Opening serial port COM8
10-Jan-2023 16:09:59 (+0100) INFO: closing UART
10-Jan-2023 16:09:59 (+0100) INFO: Opening serial port COM1
10-Jan-2023 16:09:59 (+0100) ERROR: Error opening UART Cannot configure port, something went wrong. Original message: OSError(22, 'El par�metro no es correcto.', None, 87)
Traceback (most recent call last):
File "C:\Users\Laura\AppData\Roaming\Wireshark\extcap\SnifferAPI\Packet.py", line 74, in __init__
self.uart = UART.Uart(portnum, baudrate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Laura\AppData\Roaming\Wireshark\extcap\SnifferAPI\UART.py", line 130, in __init__
self.ser.baudrate = baudrate
^^^^^^^^^^^^^^^^^
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialutil.py", line 299, in baudrate
self._reconfigure_port()
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialwin32.py", line 222, in _reconfigure_port
raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: OSError(22, 'El par�metro no es correcto.', None, 87)
10-Jan-2023 16:09:59 (+0100) INFO: Opening serial port None
10-Jan-2023 16:09:59 (+0100) INFO: Opening serial port COM1
10-Jan-2023 16:09:59 (+0100) ERROR: Error opening UART Cannot configure port, something went wrong. Original message: OSError(22, 'El par�metro no es correcto.', None, 87)
Traceback (most recent call last):
File "C:\Users\Laura\AppData\Roaming\Wireshark\extcap\SnifferAPI\Packet.py", line 74, in __init__
self.uart = UART.Uart(portnum, baudrate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Laura\AppData\Roaming\Wireshark\extcap\SnifferAPI\UART.py", line 130, in __init__
self.ser.baudrate = baudrate
^^^^^^^^^^^^^^^^^
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialutil.py", line 299, in baudrate
self._reconfigure_port()
File "C:\Users\Laura\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyserial-3.5-py3.11.egg\serial\serialwin32.py", line 222, in _reconfigure_port
raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: OSError(22, 'El par�metro no es correcto.', None, 87)
10-Jan-2023 16:09:59 (+0100) INFO: Opening serial port None
10-Jan-2023 16:09:59 (+0100) INFO: Exiting PID 11356
Have you tried to see if you are able to open COM8 from another application such as TeraTerm, etc?
Have you tried to see if you are able to open COM8 from another application such as TeraTerm, etc?
yes, it´s able to open
Sorry, but I do not think I have seen this before on Windows. Could you try to run Wireshark as admin to see if it makes any difference?