Search found 43 matches

by aaquilina
Fri Jul 14, 2017 7:21 am
Forum: ESP-IDF
Topic: WiFi Station crashes after HTTP request
Replies: 0
Views: 3197

WiFi Station crashes after HTTP request

Hi, I have recently upgraded my framework to the latest version and the code I had written to handle TCP and HTTP over WiFi keeps crashing after a couple of HTTP requests. I'm getting an "bcn_timout, ap_probe_send_start" log. I attached the log below. I also have Ethernet code which works perfectly ...
by aaquilina
Mon Jul 03, 2017 7:10 am
Forum: General Discussion
Topic: ESP32 Ethernet Crashing whole LAN
Replies: 6
Views: 9962

Re: ESP32 Ethernet Crashing whole LAN

I found the function that was crashing the network. For some reason it was the failed creation of a task to handle my serial comms. However, I dont know what that has to do with the network. Don't know router models cause i dont have physical access to that room. As a temporary fix, I'm resetting th...
by aaquilina
Wed Jun 14, 2017 7:17 am
Forum: ESP-IDF
Topic: EMAC TX Chain Error
Replies: 1
Views: 3878

EMAC TX Chain Error

Hi, I'm continually requesting data over TCP using Ethernet from the ESP32 and after a while I started to get this error: https://snag.gy/FcCAMz.jpg However, the transmission continues to function correctly and I still get my data. I traced this error back to emac_main.c. https://snag.gy/b6pLY0.jpg ...
by aaquilina
Mon Jun 12, 2017 7:25 am
Forum: General Discussion
Topic: ESP32 Ethernet Crashing whole LAN
Replies: 6
Views: 9962

Re: ESP32 Ethernet Crashing whole LAN

I'll try find out what steps reproduce it this week.
by aaquilina
Fri Jun 09, 2017 1:22 pm
Forum: General Discussion
Topic: ESP32 Ethernet Crashing whole LAN
Replies: 6
Views: 9962

ESP32 Ethernet Crashing whole LAN

Has anyone ever encountered an issue where the ESP32 hangs completely (the log output stops mid timestamp) and crashed the entire LAN network? By this I mean, no computer on the same LAN can access either the internet nor the local server for files? In the case that no one has, anyone has any sugges...
by aaquilina
Thu Jun 08, 2017 9:15 am
Forum: ESP-IDF
Topic: RS-485 support
Replies: 27
Views: 57375

Re: RS-485 support

@hwmaier I have found a solution but its not the most elegant. I'm resetting the RX_FIFO before disabling my TX_EN in the driver
EDIT: This is an edit on your PR.
Image
by aaquilina
Thu Jun 08, 2017 8:52 am
Forum: ESP-IDF
Topic: RS-485 support
Replies: 27
Views: 57375

Re: RS-485 support

@hwmaier I am working with your PR however the 0x00 byte is still coming in after applying your latest fix.

What does the RX loopback do?
by aaquilina
Thu Jun 08, 2017 8:09 am
Forum: ESP-IDF
Topic: RS-485 support
Replies: 27
Views: 57375

Re: RS-485 support

Is there any way to prevent the RX buffer being filled while rts is low? That is, in RS485 mode. I've tried disabling the interrupt but of course the buffer is still being filled.I thought of changing the rx input to an output but my rx is on pin 36 which is input only. The reason I need to do this ...
by aaquilina
Mon Jun 05, 2017 11:26 am
Forum: ESP-IDF
Topic: RS-485 support
Replies: 27
Views: 57375

Re: RS-485 support

@hwmaier Excellent, that worked perfectly. I just had to switch the levels in the code because my TX is active high.
by aaquilina
Fri Jun 02, 2017 2:07 pm
Forum: ESP-IDF
Topic: RS-485 support
Replies: 27
Views: 57375

Re: RS-485 support

@hwmaier The GPIO is initialised because it goes high without issue before writing the bytes. Is the TX_DONE interrupt enabled by default? I tried adding it to the driver install function but when I run the code, the panic handler gets invoked and reboots the ESP. EDIT: To be clear, I also dont see ...