diff options
author | Andreas Auras <yak54@gmx.net> | 2010-02-18 20:10:35 +0100 |
---|---|---|
committer | Andreas Auras <yak54@gmx.net> | 2010-02-18 20:10:35 +0100 |
commit | 8782389a1b25b78deaac8cb101140b243ff7293e (patch) | |
tree | 0f9b248cc1a93c8aabb55feed8febabd1e502b02 | |
parent | b7888a37e2c2bce1a97e3942b7bf5719cc8865d2 (diff) | |
download | df10ch-atmolight-controller-8782389a1b25b78deaac8cb101140b243ff7293e.tar.gz df10ch-atmolight-controller-8782389a1b25b78deaac8cb101140b243ff7293e.tar.bz2 |
Increase delays within firmware update feature
-rw-r--r-- | df10ch_setup.py | 2 | ||||
-rw-r--r-- | df10ch_setup_pkg/device_dlg.py | 8 | ||||
-rw-r--r-- | setup.py | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/df10ch_setup.py b/df10ch_setup.py index ea2fa51..4bb4b2b 100644 --- a/df10ch_setup.py +++ b/df10ch_setup.py @@ -35,7 +35,7 @@ from df10ch_setup_pkg.white_cal_dlg import WhiteCalDialog from df10ch_setup_pkg.bright_dlg import BrightDialog import df10ch_setup_pkg.device_drv -TITLE = "DF10CH Setup V1" +TITLE = "DF10CH Setup V2" print parser = OptionParser(version=TITLE) parser.add_option("-s", "--simulate", action="store", type="int", dest="simulate", default=0, help="Set simulated number of DF10CH controller's") diff --git a/df10ch_setup_pkg/device_dlg.py b/df10ch_setup_pkg/device_dlg.py index a473117..0d48f2e 100644 --- a/df10ch_setup_pkg/device_dlg.py +++ b/df10ch_setup_pkg/device_dlg.py @@ -356,7 +356,7 @@ class DeviceDialog: i = i + 1 if firstPage: ctrl.write_flash_page(firstPage.baseAddr, firstPage.data) - time.sleep(1.0) + time.sleep(3.0) i = 1 for fp in fw.pageList: @@ -364,7 +364,7 @@ class DeviceDialog: data = ctrl.read_flash(fp.baseAddr, fp.pageSize) fp.verify(data) i = i + 1 - time.sleep(1.0) + time.sleep(3.0) else: tkMessageBox.showerror(self.root.winfo_toplevel().title(), "{0}: Bootloader of USB controller does not start!".format(ctrl.id)) doFlash = False @@ -388,7 +388,7 @@ class DeviceDialog: i = i + 1 if firstPage: ctrl.write_pwm_flash_page(firstPage.baseAddr, firstPage.data) - time.sleep(1.0) + time.sleep(3.0) i = 1 for fp in fw.pageList: @@ -396,7 +396,7 @@ class DeviceDialog: data = ctrl.read_pwm_flash(fp.baseAddr, fp.pageSize) fp.verify(data) i = i + 1 - time.sleep(1.0) + time.sleep(3.0) else: tkMessageBox.showerror(self.root.winfo_toplevel().title(), "{0}: Bootloader of PWM controller does not start!".format(ctrl.id)) doFlash = False @@ -23,7 +23,7 @@ from distutils.core import setup setup(name='df10ch_setup', - version='1', + version='2', description='DF10CH Setup program', author='Andreas Auras', author_email='yak54@gmx.net', |