Skip to content
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

Open
3 tasks done
kevinkfci opened this issue Dec 30, 2024 · 6 comments
Open
3 tasks done

I2C Failure After Launching HTTP Client Task (IDFGH-14322) #15114

kevinkfci opened this issue Dec 30, 2024 · 6 comments
Labels
Status: Opened Issue is new

Comments

@kevinkfci
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

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

@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 30, 2024
@github-actions github-actions bot changed the title I2C Failure After Launching HTTP Client Task I2C Failure After Launching HTTP Client Task (IDFGH-14322) Dec 30, 2024
@mythbuster5
Copy link
Collaborator

The error message is i2c driver not installed?

@kevinkfci
Copy link
Author

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.

@mythbuster5
Copy link
Collaborator

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.

@kevinkfci
Copy link
Author

I try to put something together based on a dev-board. currently, it is ruing on our board.

@nileshkale123
Copy link
Collaborator

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.

@kevinkfci
Copy link
Author

yes, it is still there, I have not found any solution yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

4 participants