Something was recently changed in ESP-IDF and now I can no longer program at 1500000 baud. The max it will do is 115200. Anything higher than that and I get:
A fatal error occurred: Invalid head of packet
Any ideas what could be causing this? Nothing changed but the esp-idf was updated. 1500000 baud used to work just fine.
esptool fatal error
Re: esptool fatal error
Hi kostyan,
What OS are you on and which esptool version are you using (it's printed in the output)?
esptool v2.2 (which was just updated on IDF master branch) had a bug with high baud rates which is fixed in v2.2.1. We'll be updating the version in ESP-IDF shortly.
In the meantime, you can update it yourself by
If this doesn't resolve the issue, please provide more details about your host OS, development hardware, and full output from esptool.py.
Angus
What OS are you on and which esptool version are you using (it's printed in the output)?
esptool v2.2 (which was just updated on IDF master branch) had a bug with high baud rates which is fixed in v2.2.1. We'll be updating the version in ESP-IDF shortly.
In the meantime, you can update it yourself by
Code: Select all
cd components/esptool_py/esptool
git fetch origin
git checkout v2.2.1
Angus
Re: esptool fatal error
ESP_Angus, thanks for help. Updating esp tool to 2.2.1 fixed the issue.
Who is online
Users browsing this forum: No registered users and 85 guests