OK. Past one error and on to another. I uploaded a udp server sketch and the upload worked fine. Unfortunately, now the serial monitor does not work. The error message is:
No monitor available for the port protocol dfu. Could not connect to 2-1.1.4 dfu port.
This is happening after a successful upload of the sketch.My IDE is 4 weeks old and I checked and there is no update available. .
Hi @wjrust. The Nano ESP32 board typically produced two ports. One is a serial port and the other is a "DFU" port. You should select the serial port of the board when using Serial Monitor.
We are aware there is a bug in Arduino IDE that causes it to switch from the serial port to the DFU port after an upload for some users. There is work in progress to fix that:
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.
For now, please just make sure to select the appropriate port manually as needed.
Please provide a detailed explanation of what you mean by this, including:
What did you do?
What were the results you expected from doing that thing?
What were the results you observed that did not match your expectations?
Make sure to include the full and exact text of any error or warning message you might have encountered.
It is not possible to get rid of it. I'm confident you'll get over the confusion quickly enough if you give yourself a little time to get accustomed to the fact that this board produces two ports.
OK. It was giving an error saying it couldn't open the port. However, I just closed the sketch, opened putty on the serial port and hello world started being printed. After closing putty, I went back and opened the sketch again. The nano was listed as being on com20. Serial monitor now works. I also uploaded the sketch again using com20 and that works as well. So it seems that everything is hunky dory.