-
Notifications
You must be signed in to change notification settings - Fork 111
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
Lolin S2 mini : Error: Invalid custom reset sequence #135
Comments
Are you using https://espressif.github.io/esptool-js/ or you are using esptool-js on your own project? If you are using your own project, which reset sequence are you using ? Are you implementing your own sequence string and how does it look like ? |
I have the same problem on the WEMOS LOLIN S2. You can find my project Turtle-ESP-mouse-jiggler
Consol log of the https://espressif.github.io/esptool-js/
|
I have the same problem on the WEMOS LOLIN S2. You can find my project Turtle-ESP-mouse-jiggler This also has a script for platformIO to create the Bin files. esptool.js |
Could you try my fork in https://brianignacio5.github.io/esptool-js/ which implement #160 changes ? |
I have tested the ESP32-S2(usb) and it still will not program the board. You can find my project Turtle-ESP-mouse-jiggler esptool.js Debug: Chip Magic 7c6 TRACE 3172.000 command op:0x08 data len=36 wait_response=1 timeout=0.100 data= |
I think I may have found the culprit. Esp32s2 was missing the post connect function that update the ESP_RAM_BLOCK for S2 chips. Changes are up in https://brianignacio5.github.io/esptool-js/ Could you please try again ? Apologies for the trouble. |
No trouble. Programming is not working the Write is at 100% in 0 ms as it looks. Screen Log:
Trace:
|
Same issue, though with the branch mine seems to get a bit further?
|
Hi @EmileSpecialProducts I've found that the IS_STUB was not being set so the flash values were not being picked correctly. Now I fixed it and tested here with your Turtle mouse jiggler binaries on a ESP32s2 wemos Could you please retry my fork in https://brianignacio5.github.io/esptool-js/ with Show Debug log enabled ? |
I have mange to Program the ESP32-S2 Lolin S2 Mini. esptool.js Debug: Chip Magic 7c6 |
Hi @Theaninova Could you please retry my fork in https://brianignacio5.github.io/esptool-js/ with Show Debug log enabled ? |
The device just reboots after the _connect_attempt, I also tried it with
I should note that the device already has firmware on it, I'm not sure if a device without firmware would reboot to bootloader fast enough to where the serial connection did not get interrupted? I also used the 1200 baud connection to get it into bootloader before if that is relevant. |
Which device are you using @Theaninova ? It seems that setDTR or setRTS are not being sent so reset is not being done and sync is not being done. This is using the default reset strategy from esptool.py. Does it work with esptool.py ? Could you share the tracing output ? |
I was using a CharaChorder Lite S2
|
This works! |
Hi,
I'm unable to flash mi device. Here is the result:
The text was updated successfully, but these errors were encountered: