-
Notifications
You must be signed in to change notification settings - Fork 133
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
Cannot read flash partition #697
Comments
Can you try again with |
Here's the result:
|
same hier
but with esptool.py it works
|
Same here, also trying to dump the default NVS partition of my ESP32-S3 devboard (a Heltec LoRa 32 V3).
Here's the full log, when running with Doing the same operation with
I am able to use
I'm also able to change the data, write it, and read it back just fine:
A minor observation is that for some reason, every time I re-write the partition and try reading it again, it changes how many bytes the error message says it received, just by a few bytes back or forth seemingly at random (I've seen Happy to provide any additional information, help debug things, etc., but I'm a bit lost as to where to even start with this. |
I discovered something very interesting: it seems to work fine as long as I ask for |
I guess we should compare both implementations: |
I think we encountered this issue on our HIL setup:
Locally, I can reproduce the issue on some devkits, but in other devkits it works fine:
|
* ci: Use job.env to avoid duplications * ci: Add erase-region, hold-in-reset, reset and checksum-md5 tests * ci: Use bash scripts * cI: Update workflow * feat: Udpate testing elfs * test: Read 0x2000 bytes of flash * docs: Add TODOs for issue #697 * fix: Typo Co-authored-by: Jesse Braham <[email protected]> * docs: Improve the todo comment --------- Co-authored-by: Jesse Braham <[email protected]>
Small update, after some investigation this appears to be an issue with the flasher stub. I was able to successfully read sizes larger than 0x1000 by using the old C stub. Will try to hunt down what's going wrong there. |
This is a stub issue, we have esp-rs/esp-flasher-stub#75 to track it, and we may go back to using the C stubs (at least for the moment) in |
I cannot read flash partitions with espflash on an esp32-s3 devkit over UART.
I am able to do the same with esptool.py:
I don't know what is missing?
The text was updated successfully, but these errors were encountered: