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

bug with device-install script and CH9102F usb-serial adapter #911

Closed
PlumRugOfDoom opened this issue Oct 30, 2021 · 1 comment
Closed

Comments

@PlumRugOfDoom
Copy link
Contributor

PlumRugOfDoom commented Oct 30, 2021

I recently bought a t-beam 1.0 from banggood that was shipped with the CH9102F usb-serial adapter. I tried flashing the firmware with the provided device-install script but the script fails at erasing the flash:

Trying to flash /home/user/Downloads/firmware-1.2.45.b674054/firmware-tbeam-1.2.45.b674054.bin, but first erasing and writing system information
esptool.py v3.1
Serial port /dev/ttyACM0
Connecting.....
Detecting chip type... ESP32
Chip is ESP32-D0WDQ6-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 08:3a:f2:66:df:20
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Erasing flash (this may take a while)...

A fatal error occurred: Failed to erase flash. Only got 1 byte status response.

Executing the script again seems to be working but the flash is erased in a very short time (0.3s). However the device is working just fine.
Removing the --baud 921600 option from the device-install script seems to fix the problem

PlumRugOfDoom added a commit to PlumRugOfDoom/Meshtastic-device that referenced this issue Dec 27, 2021
thebentern added a commit that referenced this issue Dec 28, 2021
fix for #911

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
@PlumRugOfDoom
Copy link
Contributor Author

see #1029

thebentern added a commit that referenced this issue Jan 1, 2022
* Update device-install.sh

fix for #911

* add status led for diy target

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
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