Arduino Serial Monitor dfu issue

Hi all, I try to print button state to the arduino serial monitor using the Seed, but it always gives me the error that

> No monitor available for the port protocol dfu. Could not connect to 1-1 dfu port.

Also, do I have to reset using the boot and reset button on the Daisy in order to upload a new code to it?
Could someone help me with this question? Thanks!

1 Like

The port for the serial monitor must be selected in the Tools menu.
Yes, you need to use the buttons EVERY TIME you want to upload new code.

Hi @tele_player , thank you for your reply! I did select the 1-1 port as shown in the tools, and after I upload the code, the port disappears.

What operating system? Mac, Windows, Linux?

Hi,it’s Mac.

The Serial monitor needs to connect to the usbmodem device, not DFU.

Hi, thank you for your reply. But I couldn’t see the usbmodem device in the port list.

Maybe we are using different versions. It works for me.

when I first plug in the daisy, it does show usbmodem, but as I I started uploading code, it becomes 1-1 DFU.

Why are you using an old nightly build of Arduino IDE 2.3.3? I just updated from 2.3.2 to 2.3.3. Both work fine for me.

There are many details which may be important, and you have not written.
OS Version?
Aduino IDE version?
STM Cube version?
DaisyDuino version?

All I can say is that it works for me, Arduino 2.3.3 on Mac OS 12.7.6 on Intel. I don’t generally use Arduino, so I haven’t tried it on my newer Mac with Apple M1 CPU.

Maybe you should contact support?

I updated arduino, it’s showing like this as daisy plugged in:

But I’m getting an upload error.
Does it have anything to do with the dfu upload method?

Also, once I press boot, reset, and release the two, the port name change immediately from usbmodem to 1-1 and never changed again, serial monitor also lost the connection.

The USB port identifies differently on Daisy at different times.

When Daisy is running a program which uses Serial, it will show as usbmodem.
When you put Daisy in DFU mode, the usbmodem goes away, and a DFU device is reported.

@tele_player Thank you for your replying. I updated to 2.3.3, and it’s still the same.
My OS is Sonoma 14.2.1 on a M2 chip.
Arduino 2.3.3
STM Cuber version v2.17.0
DaisyDuino version 1.7.0

What support do you recommend me to contact?

Shall I use DFU upload mode for general use, and switch it to Serial once the code include serial stuff?

Maybe @Takumi_Ogata can help.

Get it, thank you very much!

After you select usbmodem, what shows up when you open the Serial Monitor?
You don’t need to do the button presses on the Daisy after selecting that since I’m assuming that you already flashed that code with the Serial.println(). When you power on the Daisy, the last firmware that you flashed before will start running.

@Takumi_Ogata Hi Takumi, should the uploading method always be dfu?
Every time I first plug in daisy, the serial monitor is fine and the port is shown as usbmodem like this:

But, when press reset and boot on the daisy to load a new program, the port is disconnected.
Then I reselect the port, there is no usbmodem anymore but dfu port. I have to unplug and replug to make usbmodem shown again in the arduino port.

  • When running software which uses USB serial, the Seed will appear as usbmodem.
  • When you set DFU mode with the buttons, to upload new code, the Daisy USB port will appear as a DFU device.
    There are also other USB modes which can be programmed.
    This is normal and correct.

Thank you, I think I have figured out the serial monitor. It is acting properly now.