From 838a8abe7b636277e398e0ffd9faa6b2c677cd34 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Fri, 9 Aug 2024 14:03:00 +0200 Subject: [PATCH] tools: Update flasher script to new bus layout --- tools/flash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/flash.py b/tools/flash.py index 4bb4411..2a701f4 100755 --- a/tools/flash.py +++ b/tools/flash.py @@ -56,7 +56,7 @@ def get_diff(a, b): def probe(): r = sread(0, 4, quiet = True); - if r != b'7\x03\x00\x81': + if r is None: eprint("ERROR: Probe failed! Check that the device is in bootloader mode.") return 1 return 0