This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
Replies: 1 comment
-
Try with Arduino IDE to see if this is issue with PIO ???
If OK, then try with another board, or with normal Portenta_H7 (not Lite) and/or without Portenta Breakout. I'm afraid no one can help you if the issue persists (environment, settings, hardware, etc.) Ask on Arduino Forum or even Arduino core to see anybody can help with your strange problem. Good Luck, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
All of the Portenta_H7_AsyncWebServer examples are crashing on me. Most of them start out working, but after a few minutes, the Portenta will crash with a blinking LED code (4 long / 4 short). It appears that the crash occurs during the write to the browser (Chrome). Any of these examples will run all day if I do not make the connection from the browser. It always seems to crash on a request->send() call, but not always the same one. Sometimes it is in handleRoot() and sometimes in drawGraph().
The worst case is "Async_AdvancedWebServer_MemoryIssues_Send_CString.ino", which will crash every time on the first call to drawGraph request->send(). It does not seem to matter how much data I write.
I did figure out how to check the stack sizes, and it does appear that one process may be overflowing its allocated stack space. But I might be misinterpreting this. This is maximum stack size as measured by mbed, vers the reserved stack space.
// asynchronous WebServer https://github.com/khoih-prog/Portenta_H7_AsyncWebServer
If I use the "non-async" EthernetWebServer library, it will run all day without issue.
I see the same processes running, but the max stack sizes are quite different.
// normal WebServer https://github.com/khoih-prog/EthernetWebServer
Is there something I could be doing to cause this?
I am using a Portenta H7 Lite with Portenta Breakout.
I am using a cabled connection to my router.
I am using PlatformIO and the crazy long platformio.ini file that is included with the library, and building with the default environment (which builds for the M7 core).
I am using Portenta_H7_AsyncTCP v1.4.0 and Portenta_H7_AsyncWebServer v1.4.2
I had seen this same issue using Portenta_H7_AsyncWebServer v1.2.1
I am using a cable connection to my router.
Am I the only one that has this problem?
Beta Was this translation helpful? Give feedback.
All reactions