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!
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.
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
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.