samd: Propagate security after setting security by chip reset.
This commit is contained in:
parent
1d707efa47
commit
5bc743d221
|
@ -847,8 +847,9 @@ static bool samd_cmd_ssb(target *t, int argc, const char **argv)
|
||||||
if (target_check_error(t))
|
if (target_check_error(t))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
tc_printf(t, "Set the security bit! "
|
tc_printf(t, "Security bit set! "
|
||||||
"You will need to issue 'monitor erase_mass' to clear this.\n");
|
"Scan again, attach and issue 'monitor erase_mass' to reset.\n");
|
||||||
|
|
||||||
|
target_reset(t);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue