guild icon
Toit
#Trouble Monitoring: Unexpected EOF
Thread channel in help
crockedile
crockedile 11/07/2025 01:52 PM
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.
milkmansson
milkmansson 11/08/2025 03:27 PM
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?
milkmansson
milkmansson 11/08/2025 03:29 PM
(eg GPIOs in use, if any, maybe daughterboards like those from lilygo etc)
milkmansson
milkmansson 11/08/2025 03:30 PM
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)
floitsch
floitsch 11/09/2025 12:13 AM
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.
5 messages in total