When I connect electron, in device manager, I see electron under USB.
Because I am a beginner, I am not entirely sure all software I installed or the order as I am trying bunch of things where I was confused if it was my USB cable or it was software etc but here is the gist.
Installed Particle Drivers
Particle CLI
DFU-UTIL
Ran Zadig and replaced / updated (?) WINUSB driver.
any serial commands such as particle serial identify etc say that no serial devices attached…
Similarly, when I try to flash firmware using serial and putting device in listening mode and issuing:
particle --flash serial firmware.bin
I get no serial devices attached like above …
Instead, when I put device in DFU mode and I am able to use:
particle flash --usb firmware.bin
Above step flashes the firmware successfully.
so, my question is, how can I monitor serial output in this case.
My program has
Serial.begin(9600); --in set up
Serial.println(Wire.read()); --in loop
When I use putty and try COM ports 1/2/3 etc, I am not able to connect…
Can some one help me understand what I am missing here?
It should be listed under COM in order to have it available as serial port.
If you have it under USB look if you have an advanced setting “Enable Virtual Com Port” or similar.
If not you might want to update the driver and actually use the Particle ones
I went to device manager, chose electron under USB, uninstalled existing driver.
I downloaded the particles driver files.
Manually pointed it to the folder location.
After the step is done, it still goes back under USB devices.
But will try again..maybe I did not do something right. Thanks for the help.
The device should be in Listening or Safe mode when you do that - just to be on the safe side.
Don’t unistall the drivers, just right click and “update driver”
Put it in listen mode.
Goto device manager.
Click Update Driver and manually picked the file for electron.(Before I would point it to a folder and click ok, but this time I did the steps listed here, so I picked the electron.inf file :Installing the USB Driver on Windows & Serial Debugging )
I was able to have it show up under the com ports like I wanted…