如何备份 NodeMCU 固件?

How to backup NodeMCU firmware?

如何在升级前备份我的 NodeMCU 固件?

注意:我是这方面的新手。我以前从未使用过 NodeMCU。我还有其他编程技能,所以编程对我来说并不陌生。

esptool.py 有一个(未记录的)read_flash option,您可以使用它来将固件从 0x0000 读取回本地文件。

$ esptool.py read_flash
usage: esptool read_flash [-h] [--no-progress] address size filename
esptool read_flash: error: too few arguments