Hi all,
I was uploading my sketch to my Uno R4 Minima board when there was a power cut (the timing of it i swear....) and my board is no longer recognized by windows or the IDE.
Using the same USB port and the same cable but a different arduino works. What is strange is that it is not showing up under the "Serial Ports" in the IDE, but If i press the reset button twice in quick succession it suddenly shows up under "dfu ports" as 1-11.3 (Arduino Uno R4 Minima).

Checking on it in the Device manager it says "Device Descriptor Request Failed".
Anybody else encountered something like this? If yes, any possible solutions?
Thanks in advance!
I have no experience with your board.
Try to upload an innocent sketch (e.g. blink example or blank example).
When the IDE reports the memory usage, double-tap the reset button.
I think that upload should succeed; after that, normal uploads should succeed again.
I have moved your topic to a section of the forum that is more suitable for board detection and upload problems.
Okay, this was strange. Turns out a typo in my sketch was causing the issue!
I've tried to turn a string to char array, but upon declaration of the char array i made a typo and it wasn't big enough to accomodate the string.
char joystick[4];
joystick_str.toCharArray(joystick, 5);
Afte rectifying the typo and uploading via the dfu port it is now again, recognized by IDE and windows alike.
Good to know!
It's not strange if you understand why
Although I'm not familiar with your board, the principles are the same as for e.g. a Leonardo.
Part of the code that you upload contains functionalities for
- Detection by the PC.
- Reaction on a software instruction from the IDE to switch from "running the sketch" to bootloader (in your case dfu mode).
Bugs in your sketch can result in overwriting of variables used by those functionalities and one of them or both might not work correctly.