Thanks. I don't see any content in those logs that indicates a problem.
However, I do see that something important is missing. Normally the logs should show the serial-discovery tool being started and discovering each of the serial ports on your computer. For example, when I start Arduino IDE I see this in my logs:
2022-12-15T09:02:41.176Z discovery-log INFO start request start watch
2022-12-15T09:02:41.176Z discovery-log INFO start requested start watch
2022-12-15T09:02:41.176Z discovery-log INFO start resolved watching
2022-12-15T09:02:41.177Z daemon INFO INFO[0002] starting discovery builtin:mdns-discovery process
2022-12-15T09:02:41.177Z daemon INFO INFO[0002] starting discovery builtin:serial-discovery process
2022-12-15T09:02:41.187Z daemon INFO INFO[0002] started discovery builtin:serial-discovery process
INFO[0002] sending command HELLO 1 "arduino-cli 0.29.0" to discovery builtin:serial-discovery
2022-12-15T09:02:41.187Z daemon INFO INFO[0002] started discovery builtin:mdns-discovery process
2022-12-15T09:02:41.188Z daemon INFO INFO[0002] sending command HELLO 1 "arduino-cli 0.29.0" to discovery builtin:mdns-discovery
Opening channel for service path '/services/electron-window-ext'.
Opening channel for service path '/services/electron-window'.
2022-12-15T09:02:41.227Z daemon INFO INFO[0002] from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1
INFO[0002] from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1
2022-12-15T09:02:41.227Z daemon INFO INFO[0002] sending command START_SYNC to discovery builtin:mdns-discovery
INFO[0002] sending command START_SYNC to discovery builtin:serial-discovery
INFO[0002] from discovery builtin:serial-discovery received message type: start_sync, message: OK
2022-12-15T09:02:41.227Z daemon INFO INFO[0002] from discovery builtin:mdns-discovery received message type: start_sync, message: OK
2022-12-15T09:02:41.240Z daemon INFO INFO[0002] from discovery builtin:serial-discovery received message type: add, port: COM3
2022-12-15T09:02:41.243Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"COM3","label":"COM3","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[]}},"error":""}
2022-12-15T09:02:41.244Z daemon INFO INFO[0002] from discovery builtin:serial-discovery received message type: add, port: COM52
INFO[0002] from discovery builtin:serial-discovery received message type: add, port: COM1
INFO[0002] from discovery builtin:serial-discovery received message type: add, port: COM7
INFO[0002] from discovery builtin:serial-discovery received message type: add, port: COM254
There is nothing like this in your logs.
I think the next thing to try is running the serial-discovery tool directly and seeing whether it is able to discover your ports. I'll provide instructions:
NOTE: These instructions will not solve the problem. They are only intended to gather more information which might provide a clue that eventually leads to a solution.
During all this, keep an eye out for anything that doesn't match the expected behavior as described at each step.
- Open the following folder in Windows "File Explorer":
C:\Users\<username>\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery
ⓘ Note that the AppData folder is hidden by default in "File Explorer". You can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
- The
serial-discovery folder will contain a subfolder for each of the versions of serial-discovery which are installed on your computer.
For example:serial-discovery/
├── 1.3.0/
├── 1.3.0-rc1/
└── 1.3.2/
- Hold the Shift key while clicking the right hand button on the mouse on the folder with the highest version (
1.3.2 in the example above).
- From the context menu, click "Open command window here".
cmd will now open with the current directory set to the 1.3.2 folder.
- Type the following command:
serial-discovery
- Press the Enter key.
serial-discovery will now start. There won't be any obvious sign of this other than that there is no longer a command prompt at the cursor in the terminal.
- Type the following command:
HELLO 1 "arduino-cli 0.20.2"
- Press the Enter key.
You should now see a response printed exactly like this:{
"eventType": "hello",
"protocolVersion": 1,
"message": "OK"
}
- Unplug your Arduino board from your computer if you have it plugged in.
- Type the following command:
START_SYNC
- Press the Enter key.
You should now see a response printed exactly like this:{
"eventType": "start_sync",
"message": "OK"
}
You might also see some additional objects in the output depending on which serial ports are available on your computer.
- Plug your Arduino board into your computer.
You should now see a response printed that looks something like this:{
"eventType": "add",
"port": {
"address": "COM42",
"label": "COM42",
"protocol": "serial",
"protocolLabel": "Serial Port (USB)",
"properties": {
"pid": "0x804e",
"vid": "0x2341",
"serialNumber": "EBEABFD6514D32364E202020FF10181E"
}
}
}
ⓘ This is only an example of what you might see. The output will be different depending on the board you connected.
- Unplug your Arduino board from your computer.
You should now see a response printed that looks something like this:{
"eventType": "remove",
"port": {
"address": "COM42",
"protocol": "serial"
}
}
ⓘ This is only an example of what you might see. The address field value should be the same as the "add" event you saw when you plugged the board in.
You should continue to see the same results if you repeat steps (12) and (13).
Once you are done with your experiments with the "serial-discovery" tool, follow these instructions to exit:
- Type the following command:
STOP
- Press the Enter key.
You should now see a response printed exactly like this:{
"eventType": "stop",
"message": "OK"
}
- Type the following command:
QUIT
- Press the Enter key.
You should now see a response printed exactly like this:{
"eventType": "quit",
"message": "OK"
}
You should now be back at the cmd command line. You can now close the cmd window.