guild icon
Toit
#Jag scan + IP connection refused. Serial monitor says: recvfrom failed errno 11
Thread channel in help
thomas6886
thomas6886 02/05/2024 06:07 PM
I just flashed Toit on an ESP-32 S3 devboard, after setting the correct chip the flashing works fine. However I can't connect with it over Jag scan, even when I specify the address. It says Error: Get "http://192.168.2.24:9000/identify": dial tcp 192.168.2.24:9000: connect: connection refused
Over the serial interface I get:
I (525957) example: Socket created I (525957) example: Socket bound, port 3333 I (525957) example: Waiting for data E (535967) example: recvfrom failed: errno 11 E (535967) example: Shutting down socket and restarting...

Couldn't find anything in the help or the docs. Does anyone know what is going on? Flashed version 2 alpha
floitsch
floitsch 02/05/2024 06:08 PM
This is a new one...
floitsch
floitsch 02/05/2024 06:08 PM
Could you try to connect to the device with a browser?
floitsch
floitsch 02/05/2024 06:09 PM
To see if there is a similar error message then?
floitsch
floitsch 02/05/2024 06:09 PM
Maybe also from a different machine (like your phone).
floitsch
floitsch 02/05/2024 06:10 PM
Also, right now I don't see where the "example" comes from.
floitsch
floitsch 02/05/2024 06:12 PM
Are you certain the output (from the serial port) is from a device that was flashed with Jaguar?
thomas6886
thomas6886 02/05/2024 09:59 PM
Thanks for the quick response! Your question regarding if the device is actually flashed with Jaguar will make me re-check the flashing process. Will do that now and I'll post the results
thomas6886
thomas6886 02/05/2024 10:20 PM
I had some problems with flashing apparently, the default baud rate of 921600 gave me problems A fatal error occurred: Unable to verify flash chip connection (No serial data received.). When I changed this rate the flashing went fine, the initial error was caused by the board not running Jaguar. Sorry for the inconvenience, I was rushing it a bit I suppose!
floitsch
floitsch 02/06/2024 04:23 AM
No worries.
A few (but not many) boards don't support high baud rates. More commonly it's the cable that isn't good enough.

Glad it works now.
(edited)
10 messages in total