Closed aliyehia92 closed 4 years ago
I just realized that I swapped the subnet and gateway in the main loop. Regardless, the issue is still there even after I fixed it.
Decode backtrace, which will give your more information.
anybody out there able to help? still haven't figured it out :/
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.
@BlueAndi did you ever figure out the issue you were having with this?
@CircuitSetup I didn't have this issue, the origin author was @aliyehia92. I requested to decode the backtrace, but never happened.
Hello.
I've been trying to solve this issue for 5 days now. I have an ESP32 hooked up to an ethernet PHY (LAN8720), and what I'm trying to do is allow users to config the ethernet interface from the web browser.
Basically I have a form containing 3 text inputs for the IP, subnet mask, and gateway, and when the user submits the form an XMLHttprequest is sent:
On the ESP, the below code runs when the request is received:
the variable config_ethernet is there just to trigger an action on the main loop, I don't want to run any action on the asyncwebserver which can cause delays as per the documentation:
The reason I'm using static values for the config in the main loop is to make sure that the issue is not caused somehow by receiving the values from the browser then converting them to IPAddress objects. So I decided to just put in static values and run the test again and still the ESP reboots when I submit the form. Sometimes it works, sometimes it reboots on the second try, sometimes it reboots on the third try, so there's no pattern here.
Below is what I'm getting on the serial monitor:
What am I doing wrong here?