I’m having issues detecting the serial port in codecraft, both in the web-IDE + assistant and the classic version. After selecting Arduinio as a device, the screen to select the serial port shows no port detected.
The assistant is running and responding to messages over the websocket, and looking into those messages it seems to offer the port to the web-ide!
With an arduino clone 2560:
{
"type": "send",
"time": 1725020788.24325,
"opcode": 1,
"data": "42[\"message\",{\"method\":\"scan\"}]"
},
{
"type": "receive",
"time": 1725020788.247215,
"opcode": 1,
"data": "42[\"message\",{\"method\":\"device-scan\",\"data\":[{\"path\":\"COM8\",\"manufacturer\":\"Arduino LLC (www.arduino.cc)\",\"serialNumber\":\"14011\",\"pnpId\":\"USB\\\\VID_2341&PID_0042\\\\14011\",\"locationId\":\"Port_#0003.Hub_#0002\",\"friendlyName\":\"Arduino Mega 2560 (COM8)\",\"vendorId\":\"2341\",\"productId\":\"0042\",\"comName\":\"COM8\"}]}]"
},
With a genuine Arduinio Uno R4 the situation is similar:
{
"type": "send",
"time": 1725022119.23187,
"opcode": 1,
"data": "42[\"message\",{\"method\":\"scan\"}]"
},
{
"type": "receive",
"time": 1725022119.2365499,
"opcode": 1,
"data": "42[\"message\",{\"method\":\"device-scan\",\"data\":[{\"path\":\"COM5\",\"manufacturer\":\"Microsoft\",\"serialNumber\":\"6&27BC756C&1&0001\",\"pnpId\":\"USB\\\\VID_2341&PID_1002&MI_01\\\\6&27BC756C&1&0001\",\"locationId\":\"0000.0014.0000.003.000.000.000.000.000\",\"friendlyName\":\"Serieel USB-apparaat (COM5)\",\"vendorId\":\"2341\",\"productId\":\"1002\",\"comName\":\"COM5\"}]}]"
},
With both device types this scan/device-scan websocket message cycle is repeated a few times.
In the web console there are no fault messages related to the port.
On the other hand, the Arduino ide detects both devices just fine and we can program grove things on it, so the hardware works.
We used Win11 and Win10, an attempt under linux is still pending.
Where should I seek help, what can I try to debug it further? Is there a way to get more debug output from the web-IDE?
I’d really like to get this working for my kid