Nicla Voice issue flashing code

I tried to deploy my created impulse onto my Nicla Voice, but I receive this error:

No DFU capable USB device available
Failed uploading: uploading error: exit status 74

I tried double pressing the reset button to enter bootlegger mode, but the same issue occurs.

Does anyone know how to fix this? Thank you!

Hi @clairemlu

can you see the device as connected in System Information or Device manager?

Check Device Manager (Windows) or System Information (macOS) to see if the device is recognized in DFU mode.

You need to make sure the cable has data (try swapping for another one), and that the required packages are installed

Verify the data connection by listing connected devices in Arduino CLI:

arduino-cli board list

Also If this isn’t working and you are on mac can you paste the output of:
lsusb

Best

Eoin

Hi @Eoin

I can’t find the device in Device Manager, but I see it listed when I run the arduino-cli board list command. I am also using a Windows computer.

What are the required packages?

Hi @clairemlu

OK lets try running the script in debug mode, please paste the output or screenshot it.

  1. Debug mode for the flash script:
    if you want to run the script in debug mode open:
    arduino-win-build.bat

arduino-win-build.bat

@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
setlocal
REM go to the folder where this bat script is located
cd /d %~dp0

Change @echo off to @echo on

e.g. arduino-win-build.bat

@echo on
SETLOCAL ENABLEDELAYEDEXPANSION
setlocal
REM go to the folder where this bat script is located
cd /d %~dp0

Then when you run:

./arduino-win-build.bat --flash

Please paste the output from that.

  1. Follow the Windows Steps from our git repo:

Please share screenshots of any device manager / command prompt output so we can help identify any step that may have been missed. Hopefully these steps will help:

For windows:

Usage - Windows

  • Run update_libraries_windows.bat script to install Arduino libraries.
  • Note: the firwmare shall be located in a folder named firmware-syntiant-nicla-internal
  • Note: Install version 0.21.0 of the arduino-cli. Newer version are not supported yet. Download the arduino-cli. For further instructions, see Arduino cli installation

See more in our git repo:

I’m going to ask for the attention of two of our Arduino experts here too to make sure we aren’t missing anything @ei_francesco @Arjan

Best

Eoin