From 61a02c0568f964b539f4ba9467375d49ad28c42e Mon Sep 17 00:00:00 2001 From: Eric Siegel Date: Wed, 30 Mar 2022 09:00:06 -0400 Subject: [PATCH] increase teensy write timeout to 2 seconds the loader did not work consistently with a timeout of 0.5 for a new batch of the DVJ6B chips I got in. Experimenting, a 1.0s timeout also did not work consistently, but 2.0 has worked every time. --- teensy_loader_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teensy_loader_cli.c b/teensy_loader_cli.c index 84e5400..f83a19c 100644 --- a/teensy_loader_cli.c +++ b/teensy_loader_cli.c @@ -191,7 +191,7 @@ int main(int argc, char **argv) } else { die("Unknown code/block size\n"); } - r = teensy_write(buf, write_size, first_block ? 5.0 : 0.5); + r = teensy_write(buf, write_size, first_block ? 5.0 : 2.0); if (!r) die("error writing to Teensy\n"); first_block = 0; }