From 890158860bf1da309bfa8ec09ee74c5e8c101c22 Mon Sep 17 00:00:00 2001 From: Olaf Rempel Date: Sat, 1 Feb 2020 21:56:25 +0100 Subject: [PATCH] butterfly: document chip erase --- butterfly.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/butterfly.c b/butterfly.c index 75cdfd5..f26b44f 100644 --- a/butterfly.c +++ b/butterfly.c @@ -106,7 +106,7 @@ static int bfly_optarg_cb(int val, const char *arg, void *privdata) } break; - case 'e': /* no verify after write */ + case 'e': /* chip erase */ p_priv->chip_erase = 1; break; @@ -115,6 +115,7 @@ static int bfly_optarg_cb(int val, const char *arg, void *privdata) fprintf(stderr, "Usage: butterfly_prog [options]\n" " -a
- optional: twi address for twiboot bridge mode\n" " -d - selects butterfly serial device\n" + " -e - executes a chip erase\n" " -r : - reads flash/eeprom to file (.bin | .hex | -)\n" " -w : - write flash/eeprom from file (.bin | .hex)\n" " -n - disable verify after write\n"