I bought an UNO R4 Minima, and when I upload a sketch, it displays many DFU messages and does a download of something. This happenens even if the sketch only include empty setup and loop functions. And the IDE Monitor Tool says it can’t connected to the UNO board. Even if the upload of a sketch is ok (I assume).
Previously I have used with UNO R3 and never had these problem. Why do I get these DFU messages and what to do?
Upload messages:
Device really in Run-Time Mode, send DFU detach request...
Device will detach and reattach...
Opening DFU USB Device...
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 0101
Device returned transfer size 64
Copying data from PC to DFU device
Download [ ] 0% 0 bytes
Download [ ] 3% 1472 bytes
:
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
DFU state(2) = dfuIDLE, status(0) = No error condition is present
Done!
EDIT: After doing some tests and reading, I see the board is not inte DFU mode prior uploading my sketch. But when I start the upload, the orange led on the board starts to flash, and the DFU messages are printed. After the orange led stops flashing and no DFU message shown, the upload of my sketch is done. And I think my sketch works as intended. It looks like the the Serial Monitor also work, which it didn’t before.
So the only problem, as known to me now, is why the DFU-mode is activated before every upload of a sketch?