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

[ESP_MODEM] Where is target_ota test located? (IDFGH-13781) #664

Closed
3 tasks done
mbastida123 opened this issue Sep 27, 2024 · 1 comment · Fixed by #678
Closed
3 tasks done

[ESP_MODEM] Where is target_ota test located? (IDFGH-13781) #664

mbastida123 opened this issue Sep 27, 2024 · 1 comment · Fixed by #678

Comments

@mbastida123
Copy link

Answers checklist.

  • I have read the documentation for esp-protocols components and the issue is not addressed there.
  • I have updated my esp-protocols 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

From the documentation of esp_modem there are some guidelines with OTA:

When using UART terminal, you might find running OTA over https quite unstable, exhibiting frequent UART buffer overflows. The reason for that is that ESP32's UART is interrupt driven, so while performing computational extensive tasks with TLS session, we need to timely interrupt to process incoming data. Here'are few suggestions to mitigate the impact: * Move UART ISR to IRAM * Increase internal UART rx buffer size * Increase UART terminal task priority * Use UART flow control If none of the above helps, you can check the test target_ota, which performs OTA in two steps -- first read the data, then pass the data to mbedTLS. See the test README.md for more details.

But I cannot find the target_ota test in the repo. Can someone point me to it?

@espressif-bot espressif-bot added the Status: Opened Issue is new label Sep 27, 2024
@github-actions github-actions bot changed the title [ESP_MODEM] Where is target_ota test located? [ESP_MODEM] Where is target_ota test located? (IDFGH-13781) Sep 27, 2024
@david-cermak
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants