butterfly: document chip erase

This commit is contained in:
Olaf Rempel 2020-02-01 21:56:25 +01:00
parent 9119ee215b
commit 890158860b

View File

@ -106,7 +106,7 @@ static int bfly_optarg_cb(int val, const char *arg, void *privdata)
} }
break; break;
case 'e': /* no verify after write */ case 'e': /* chip erase */
p_priv->chip_erase = 1; p_priv->chip_erase = 1;
break; break;
@ -115,6 +115,7 @@ static int bfly_optarg_cb(int val, const char *arg, void *privdata)
fprintf(stderr, "Usage: butterfly_prog [options]\n" fprintf(stderr, "Usage: butterfly_prog [options]\n"
" -a <address> - optional: twi address for twiboot bridge mode\n" " -a <address> - optional: twi address for twiboot bridge mode\n"
" -d <device> - selects butterfly serial device\n" " -d <device> - selects butterfly serial device\n"
" -e - executes a chip erase\n"
" -r <flash|eeprom>:<file> - reads flash/eeprom to file (.bin | .hex | -)\n" " -r <flash|eeprom>:<file> - reads flash/eeprom to file (.bin | .hex | -)\n"
" -w <flash|eeprom>:<file> - write flash/eeprom from file (.bin | .hex)\n" " -w <flash|eeprom>:<file> - write flash/eeprom from file (.bin | .hex)\n"
" -n - disable verify after write\n" " -n - disable verify after write\n"