Arduino "Cannot open DFU Error"

You keep saying that you have KEEP_SAVEFILES_WHEN_PROGRAMMING defined.
Read what that does.
You don’t want to use that if you are looking to add fonts and styles and upload changes.

1 Like

^That. Just temporarily disable it via 2 //'s before that line and save the config and flash it over. This will let you do the changes and not have the main program preventing it.

//#define KEEP_SAVEFILES_WHEN_PROGRAMMING

Once you do the flash you can always go back and remove the //'s and flash it back in, or honestly just do like some of us do, simply leave it disabled if you’re gonna be playing around with the config for a while.

Basically you want it disabled doing a new flash and once you verify the saber is where you like redefine the line and flash it back in. *Again, or just leave it be. I’ve yet to ever redefine it in mine.

1 Like

Ohh okay I see, I was confused on that bit and after doing a thorough read-thru I understand. I’ll look to give this simple config edit a try and probably keep it disabled as I do plan on adding a few other fonts I’ve purchased to the saber.

Will report back if all goes well! thank you all so much for the info and being patient with me :slight_smile:

Hi all, I can report back that I my new font is now successfully installed and working on my saber!!

Disabling “define KEEP_SAVEFILES_WHEN_PROGRAMMING” did the trick, however I also want to note I had to put my saber in Bootloader mode for the Upload to work properly. While it’s not the most convenient, I am content with potentially doing this each time I want to add a font

May I suggest checking out what @profezzorn just shared as a viable alternative instead?

re: Zadig is dead, long live libdwi

1 Like

Are you running Windows 11?

Nope! Currently Win10, 21H2

And i was able to resolve my issue after following your instructions and fixing my driver via Zadig. The only thing after that was disabling the “Keep SaveFiles When Programming” command in my config which now allows me to upload my config to the board.

Now I’m looking to try the installer Profezzorn posted earlier

That installer replaces Zadig, and the goal is to avoid needing to use the onboard buttons to invoke bootloader mode.
But you’ve already installed the right driver with Zadig so shouldn’t need to do use that alternate way (unless you still have a problem?)