Skip to content

Commit d60473d

Browse files
author
Marti Bolivar
committed
stm32loader.py: Improve error message on failed init.
Signed-off-by: Marti Bolivar <[email protected]>
1 parent 69f24a0 commit d60473d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support/stm32loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def read(filename):
448448
try:
449449
cmd.initChip()
450450
except CmdException:
451-
print("Can't init. Ensure that BOOT0 is enabled and reset device")
451+
print("Can't init. Ensure BOOT0=1, BOOT1=0, and reset device")
452452

453453
bootversion = cmd.cmdGet()
454454

0 commit comments

Comments
 (0)