Files
gnwmanager/tutorials/erase.md
2023-10-28 15:36:28 -07:00

1.5 KiB

Flash Erasing

Frequently, you may want to erase some of the device's flash, to confirm things are working as expected.

$ gnwmanager erase --help

 Usage: gnwmanager erase [OPTIONS] LOCATION:{bank1|bank2|ext|all}

 Erase a section of flash.

╭─ Arguments ───────────────────────────────────────────────────────────────────────╮
│ *    location      LOCATION:{bank1|bank2|ext|all}  Section to erase. [required]   │
╰───────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ─────────────────────────────────────────────────────────────────────────╮
│ --help  -h        Show this message and exit.                                     │
╰───────────────────────────────────────────────────────────────────────────────────╯

For example, to only erase bank1, run:

gnwmanager erase bank1