SparkFun Thing Plus - NINA-B306 issue

I was able to get this sketch to work, then it quit

Red light on

First effort with SparkFun so I’m likely missing something simple.

Windows 11 computer

Error message:
Library Adafruit nRFCrypto has been declared precompiled:
Using precompiled library in C:\Users\jmwoo\AppData\Local\Arduino15\packages\SparkFun\hardware\nrf52\1.0.0\libraries\Adafruit_nRFCrypto\src\cortex-m4\fpv4-sp-d16-hard
Sketch uses 143416 bytes (17%) of program storage space. Maximum is 815104 bytes.
Global variables use 16536 bytes (6%) of dynamic memory, leaving 221032 bytes for local variables. Maximum is 237568 bytes.
Upgrading target on COM3 with DFU package C:\Users\jmwoo\AppData\Local\arduino\sketches\7D9C49DCFC925D5C04151A2A26428B95\BLE_Data_Pipe_9Jun25.ino.zip. Flow control is disabled, Single bank, Touch disabled

Failed to upgrade target. Error is: Serial port could not be opened on COM3. Reason: could not open port ‘COM3’: FileNotFoundError(2, ‘The system cannot find the file specified.’, None, 2)
Traceback (most recent call last):
File “dfu\dfu_transport_serial.py”, line 113, in open
File “serial\serialwin32.py”, line 33, in init
File “serial\serialutil.py”, line 244, in init
File “serial\serialwin32.py”, line 64, in open
serial.serialutil.SerialException: could not open port ‘COM3’: FileNotFoundError(2, ‘The system cannot find the file specified.’, None, 2)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “main.py”, line 296, in serial
File “dfu\dfu.py”, line 235, in dfu_send_images
File “dfu\dfu.py”, line 157, in _dfu_send_image
File “dfu\dfu_transport_serial.py”, line 115, in open
nordicsemi.exceptions.NordicSemiException: Serial port could not be opened on COM3. Reason: could not open port ‘COM3’: FileNotFoundError(2, ‘The system cannot find the file specified.’, None, 2)

Possible causes:

  • Selected Bootloader version does not match the one on Bluefruit device.
    Please upgrade the Bootloader or select correct version in Tools->Bootloader.
  • Baud rate must be 115200, Flow control must be off.
  • Target is not in DFU mode. Ground DFU pin and RESET and release both to enter DFU mode.

Thank you,
John Woodyard

COM3 is apparently not the right port number for your Arduino . Check the Device Manager to see what it actually is.

1 Like

See which COM ports appear when you plug it in and direct it to use that one

When I plug in the B306 II doesn’t assign it a port. I plug in a ScanDisk device and 11 assigns it as Mass Storage Device. I tried the cable that worked before and another cable.

I did neglect to say that 11 stop seeing the B306 after an update where 11 decided that iqvw64e.sys was a vulnerable driver.

Do I need a different driver?

Thank you,
John Woodyard

I think you probably just need to whitelist that driver again