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

Flashing of firmware for BMS with ESP32-C3 MCU #23

Closed
martinjaeger opened this issue Apr 13, 2022 · 1 comment
Closed

Flashing of firmware for BMS with ESP32-C3 MCU #23

martinjaeger opened this issue Apr 13, 2022 · 1 comment

Comments

@martinjaeger
Copy link
Member

Depending on the version of the factory programmed firmware on the ESP32-C3 it may have a bug that leads to frequent disconnects of the USB serial and re-enumeration of the device.

The solution is to try multiple times to flash firmware built with most recent ESP-IDF (e.g. the hello world example from ESP-IDF or directly the BMS firmware) until it succeeds. After a new custom firmware is flashed once, the error should be gone.

@martinjaeger
Copy link
Member Author

With upgrade of Zephyr to v3.1, which includes a new version of esptool.py, flashing works very well.

Just pushed the updates to main and will close this issue.

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

No branches or pull requests

1 participant