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

Using erase_region with esptool.py #78

Open
PurpleAir opened this issue Apr 12, 2019 · 0 comments
Open

Using erase_region with esptool.py #78

PurpleAir opened this issue Apr 12, 2019 · 0 comments

Comments

@PurpleAir
Copy link

PurpleAir commented Apr 12, 2019

Hello

I have been playing around with esptool.py as an alternative to this in Arduino.

I have a question about the -cz command in this tool as opposed to the erase_region command in esptool.py.

How can we translate the -ca and -cz addresses to be used in the esptool.py erase_region command?

For instance:
Arduino uses esptool -vv -cd nodemcu -cb 921600 -cp /dev/cu.wchusbserial1430 -ca 0xFC000 -cz 0x4000 -ca 0x00000 -cf /thebinfile.bin to flash with the option to "Erase sketch + WiFi settings"

However, using esptool.py --baud 921600 --port /dev/cu.wchusbserial1430 erase_region 0xFC000 0x4000 does not erase the WiFi settings.

What am I missing?

Thank you!
Adrian

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