From 970068b86d8fb8d2e6f121a0544c8e8fe9d0022b Mon Sep 17 00:00:00 2001 From: Zhenpeng Zhou Date: Fri, 25 May 2018 14:58:00 -0700 Subject: [PATCH] solve the error of 'USBError: [Errno 16] Resource busy' --- host-software/uniflash/uniflash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host-software/uniflash/uniflash.py b/host-software/uniflash/uniflash.py index 9c69c7d..f7948e3 100755 --- a/host-software/uniflash/uniflash.py +++ b/host-software/uniflash/uniflash.py @@ -436,7 +436,7 @@ def write_hexfile(self, filename, generate_crc=None): ) exit(1) - + boot_dev.reset() detach_kernel_drivers(boot_dev, [0, 1]) boot_writer = BootloaderWriter(boot_dev)