https://toitlang.org/ logo
Trouble Monitoring: Unexpected EOF
# help
c
Hi All, I'm attempting to monitor my esp32 from my desktop. I have flashed the device and see it on my wifi network, so the flash process worked. I can run "jag monitor" on my laptop and monitor my device's output without issue. On my desktop, however, I receive the following error: C:\Users\robin>jag monitor v COM5 Starting serial monitor of port 'COM5' ... =?a� Error: unexpected EOF I have tried unistalling jag, reinstalling, redoing the SDK setup, monitoring at different baud rates, changing ports - I still get the EOF error on my desktop. Any direction would be appreciated.
m
Could you say which kind of device you have, (S3, C6, etc etc) how you're connecting it (usb cable, programmer, separate uart board) and maybe a little about anything that's plugged into it?
(eg GPIOs in use, if any, maybe daughterboards like those from lilygo etc)
Another thing to know about might be the drivers.. especially if you are on windows. The Device Manager will have a COM port entry for your device, and in that somewhere will say what the device is (say CPxxxx, and maybe a driver version)
f
What @milkmansson said. It's likely that you are hitting the wrong serial port. Easiest way to test this is by unplugging the device (potentially while
jag monitor
is running). That should remove the port. If the port is correct, then updating the driver might help. Do you also manage to flash the device with your desktop computer? That would indicate that the serial port works (and is correctly selected), but something else is broken.
2 Views