-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
I2C Failure After Launching HTTP Client Task (IDFGH-14322) #15114
Comments
The error message is |
I suspect the HTTP client is overwriting a memory section used by the I2C driver. I have several tasks utilizing I2C, and they work fine as long as the HTTP client-related task is not running. However, when I trigger the HTTP client task, error messages begin appearing, regardless of whether a file is being downloaded from AWS Cloud or not. |
I see your code but seems not very helpful. Maybe a minimum reproducable project (including app_main) interface would be helpful for debugging. Perhaps it's not an I2C issue seems. |
I try to put something together based on a dev-board. currently, it is ruing on our board. |
Hello @kevinkfci , Is this issue still occurring? If not, could you please share the steps you took to resolve it? If the issue persists, feel free to reach out with a concise, reproducible example so we can assist you further in debugging. |
yes, it is still there, I have not found any solution yet. |
Answers checklist.
General issue report
Everything operates as designed and expected until a command is issued to activate the HTTP client task and download a file from the AWS cloud. I encountered a similar issue when testing OTA examples with the HTTP client.
Once the HTTP client is launched, it begins to interfere with the I2C portion of the code, producing the following error. Even after stopping the HTTP client task, the error messages persist on the console port and do not stop.
At this stage, I am confident that the HTTP client is the source of the problem. I have divided the code into smaller sections, integrated them into my project, and tested each part. The issue consistently occurs as soon as the HTTP client is called. I am not sure what I have missed or if there is any HTTP client patch I have overlooked. I have tried different task approaches, such as changing task priority, but none of them have helped.
I am using ESP-IDF version 4.4.5 and cannot use the latest code due to compatibility constraints.
please help!!!
I have attached the following files for reference:
bootuplog.txt
sdkconfig.txt
errormessage.txt
http_mp3_pwm.zip
The text was updated successfully, but these errors were encountered: