mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-29 20:38:44 +03:00
Remove EEPROM spot check after chip erase from bootloaders
Bootloaders emulate chip erase (if at all) so EEPROM is unlikely erased
This commit is contained in:
@@ -362,7 +362,7 @@ for (( p=0; p<$arraylength; p++ )); do
|
||||
command=(${avrdude[@]} -e -Uflash:v:$tfiles/holes_flash_0xff_${FLASH_SIZE}B.hex)
|
||||
execute "${command[@]}"
|
||||
result [ $? == 0 ]
|
||||
if [[ $? == 0 && $check_eeprom -eq 1 ]]; then
|
||||
if [[ $? == 0 && $check_eeprom -eq 1 && $is_bootloader -eq 0 ]]; then
|
||||
specify="spot check eeprom is erased, too"
|
||||
command=(${avrdude[@]} -Ueeprom:v:$tfiles/holes_eeprom_0xff_${EE_SIZE}B.hex)
|
||||
execute "${command[@]}"
|
||||
|
||||
Reference in New Issue
Block a user