I’m trying to program my Xaio nRF52840 BLE and I keep running into the same problem. This occurs with two different parts and I’ve tried two different USB-C cables. I have uninstalled the Arduino IDE multiple times and reinstalled all the drivers from scratch.
When I first load the IDE and connect my nRF52840 I can request the unit info through the serial port and it gets reported correctly, so the serial connection seems to work.
This is the results of the verbose reporting during the end of compilation and upload:
Zip created at C:\Users\erikj\AppData\Local\Temp\arduino_build_617324/IMU_Capture.ino.zip
Using library Seeed_Arduino_LSM6DS3-master at version 2.0.3 in folder: C:\Users\erikj\Documents\Arduino\libraries\Seeed_Arduino_LSM6DS3-master
Using library Wire at version 1.0 in folder: C:\Users\erikj\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.0.0\libraries\Wire
Using library SPI at version 1.0 in folder: C:\Users\erikj\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.0.0\libraries\SPI
Using library Adafruit_TinyUSB_Arduino at version 1.7.0 in folder: C:\Users\erikj\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.0.0\libraries\Adafruit_TinyUSB_Arduino
“C:\Users\erikj\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4/bin/arm-none-eabi-size” -A “C:\Users\erikj\AppData\Local\Temp\arduino_build_617324/IMU_Capture.ino.elf”
Sketch uses 50516 bytes (6%) of program storage space. Maximum is 811008 bytes.
Global variables use 7700 bytes (3%) of dynamic memory, leaving 229868 bytes for local variables. Maximum is 237568 bytes.
Forcing reset using 1200bps open/close on port COM5
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
PORTS {COM3, COM4, COM5, } / {COM3, COM4, COM5, } => {}
Uploading using selected port: COM5
C:\Users\erikj\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.0.0/tools/adafruit-nrfutil/win32/adafruit-nrfutil.exe --verbose dfu serial -pkg C:\Users\erikj\AppData\Local\Temp\arduino_build_617324/IMU_Capture.ino.zip -p COM5 -b 115200 --singlebank
Upgrading target on COM5 with DFU package C:\Users\erikj\AppData\Local\Temp\arduino_build_617324\IMU_Capture.ino.zip. Flow control is disabled, Single bank, Touch disabled
Opened serial port COM5
Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 50524
Sending DFU start packet
An error occurred while uploading the sketch
Then it sits there and nothing happens. The port gets locked up and I have to reset my computer to release the port.