-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
console connection lost #6
Comments
What kind of esp board do you have? What terminal program do you use? Do you see anything in the dmesg when disconnection happens?
Do I understand it correctly that this happens with unchanged firmware/etc partition and you connect to the UART, not to the USB/JTAG port? |
I have this board: It seems to be similar to this espressif board: although it has a different layout. And I indeed connect to the uart USB port (the top one when looking at the component side of the board with the esp module facing to the left. My host system is ubuntu 22.04. dmesg does not contain info. Jan 1 00:00:07 buildroot kern.info sysctl: * Applying /etc/sysctl.conf ... The last 4 lines are only in /var/log/messages. dmesg ends at the TERM=linux line. Oh and I have no idea yet how to connect using JTAG. I've received this board just a day ago. If there are other ways to connect via serial please educate me. |
something's wrong with that link, the page says 'Sorry, the page you requested can not be found:('
FWIW I use minicom
I meant dmesg on your host where the terminal program is running.
It's not really a JTAG, there's a combined USB Serial/JTAG peripheral in the esp32s3 and if you put the line |
I've installed cu and tried the following command line: |
Maybe this ali link will work for you The board itself keeps running after disconnecting serial. It was up for 3 hrs, then I changed /etc/cmdline as you instructed and rebooted. The board and the connection are now up fro 12 min without any issue. Still struggling a bit on how to enable wifi (preferably in a way that survives reboot) /etc # wpa_supplicant -i espsta0 -c /etc/wpa_supplicant.conf -D nl80211 ssid and channel are correct edit: reboot did not help, wpa_supplicant is started but I keep getting |
The intended method is writing your settings to There's a few examples of wpa_supplicant settings in the manual, including a WPA3 case, see if it helps. Also here's what I see with the wrong password in the config file in my WPA2 PSK setup:
|
It doesn't either. Anyway, I was interested in the kind of UART-to-USB convertor on that board.
I suspect that there may be an issue in the USB part of that connection and dmesg tail on the host side could give some hints about it. |
This message appears even in case of successful connection, so it does not indicate a problem on its own. |
Just found this: https://mischianti.org/vcc-gnd-studio-yd-esp32-s3-devkitc-1-clone-high-resolution-pinout-and-specs/ Also some good news. Wrt the wifi: no progress yet. |
what do |
My network is an IPv4 /24 network with network address 192.168.123.0 This is what I got lo Link encap:Local Loopback ~ # ip route ~ # cat /proc/net/wireless ~ # iw dev espsta0 link |
Something's not right here: looks like your pings went out the lo interface. Also broadcast address on the espsta0 is incorrect. |
Hmm, after doing a disconnect from the open AP on the esp and reconnecting ping starts to work. This is my wpa_supplicant.conf file network={ |
Good news, I finally got it running. ping time to my router is typically around 20 ms |
You may try to add |
If I then in the router set the 802.11w protection to Optional I cannot make the connection, (so with ieee80211w=2 in the network section of wpa_supplicant.conf) I won't have much time to experiment next week. Will try to come back to this later. |
Thanks for checking anyway.
That's certainly a possibility. I've noticed that the buildroot config has almost all wpa_supplicant options turned off, maybe 802.11w support depends on them. Or maybe it's not fully supported by the esp_hosted_ng. I'd just make a note that it doesn't work for now. |
ESP32 S3 wifi version
After boot I can connect to the console using ttyACM1 with baud rate 115200.
However the connection is dropped after 2.5 minute.
The shell is not closed; If I start this shell script:
The script remains running. When I reconnect to the console it is still printing the date. but after 2.5 minute the connection is dropped again.
No idea what causes this.
It seems that with more activity on the console (me typing) the timeout happens faster.
The text was updated successfully, but these errors were encountered: