guild icon
Toit
#unexpected eof error
Thread channel in help
~~boss~~
~~boss~~ 07/20/2025 10:53 AM
this showed up when i run jag monitor
~~boss~~
~~boss~~ 07/20/2025 10:53 AM
PS C:\Users\bossc\toit> jag monitor -a Starting serial monitor of port 'COM3' ... Error: unexpected EOF
~~boss~~
~~boss~~ 07/20/2025 10:54 AM
i tried resetting it but it didnt work
~~boss~~OP~~boss~~
PS C:\Users\bossc\toit> jag monitor -a Starting serial monitor of port 'COM3' ... Error: unexpected EOF
floitsch
floitsch 07/25/2025 07:51 AM
A few things to look at:
- did the same setup already work before, or does it work with a different esp32?
- is the USB cable of good quality? Unfortunately a very common issue.
- is the port correct? If you unplug the esp32, does 'COM3' disappear?
- if connected through a USB hub, try to connect directly.
- if this is an ESP with built-in USB (C3, S3, ...) it might need an envelope with USB support.
~~boss~~
~~boss~~ 07/26/2025 10:16 AM
it think it was probably cable ploblem,buying new cable.
👍1
~~boss~~
~~boss~~ 07/29/2025 02:13 AM
i have just bought new cable but nothing changed :🙁:
~~boss~~
~~boss~~ 07/29/2025 02:22 AM
my observation is that i can run code on it but when i tried to monitor it code stops immediately
~~boss~~OP~~boss~~
my observation is that i can run code on it but when i tried to monitor it code stops immediately
floitsch
floitsch 07/29/2025 04:22 AM
Running code is done via WiFi, so that's unaffected by the UART.

Can you flash the device?
~~boss~~
~~boss~~ 08/01/2025 05:07 AM
i already did but still the same error
~~boss~~
~~boss~~ 08/01/2025 05:07 AM
and it used to work as normal last month(edited)
floitsch
floitsch 08/01/2025 10:28 AM
The question was mainly if the serial port works for flashing.

Not that a jag monitor automatically resets the device. You can use -a (attach) to avoid that.
~~boss~~
~~boss~~ 08/01/2025 01:06 PM
PS C:\Users\bossc\toit> jag monitor -a Starting serial monitor of port 'COM3' ... Error: unexpected EOF
floitsch
floitsch 08/01/2025 01:07 PM
So this is a normal esp32 that you can flash on this port, but you can't use monitor on it?
~~boss~~
~~boss~~ 08/01/2025 01:08 PM
yes
floitsch
floitsch 08/01/2025 01:09 PM
I have never seen this...
Could you try with the esp-idf to see if it works there?
15 messages in total