No DFU capable USB device available error

Hello, my board was working but all of a sudden, it kept disconnecting and reconnecting. At the bottom of the IDE, it stated “Arduiono Nano ESP32 on COM15” then switched to “Arduino Nano ESP32 on COM15 [not connected] and repeated. Changed the cable and the port but no help. From the internet, I learned to double click the Reset button twice and went to Tool→Board. Tried both Port 3 and 5 available but uploading still resulted in:

No DFU capable USB device available"

Failed uploading: uploading error: exit status 74”

What shall I do to fix this problem?

Resetting the bootloader works but why this happened all of a sudden? Is my board defective that I should have it replaced while I just received it few days ago?

Reset the Arduino bootloader on the Nano ESP32 – Arduino Help Center

The board is not defective.

I rebooted the PC and had the Device Manager opened. As I plugged in the cable with an Arduino Nano ESP32 connected in the other end, USB Serial Device (COM8) showed up under Ports (COM & LPT) in the Device Manager. So, the Arduino is connected to COM8. Next, on the Arduino IDE, under Tools it shows COM3, COM5 and COM 8 (ESP32S3 CAM LCD) under Serial ports. Anybody knows why ESP32S3 CAM LCD is listed rather than Arduino Nano ESP32? After selecting COM8 (ESP32S3 CAM LCD) and clicked the Upload button, it shows:

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

At the bottom right, a white banner states “Upload error: Failed uploading uploading error: exit status 74”. Copying the error message gave me:

“Sketch uses 690541 bytes (21%) of program storage space. Maximum is 3145728 bytes.
Global variables use 55032 bytes (16%) of dynamic memory, leaving 272648 bytes for local variables. Maximum is 327680 bytes.
dfu-util 0.11-arduino4

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util / Tickets

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

So why the IDE states that the ESP32 is not available when Windows’ device manager showed that it is connected to COM8?