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

Add backup option #53

Open
rt400 opened this issue Aug 22, 2019 · 5 comments
Open

Add backup option #53

rt400 opened this issue Aug 22, 2019 · 5 comments

Comments

@rt400
Copy link

rt400 commented Aug 22, 2019

hi..
there is a way to add a backup option ?

@artmg
Copy link

artmg commented Oct 5, 2019

According to these instructions esptool has a read_flash instruction that could be used for a backup option

# back up 1MB image
esptool.py --port COM5 read_flash 0x00000 0x100000 image1M.bin
# back up 4MB image
esptool.py --port COM5 read_flash 0x00000 0x400000 image4M.bin

so it should be possible, in main.py to add a second click button called backup First and get this to run one or both of the commands above. You might presume the location to save to from the location of the firmware file chosen with the Browse button.

@marcelstoer
Copy link
Owner

marcelstoer commented Oct 6, 2019

This was designed as a single-purpuse app (kind of) - simplicity is key. There has to be a lot of convincing demand from the community until I consider adding more options and features. I'll keep this open for now, though.

@kerozen54
Copy link

Hi all.
Yes, this will be a great feature for this tool.
It is a question of security first. Backup the actual firmware before flashing a new one seems to be a necessary option.

@IanAdd
Copy link

IanAdd commented May 7, 2020

Yes please, backup would be a safer way forward in case of issues with an unproven device.

@marcelstoer
Copy link
Owner

Note to self: if we'll add this then it has to be done in a way that does not clutter the GUI even more; at most a simple "Backup yes/no" switch like with the erase flash option. Backup destination will be the OS/profile temp dir.

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

5 participants