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?
I opned the log.txt:
=====2022-12-22T09:46:27======
STATUS: (c) Nordic Semiconductor ASA 2008-2015
DEBUG: Version: 1.21.2.10
DEBUG: nRFjprog versions installed:
DEBUG: Newest installed:
ERROR: Make sure nrfjprog is installed.
DEBUG: JLinkArm path: C:/Program Files/SEGGER/JLink2/JLinkARM.dll
DEBUG: nRFjprog path: C:/Users/Laura/Desktop/DW1001C/nRF5_SDK_17.1.0_offline_doc/s212/nrfjprog.dll
ERROR: nrfjprog.dll is not correctly installed. Please run the nRF Tools installer to install the newest version.
ERROR: Error loading C:/Users/Laura/Desktop/DW1001C/nRF5_SDK_17.1.0_offline_doc/s212/nrfjprog.dll: Cannot load library C:/Users/Laura/Desktop/DW1001C/nRF5_SDK_17.1.0_offline_doc/s212/nrfjprog.dll: No se puede encontrar el módulo especificado.
ERROR: Make sure nrfjprog is installed.
=====2022-12-22T10:18:50======
STATUS: (c) Nordic Semiconductor ASA 2008-2015
DEBUG: Version: 1.21.2.10
DEBUG: nRFjprog versions installed:
DEBUG: Newest installed:
ERROR: Make sure nrfjprog is installed.
DEBUG: JLinkArm path: C:/Program Files/SEGGER/JLink2/JLinkARM.dll
DEBUG: nRFjprog path: C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfjprog.dll
ERROR: nrfjprog.dll is not correctly installed. Please run the nRF Tools installer to install the newest version.
ERROR: Error loading C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfjprog.dll: Cannot load library C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfjprog.dll: No se puede encontrar el módulo especificado.
ERROR: Make sure nrfjprog is installed.
STATUS: C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfutil.exe dfu genpkg C:/Users/Laura/AppData/Local/Temp/TempDFUPackage_I22124.zip --sd-req 0xFFFE --application-version 0 --dev-type 0 --dev-revision 0 --application C:/Users/Laura/Desktop/DW1001C/nrf_sniffer_for_bluetooth_le_4.1.1/hex/sniffer_nrf52dk_nrf52832_4.1.1.hex
STATUS: Zip created at C:/Users/Laura/AppData/Local/Temp/TempDFUPackage_I22124.zip
STATUS: C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfutil.exe dfu serial --package=C:/Users/Laura/AppData/Local/Temp/TempDFUPackage_I22124.zip --port=COM8 --baudrate=115200
STATUS: Upgrading target on COM8 with DFU package C:\Users\Laura\AppData\Local\Temp\TempDFUPackage_I22124.zip. Flow control is disabled.
STATUS: Timed out waiting for acknowledgement from device.
STATUS: Failed to upgrade target. Error is: No data received on serial port. Not able to proceed.
STATUS: Possible causes:
STATUS: - bootloader, SoftDevice or application on target does not match the requirements in the DFU package.
STATUS: - baud rate or flow control is not the same as in the target bootloader.
STATUS: - target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.
STATUS: C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfutil.exe dfu genpkg C:/Users/Laura/AppData/Local/Temp/TempDFUPackage_a22124.zip --sd-req 0xFFFE --application-version 0 --dev-type 0 --dev-revision 0 --application C:/Users/Laura/Desktop/DW1001C/nrf_sniffer_for_bluetooth_le_4.1.1/hex/sniffer_nrf52dk_nrf52832_4.1.1.hex
STATUS: Zip created at C:/Users/Laura/AppData/Local/Temp/TempDFUPackage_a22124.zip
STATUS: C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfutil.exe dfu serial --package=C:/Users/Laura/AppData/Local/Temp/TempDFUPackage_a22124.zip --port=COM8 --baudrate=115200
STATUS: Upgrading target on COM8 with DFU package C:\Users\Laura\AppData\Local\Temp\TempDFUPackage_a22124.zip. Flow control is disabled.
STATUS: Timed out waiting for acknowledgement from device.
STATUS: Failed to upgrade target. Error is: No data received on serial port. Not able to proceed.
STATUS: Possible causes:
STATUS: - bootloader, SoftDevice or application on target does not match the requirements in the DFU package.
STATUS: - baud rate or flow control is not the same as in the target bootloader.
STATUS: - target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.
STATUS: C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfutil.exe dfu genpkg C:/Users/Laura/AppData/Local/Temp/TempDFUPackage_T22124.zip --sd-req 0xFFFE --application-version 0 --dev-type 0 --dev-revision 0 --application C:/Users/Laura/Desktop/DW1001C/nrf_sniffer_for_bluetooth_le_4.1.1/hex/sniffer_nrf52dk_nrf52832_4.1.1.hex
STATUS: Zip created at C:/Users/Laura/AppData/Local/Temp/TempDFUPackage_T22124.zip
STATUS: C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfutil.exe dfu serial --package=C:/Users/Laura/AppData/Local/Temp/TempDFUPackage_T22124.zip --port=COM8 --baudrate=9600
=====2023-01-09T08:01:42======
STATUS: (c) Nordic Semiconductor ASA 2008-2015
DEBUG: Version: 1.21.2.10
DEBUG: nRFjprog versions installed:
DEBUG: Newest installed:
ERROR: Make sure nrfjprog is installed.
DEBUG: JLinkArm path: C:/Program Files (x86)/SEGGER/JLink3/JLinkARM.dll
DEBUG: nRFjprog path: C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfjprog.dll
ERROR: nrfjprog.dll is not correctly installed. Please run the nRF Tools installer to install the newest version.
ERROR: Error loading C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfjprog.dll: Cannot load library C:/Program Files (x86)/Nordic Semiconductor/nRFgo Studio/nrfjprog.dll: No se puede encontrar el módulo especificado.
ERROR: Make sure nrfjprog is installed.
This is the log file for nRF Go studio application, not the sniffer. The log file we are interested in should be located in %APPDATA%/Nordic Semiconductor/Sniffer/logs
This must be the file
Thanks. Please check what devices are assigned to COM1 and COM8.
Thanks. Please check what devices are assigned to COM1 and COM8.
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