-
Notifications
You must be signed in to change notification settings - Fork 117
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
ESP32-C3 issues #161
Comments
Could you try my fork in https://brianignacio5.github.io/esptool-js/ which implement #160 changes ? |
Should be also be fixed with latest changes in fork in https://brianignacio5.github.io/esptool-js/ which implement #160 changes ? |
Hi, It looks like it is programming the ESP32-C3,
|
@EmileSpecialProducts It is not boot looping. My chip is reported by esptool as a C3 revision 4. It's also connected via BLE to my mac, but no idea what I'm doing with it so my test ends there.
|
tyeth I have test your version on the C3 Supper mini and it will program en the Turtle-ESP-mouse-jiggler code and will run. |
@EmileSpecialProducts @tyeth the esp32 C3 issue you were having was related to the app itself or esptool-js ? If the flashing is correct it shouldn't be but I wanted to get your feedback on that. |
brianignacio5 I have just tested your version And the same Bin files look like they are programming but the Software will not start but reports invalid handel. |
I will try to reproduce here with esp32c3-devkitM-1 which is the one I have here. I could try to get a esp32c3 DIO board but need some days. Do you have a link of the board you are using ? So I make sure to get the right one. |
brianignacio5 I now tested it on the C3 Supper minim that is just a plan ESP32-C3-4N Chip and see the same issue. so you do not need a DIO board, when you have a DIO software it will run on a QIO Chip/board only will not be as fast as a QIO compiled software. |
@brianignacio5 I had no problems programming the C3. I did have a bit of an issue with reading data (was timing out part way through) when reading the whole flash chip using my fork, on the S2 and another chip, which I had only seen occasionally before, but maybe that was a crap usb cable (it goes through a hub) or unstable computer (Mac running betas). Either way unrelated. On a similarly related but unrelated note, it would be much appreciated if there could be a release made, so that the cdn UnPkg get's it's scripts updated. (We - adafruit - are holding off on updating our ESPtool due to the S2 stub issue until there is a new release, but we've added the no-reset option to support our M4 + ESP32 coprocessor boards like the PyPortal so want to get it out) |
I think the issue is that when i Program the C3 in 4 parts it will not program correctly. |
Hi @EmileSpecialProducts I've tested with esp32c3 devkitm-1 and got this in the console output:
Could you tell me what is the expected output ? I was looking into the code. It seems there is some padding to the image based on image length: const reminder = options.fileArray[i].data.length % 4;
if (reminder > 0) image += "\xff\xff\xff\xff".substring(4 - reminder); An invalid header might occur if the previous image has appended this values at beginning of bootloader. A single bin file would not show this issue since it would append it at the end. Does it work correctly using esptool.py ? Anyway I tried using a similar padTo function in #166 which is live in https://brianignacio5.github.io/esptool-js/ Could you take a look please ? |
Hi @tyeth I will make a new release immediately after this C3 issue. Later will take a look at your read partition PR which looks pretty nice. |
Amazing, thanks Brian! |
I just pushed a new release to npm (v0.5.2) due to some publish issues I had before. PTAL @tyeth About @EmileSpecialProducts apologies I wanted to fix this issue before but need to push work forward. Feel free to try my fork with the PR #166 to see if these fix the issues or we can keep looking the problem. |
Test performed 2024-12-11 C3 Supper mini Interface USB, Separate Files Status Ok Great work done!!! |
@brianignacio5 just retested the bundle. Looks good (for the s2), so I'd imagine the chip json objects all got fixed up. Nice work! |
Closing this issue due to lack of response from original user. Please try latest version and comment here if you have any more issues. |
Checklist
How often does this bug occurs?
always
Description:
In a Setup where the https://espressif.github.io/esptool-js/ works really fine on both ESP32 and ESP32S3 i experience Problems when using a M5 Stack https://shop.m5stack.com/products/m5stamp-c3u-mate-with-pin-headers with a ESP-PROG.
the Connection does not establish.
The text was updated successfully, but these errors were encountered: