Joulescope UI not connecting to hardware

So, I borrowed a cowoker’s joulescope to try out on my laptop…but I simply can’t get the UI to connect to the hardware. I’m anxious to try it out…I appreciate any help!

  • The Joulescope LED is steady-on when plugged into the USB port
  • The UI comes up and reports 0 for everything in the "Multimeter view
  • Device Manager shows “Joulescope” under “Universal Serial Bus devices”: VID 16D0, PID 0E88, REV 003
  • I’ve tried downloading the .inf files referenced elsewhere to no effect
  • I’ve tried installing python 3.7.4 with no effect.
  • My system is fully up to date w.r.t. Windows Updates
  • I have tried a couple of different USB ports to no avail

Here is the console log:


  • Joulescope User Interface *
  • UI Version = 0.5.0 *
  • Driver Version = 0.5.0 *

info = {
“joulescope”: {
“ui_version”: “0.5.0”,
“driver_version”: “0.5.0”
},
“platform”: {
“name”: “win32”,
“python_version”: “3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]”,
“platform”: “Windows-10-10.0.18362-SP0”,
“processor”: “Intel64 Family 6 Model 142 Stepping 9, GenuineIntel”,
“executable”: “C:\Program Files (x86)\Joulescope\joulescope.exe”,
“frozen”: “C:\Program Files (x86)\Joulescope”,
“app_path”: “C:\Users\Isaac\AppData\Local\joulescope”,
“log_path”: “C:\Users\Isaac\AppData\Local\joulescope\log”
}
}

=====
ERROR:2019-08-10 10:21:39,853:main.py:940:joulescope_ui.main:during parameter_set
Traceback (most recent call last):
File “joulescope_ui\main.py”, line 938, in _on_param_change
File “site-packages\joulescope\driver.py”, line 200, in parameter_set
File “site-packages\joulescope\driver.py”, line 422, in _stream_settings_send
File “site-packages\joulescope\driver.py”, line 383, in _wait_for_sensor_command
RuntimeError: timed out
WARNING:2019-08-10 10:21:39,872:main.py:1010:joulescope_ui.main:_device_stream_start when no device

Here is the AppData log file:


  • Joulescope User Interface *
  • UI Version = 0.5.0 *
  • Driver Version = 0.5.0 *

info = {
“joulescope”: {
“ui_version”: “0.5.0”,
“driver_version”: “0.5.0”
},
“platform”: {
“name”: “win32”,
“python_version”: “3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]”,
“platform”: “Windows-10-10.0.18362-SP0”,
“processor”: “Intel64 Family 6 Model 142 Stepping 9, GenuineIntel”,
“executable”: “C:\Program Files (x86)\Joulescope\joulescope.exe”,
“frozen”: “C:\Program Files (x86)\Joulescope”,
“app_path”: “C:\Users\Isaac\AppData\Local\joulescope”,
“log_path”: “C:\Users\Isaac\AppData\Local\joulescope\log”
}
}

=====
INFO:2019-08-10 10:21:38,318:logging_util.py:142:root:logging configuration: stream_level=30, file_level=20
INFO:2019-08-10 10:21:38,318:main.py:1306:joulescope_ui.main:configure high DPI scaling
INFO:2019-08-10 10:21:38,318:main.py:1315:joulescope_ui.main:Start Qt
INFO:2019-08-10 10:21:38,619:main.py:747:joulescope_ui.main:_device_change add disable
INFO:2019-08-10 10:21:38,704:settings_widget.py:48:joulescope_ui.oscilloscope.settings_widget:on_signalsAvailable([‘current’], [‘current’])
INFO:2019-08-10 10:21:38,704:settings_widget.py:48:joulescope_ui.oscilloscope.settings_widget:on_signalsAvailable([‘current’, ‘voltage’], [‘current’, ‘voltage’])
INFO:2019-08-10 10:21:38,704:settings_widget.py:48:joulescope_ui.oscilloscope.settings_widget:on_signalsAvailable([‘current’, ‘voltage’, ‘power’], [‘current’, ‘voltage’])
INFO:2019-08-10 10:21:38,704:oscilloscope.py:343:joulescope_ui.oscilloscope.oscilloscope:on_scrollbarRegionChange(25.0, 30.0, 1)
INFO:2019-08-10 10:21:38,719:main.py:717:joulescope_ui.main:device_close None
INFO:2019-08-10 10:21:38,719:main.py:702:joulescope_ui.main:_developer_cfg_apply
INFO:2019-08-10 10:21:38,804:main.py:807:joulescope_ui.main:_device_scan start
INFO:2019-08-10 10:21:38,819:driver.py:1206:joulescope.driver:scan_for_changes 1 devices: 1 added, 0 removed
INFO:2019-08-10 10:21:38,819:main.py:747:joulescope_ui.main:_device_change add Joulescope:000380
INFO:2019-08-10 10:21:38,819:main.py:821:joulescope_ui.main:current device = disable, True
INFO:2019-08-10 10:21:38,819:main.py:823:joulescope_ui.main:device_scan activate first device Joulescope:000380
INFO:2019-08-10 10:21:38,819:main.py:717:joulescope_ui.main:device_close disable
INFO:2019-08-10 10:21:38,819:main.py:606:joulescope_ui.main:device_open Joulescope:000380
INFO:2019-08-10 10:21:38,819:device_thread.py:174:joulescope.usb.device_thread:open
INFO:2019-08-10 10:21:38,819:device_thread.py:116:joulescope.usb.device_thread:DeviceThread.run start
INFO:2019-08-10 10:21:38,819:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 10:21:38,819:device.py:596:joulescope.usb.winusb.device:WinUsbDevice.open
INFO:2019-08-10 10:21:38,819:device.py:625:joulescope.usb.winusb.device:is_high_speed = True
INFO:2019-08-10 10:21:38,819:device.py:626:joulescope.usb.winusb.device:interface_settings = InterfaceDescriptor(
length=9,
descriptor_type=4,
interface_number=0,
alternate_setting=0,
num_endpoints=2,
interface_class=255,
interface_sub_class=0,
interface_protocol=0,
interface=0)
INFO:2019-08-10 10:21:38,819:span.py:38:joulescope.span:Span([0.0, 30.0], 5e-07, 100)
INFO:2019-08-10 10:21:38,819:driver.py:256:joulescope.driver:info:
{
“type”: “info”,
“ver”: 1,
“ctl”: {
“mfg”: {
“country”: “USA”,
“location”: “MD_01”,
“lot”: “201927_00”
},
“hw”: {
“rev”: “H”,
“sn_mcu”: “8300303182C45FAA64D51A956091005F”,
“sn_mfg”: “000380”
},
“fw”: {
“ver”: “1.1.0”
},
“fpga”: {
“ver”: “0.2.0”,
“prod_id”: “0x9314acf2”
}
},
“sensor”: {}
}
INFO:2019-08-10 10:21:38,819:driver.py:231:joulescope.driver:serial number = 38000313284cf5aa465da159061900f5
INFO:2019-08-10 10:21:38,819:main.py:859:joulescope_ui.main:controller firmware is up to date: (1, 1, 0) >= (1, 1, 0)
INFO:2019-08-10 10:21:38,819:driver.py:231:joulescope.driver:serial number = 38000313284cf5aa465da159061900f5
INFO:2019-08-10 10:21:38,851:main.py:649:joulescope_ui.main:_control_ui_init
INFO:2019-08-10 10:21:38,851:main.py:670:joulescope_ui.main:control ui init i_range 8
INFO:2019-08-10 10:21:38,851:main.py:670:joulescope_ui.main:control ui init v_range 0
INFO:2019-08-10 10:21:38,851:main.py:688:joulescope_ui.main:_device_cfg_apply
INFO:2019-08-10 10:21:38,851:main.py:947:joulescope_ui.main:_param_cbk(source)
INFO:2019-08-10 10:21:38,851:main.py:933:joulescope_ui.main:param_name=source, value=raw, index=1
ERROR:2019-08-10 10:21:39,853:main.py:940:joulescope_ui.main:during parameter_set
Traceback (most recent call last):
File “joulescope_ui\main.py”, line 938, in _on_param_change
File “site-packages\joulescope\driver.py”, line 200, in parameter_set
File “site-packages\joulescope\driver.py”, line 422, in _stream_settings_send
File “site-packages\joulescope\driver.py”, line 383, in _wait_for_sensor_command
RuntimeError: timed out
INFO:2019-08-10 10:21:39,853:main.py:1189:joulescope_ui.main:Parameter set source failed, value=raw
INFO:2019-08-10 10:21:39,853:main.py:738:joulescope_ui.main:_device_recover: start
INFO:2019-08-10 10:21:39,853:main.py:758:joulescope_ui.main:_device_change remove
INFO:2019-08-10 10:21:39,853:main.py:717:joulescope_ui.main:device_close Joulescope:000380
INFO:2019-08-10 10:21:39,855:driver.py:516:joulescope.driver:stop
INFO:2019-08-10 10:21:39,855:device_thread.py:185:joulescope.usb.device_thread:close
INFO:2019-08-10 10:21:39,855:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 10:21:39,855:device_thread.py:93:joulescope.usb.device_thread:DeviceThread._cmd_process_all close
INFO:2019-08-10 10:21:39,855:device_thread.py:123:joulescope.usb.device_thread:DeviceThread.run flush
INFO:2019-08-10 10:21:39,855:device_thread.py:125:joulescope.usb.device_thread:DeviceThread.run done
INFO:2019-08-10 10:21:39,870:main.py:805:joulescope_ui.main:_device_scan already in progress
INFO:2019-08-10 10:21:39,870:main.py:743:joulescope_ui.main:_device_recover: done
INFO:2019-08-10 10:21:39,871:main.py:933:joulescope_ui.main:param_name=source, value=raw, index=1
INFO:2019-08-10 10:21:39,872:main.py:933:joulescope_ui.main:param_name=i_range, value=auto, index=0
INFO:2019-08-10 10:21:39,872:main.py:933:joulescope_ui.main:param_name=v_range, value=15V, index=0
INFO:2019-08-10 10:21:39,872:main.py:1045:joulescope_ui.main:_device_stream(True)
WARNING:2019-08-10 10:21:39,872:main.py:1010:joulescope_ui.main:_device_stream_start when no device
INFO:2019-08-10 10:21:39,872:main.py:702:joulescope_ui.main:_developer_cfg_apply
INFO:2019-08-10 10:21:39,872:main.py:827:joulescope_ui.main:_device_scan done
INFO:2019-08-10 10:21:39,873:win32_device_notify.py:80:joulescope.usb.winusb.win32_device_notify:open

Hi @ikester and welcome to the forum. Sorry to hear that your coworker’s Joulescope is not working for you, and thank you for the detailed information! Based upon the log, it looks like the sensor microcontroller is not communicating with the controller microcontroller. The most likely cause is that the sensor firmware upgrade did not fully complete for some reason. Don’t worry, we can fix this easily! Here are the steps:

  1. Disconnect your Joulescope
  2. Start the Joulescope UI
  3. Select FilePreferencesDevicefirmware_updatealways .
  4. Connect your Joulescope and wait for the firmware upgrade to complete
  5. Select FilePreferencesDevicefirmware_updateauto .

Once the firmware update completes, the Joulescope should begin working normally. If the Joulescope is still misbehaving, please respond here and I can help troubleshoot.

Thank you for getting back to me. But I don’t think it worked…

Application Log


  • Joulescope User Interface *
  • UI Version = 0.5.0 *
  • Driver Version = 0.5.0 *

info = {
“joulescope”: {
“ui_version”: “0.5.0”,
“driver_version”: “0.5.0”
},
“platform”: {
“name”: “win32”,
“python_version”: “3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]”,
“platform”: “Windows-10-10.0.18362-SP0”,
“processor”: “Intel64 Family 6 Model 142 Stepping 9, GenuineIntel”,
“executable”: “C:\Program Files (x86)\Joulescope\joulescope.exe”,
“frozen”: “C:\Program Files (x86)\Joulescope”,
“app_path”: “C:\Users\Isaac\AppData\Local\joulescope”,
“log_path”: “C:\Users\Isaac\AppData\Local\joulescope\log”
}
}

=====
INFO:2019-08-10 15:57:34,040:logging_util.py:142:root:logging configuration: stream_level=30, file_level=20
INFO:2019-08-10 15:57:34,040:main.py:1306:joulescope_ui.main:configure high DPI scaling
INFO:2019-08-10 15:57:34,040:main.py:1315:joulescope_ui.main:Start Qt
INFO:2019-08-10 15:57:34,594:main.py:747:joulescope_ui.main:_device_change add disable
INFO:2019-08-10 15:57:34,673:settings_widget.py:48:joulescope_ui.oscilloscope.settings_widget:on_signalsAvailable([‘current’], [‘current’])
INFO:2019-08-10 15:57:34,688:settings_widget.py:48:joulescope_ui.oscilloscope.settings_widget:on_signalsAvailable([‘current’, ‘voltage’], [‘current’, ‘voltage’])
INFO:2019-08-10 15:57:34,695:settings_widget.py:48:joulescope_ui.oscilloscope.settings_widget:on_signalsAvailable([‘current’, ‘voltage’, ‘power’], [‘current’, ‘voltage’])
INFO:2019-08-10 15:57:34,695:oscilloscope.py:343:joulescope_ui.oscilloscope.oscilloscope:on_scrollbarRegionChange(25.0, 30.0, 1)
INFO:2019-08-10 15:57:34,695:main.py:717:joulescope_ui.main:device_close None
INFO:2019-08-10 15:57:34,695:main.py:702:joulescope_ui.main:_developer_cfg_apply
INFO:2019-08-10 15:57:34,842:main.py:807:joulescope_ui.main:_device_scan start
INFO:2019-08-10 15:57:34,842:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:57:34,842:main.py:821:joulescope_ui.main:current device = disable, True
INFO:2019-08-10 15:57:34,842:main.py:827:joulescope_ui.main:_device_scan done
INFO:2019-08-10 15:57:34,842:win32_device_notify.py:80:joulescope.usb.winusb.win32_device_notify:open
INFO:2019-08-10 15:57:39,671:preferences.py:101:joulescope_ui.preferences:on_selection_change(<PySide2.QtCore.QItemSelection object at 0x000002050A8A0208>)
INFO:2019-08-10 15:57:42,708:preferences.py:101:joulescope_ui.preferences:on_selection_change(<PySide2.QtCore.QItemSelection object at 0x000002050A8A06C8>)
INFO:2019-08-10 15:57:57,338:main.py:1198:joulescope_ui.main:{‘General’: {‘data_path’: ‘C:\Users\Isaac\Documents\joulescope’, ‘update_check’: True, ‘log_level’: ‘INFO’}, ‘Device’: {‘autostream’: True, ‘source’: ‘raw’, ‘i_range’: ‘auto’, ‘v_range’: ‘15V’, ‘rescan_interval’: ‘off’, ‘firmware_update’: ‘always’}, ‘Waveform’: {‘show_min_max’: ‘lines’, ‘grid_x’: True, ‘grid_y’: True, ‘trace_width’: ‘1’}, ‘Developer’: {‘compliance’: False, ‘compliance_gpio_loopback’: False}}
INFO:2019-08-10 15:57:57,353:main.py:702:joulescope_ui.main:_developer_cfg_apply
INFO:2019-08-10 15:58:05,084:main.py:446:joulescope_ui.main:Device notify
INFO:2019-08-10 15:58:05,084:main.py:807:joulescope_ui.main:_device_scan start
INFO:2019-08-10 15:58:05,105:driver.py:1206:joulescope.driver:scan_for_changes 1 devices: 1 added, 0 removed
INFO:2019-08-10 15:58:05,105:main.py:747:joulescope_ui.main:_device_change add Joulescope:000380
INFO:2019-08-10 15:58:05,105:main.py:821:joulescope_ui.main:current device = disable, True
INFO:2019-08-10 15:58:05,105:main.py:823:joulescope_ui.main:device_scan activate first device Joulescope:000380
INFO:2019-08-10 15:58:05,105:main.py:717:joulescope_ui.main:device_close disable
INFO:2019-08-10 15:58:05,105:main.py:606:joulescope_ui.main:device_open Joulescope:000380
INFO:2019-08-10 15:58:05,105:device_thread.py:174:joulescope.usb.device_thread:open
INFO:2019-08-10 15:58:05,105:device_thread.py:116:joulescope.usb.device_thread:DeviceThread.run start
INFO:2019-08-10 15:58:05,105:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 15:58:05,105:device.py:596:joulescope.usb.winusb.device:WinUsbDevice.open
INFO:2019-08-10 15:58:05,105:device.py:625:joulescope.usb.winusb.device:is_high_speed = True
INFO:2019-08-10 15:58:05,105:device.py:626:joulescope.usb.winusb.device:interface_settings = InterfaceDescriptor(
length=9,
descriptor_type=4,
interface_number=0,
alternate_setting=0,
num_endpoints=2,
interface_class=255,
interface_sub_class=0,
interface_protocol=0,
interface=0)
INFO:2019-08-10 15:58:05,115:span.py:38:joulescope.span:Span([0.0, 30.0], 5e-07, 100)
INFO:2019-08-10 15:58:05,115:driver.py:256:joulescope.driver:info:
{
“type”: “info”,
“ver”: 1,
“ctl”: {
“mfg”: {
“country”: “USA”,
“location”: “MD_01”,
“lot”: “201927_00”
},
“hw”: {
“rev”: “H”,
“sn_mcu”: “8300303182C45FAA64D51A956091005F”,
“sn_mfg”: “000380”
},
“fw”: {
“ver”: “1.1.0”
},
“fpga”: {
“ver”: “0.2.0”,
“prod_id”: “0x9314acf2”
}
},
“sensor”: {}
}
INFO:2019-08-10 15:58:05,115:driver.py:231:joulescope.driver:serial number = 38000313284cf5aa465da159061900f5
INFO:2019-08-10 15:58:05,125:main.py:861:joulescope_ui.main:firmware update required: None < (1, 1, 0)
INFO:2019-08-10 15:58:05,125:main.py:1189:joulescope_ui.main:Firmware update required
INFO:2019-08-10 15:58:05,144:firmware_manager.py:132:joulescope.firmware_manager:firmware_upgrade: Load image
INFO:2019-08-10 15:58:05,144:firmware_manager.py:132:joulescope.firmware_manager:firmware_upgrade: Start bootloader
INFO:2019-08-10 15:58:05,144:driver.py:1206:joulescope.driver:scan_for_changes 1 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:05,144:driver.py:905:joulescope.driver:my_device = Joulescope:000380
INFO:2019-08-10 15:58:05,144:driver.py:906:joulescope.driver:existing_devices = []
INFO:2019-08-10 15:58:05,144:driver.py:907:joulescope.driver:existing_bootloaders = []
INFO:2019-08-10 15:58:05,144:driver.py:516:joulescope.driver:stop
INFO:2019-08-10 15:58:05,144:driver.py:516:joulescope.driver:stop
INFO:2019-08-10 15:58:05,144:device_thread.py:185:joulescope.usb.device_thread:close
INFO:2019-08-10 15:58:05,144:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 15:58:05,144:device_thread.py:93:joulescope.usb.device_thread:DeviceThread._cmd_process_all close
INFO:2019-08-10 15:58:05,144:device_thread.py:123:joulescope.usb.device_thread:DeviceThread.run flush
INFO:2019-08-10 15:58:05,144:device_thread.py:125:joulescope.usb.device_thread:DeviceThread.run done
INFO:2019-08-10 15:58:05,164:main.py:1189:joulescope_ui.main:Firmware upgrade [0.0%]
INFO:2019-08-10 15:58:05,164:main.py:1189:joulescope_ui.main:Firmware upgrade [5.0%] Load image
INFO:2019-08-10 15:58:05,164:main.py:1189:joulescope_ui.main:Firmware upgrade [5.0%] Start bootloader
INFO:2019-08-10 15:58:05,266:main.py:446:joulescope_ui.main:Device notify
INFO:2019-08-10 15:58:05,266:main.py:805:joulescope_ui.main:_device_scan already in progress
INFO:2019-08-10 15:58:05,413:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:05,413:main.py:1189:joulescope_ui.main:Firmware upgrade [5.1%] Start bootloader
INFO:2019-08-10 15:58:05,665:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:05,665:main.py:1189:joulescope_ui.main:Firmware upgrade [5.2%] Start bootloader
INFO:2019-08-10 15:58:05,916:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:05,916:main.py:1189:joulescope_ui.main:Firmware upgrade [5.3%] Start bootloader
INFO:2019-08-10 15:58:06,167:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:06,167:main.py:1189:joulescope_ui.main:Firmware upgrade [5.3%] Start bootloader
INFO:2019-08-10 15:58:06,419:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:06,419:main.py:1189:joulescope_ui.main:Firmware upgrade [5.4%] Start bootloader
INFO:2019-08-10 15:58:06,670:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:06,670:main.py:1189:joulescope_ui.main:Firmware upgrade [5.5%] Start bootloader
INFO:2019-08-10 15:58:06,700:main.py:446:joulescope_ui.main:Device notify
INFO:2019-08-10 15:58:06,700:main.py:805:joulescope_ui.main:_device_scan already in progress
INFO:2019-08-10 15:58:06,921:driver.py:1206:joulescope.driver:scan_for_changes 1 devices: 1 added, 0 removed
INFO:2019-08-10 15:58:06,921:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 15:58:06,921:device.py:596:joulescope.usb.winusb.device:WinUsbDevice.open
INFO:2019-08-10 15:58:06,921:device.py:625:joulescope.usb.winusb.device:is_high_speed = True
INFO:2019-08-10 15:58:06,921:device.py:626:joulescope.usb.winusb.device:interface_settings = InterfaceDescriptor(
length=9,
descriptor_type=4,
interface_number=0,
alternate_setting=0,
num_endpoints=0,
interface_class=255,
interface_sub_class=0,
interface_protocol=0,
interface=0)
INFO:2019-08-10 15:58:06,922:firmware_manager.py:132:joulescope.firmware_manager:firmware_upgrade: Program application
INFO:2019-08-10 15:58:06,922:bootloader.py:236:joulescope.bootloader:0001: firmware_program
INFO:2019-08-10 15:58:06,923:bootloader.py:257:joulescope.bootloader:header = b’008c2bbc9c2dbc0000000101010000000100010001000000’
INFO:2019-08-10 15:58:06,923:bootloader.py:258:joulescope.bootloader:mac = b’8a4c7ca03b8b64421c832d00f8ffafb6’
INFO:2019-08-10 15:58:06,923:bootloader.py:259:joulescope.bootloader:signature = b’003f22f72f35ea531ccb673eb3b6f0ba418ffe128585d34dadf4aadf84ca0b5bef63701ac3b7e0dea01024cb32e6c6a24bafc093767d00e4f0e76c1c554bc205’
INFO:2019-08-10 15:58:06,923:bootloader.py:162:joulescope.bootloader:0001: program
INFO:2019-08-10 15:58:06,923:bootloader.py:179:joulescope.bootloader:write start: segment=2, length=182880
INFO:2019-08-10 15:58:06,924:main.py:1189:joulescope_ui.main:Firmware upgrade [10.0%] Start bootloader
INFO:2019-08-10 15:58:06,924:main.py:1189:joulescope_ui.main:Firmware upgrade [10.0%] Program application
INFO:2019-08-10 15:58:07,026:bootloader.py:192:joulescope.bootloader:write chunk 0, length=4096 | 0.0%
INFO:2019-08-10 15:58:07,026:main.py:1189:joulescope_ui.main:Firmware upgrade [10.0%] Program application
INFO:2019-08-10 15:58:07,030:bootloader.py:192:joulescope.bootloader:write chunk 1, length=4096 | 2.2%
INFO:2019-08-10 15:58:07,030:main.py:1189:joulescope_ui.main:Firmware upgrade [10.2%] Program application
INFO:2019-08-10 15:58:07,057:bootloader.py:192:joulescope.bootloader:write chunk 2, length=4096 | 4.5%
INFO:2019-08-10 15:58:07,057:main.py:1189:joulescope_ui.main:Firmware upgrade [10.4%] Program application
INFO:2019-08-10 15:58:07,084:bootloader.py:192:joulescope.bootloader:write chunk 3, length=4096 | 6.7%
INFO:2019-08-10 15:58:07,085:main.py:1189:joulescope_ui.main:Firmware upgrade [10.7%] Program application
INFO:2019-08-10 15:58:07,112:bootloader.py:192:joulescope.bootloader:write chunk 4, length=4096 | 9.0%
INFO:2019-08-10 15:58:07,112:main.py:1189:joulescope_ui.main:Firmware upgrade [10.9%] Program application
INFO:2019-08-10 15:58:07,138:bootloader.py:192:joulescope.bootloader:write chunk 5, length=4096 | 11.2%
INFO:2019-08-10 15:58:07,138:main.py:1189:joulescope_ui.main:Firmware upgrade [11.1%] Program application
INFO:2019-08-10 15:58:07,165:bootloader.py:192:joulescope.bootloader:write chunk 6, length=4096 | 13.4%
INFO:2019-08-10 15:58:07,165:main.py:1189:joulescope_ui.main:Firmware upgrade [11.3%] Program application
INFO:2019-08-10 15:58:07,192:bootloader.py:192:joulescope.bootloader:write chunk 7, length=4096 | 15.7%
INFO:2019-08-10 15:58:07,192:main.py:1189:joulescope_ui.main:Firmware upgrade [11.6%] Program application
INFO:2019-08-10 15:58:07,219:bootloader.py:192:joulescope.bootloader:write chunk 8, length=4096 | 17.9%
INFO:2019-08-10 15:58:07,220:main.py:1189:joulescope_ui.main:Firmware upgrade [11.8%] Program application
INFO:2019-08-10 15:58:07,247:bootloader.py:192:joulescope.bootloader:write chunk 9, length=4096 | 20.2%
INFO:2019-08-10 15:58:07,247:main.py:1189:joulescope_ui.main:Firmware upgrade [12.0%] Program application
INFO:2019-08-10 15:58:07,274:bootloader.py:192:joulescope.bootloader:write chunk 10, length=4096 | 22.4%
INFO:2019-08-10 15:58:07,274:main.py:1189:joulescope_ui.main:Firmware upgrade [12.2%] Program application
INFO:2019-08-10 15:58:07,301:bootloader.py:192:joulescope.bootloader:write chunk 11, length=4096 | 24.6%
INFO:2019-08-10 15:58:07,301:main.py:1189:joulescope_ui.main:Firmware upgrade [12.5%] Program application
INFO:2019-08-10 15:58:07,328:bootloader.py:192:joulescope.bootloader:write chunk 12, length=4096 | 26.9%
INFO:2019-08-10 15:58:07,328:main.py:1189:joulescope_ui.main:Firmware upgrade [12.7%] Program application
INFO:2019-08-10 15:58:07,355:bootloader.py:192:joulescope.bootloader:write chunk 13, length=4096 | 29.1%
INFO:2019-08-10 15:58:07,356:main.py:1189:joulescope_ui.main:Firmware upgrade [12.9%] Program application
INFO:2019-08-10 15:58:07,382:bootloader.py:192:joulescope.bootloader:write chunk 14, length=4096 | 31.4%
INFO:2019-08-10 15:58:07,383:main.py:1189:joulescope_ui.main:Firmware upgrade [13.1%] Program application
INFO:2019-08-10 15:58:07,410:bootloader.py:192:joulescope.bootloader:write chunk 15, length=4096 | 33.6%
INFO:2019-08-10 15:58:07,410:main.py:1189:joulescope_ui.main:Firmware upgrade [13.4%] Program application
INFO:2019-08-10 15:58:07,437:bootloader.py:192:joulescope.bootloader:write chunk 16, length=4096 | 35.8%
INFO:2019-08-10 15:58:07,437:main.py:1189:joulescope_ui.main:Firmware upgrade [13.6%] Program application
INFO:2019-08-10 15:58:07,464:bootloader.py:192:joulescope.bootloader:write chunk 17, length=4096 | 38.1%
INFO:2019-08-10 15:58:07,464:main.py:1189:joulescope_ui.main:Firmware upgrade [13.8%] Program application
INFO:2019-08-10 15:58:07,491:bootloader.py:192:joulescope.bootloader:write chunk 18, length=4096 | 40.3%
INFO:2019-08-10 15:58:07,492:main.py:1189:joulescope_ui.main:Firmware upgrade [14.0%] Program application
INFO:2019-08-10 15:58:07,517:bootloader.py:192:joulescope.bootloader:write chunk 19, length=4096 | 42.6%
INFO:2019-08-10 15:58:07,517:main.py:1189:joulescope_ui.main:Firmware upgrade [14.3%] Program application
INFO:2019-08-10 15:58:07,544:bootloader.py:192:joulescope.bootloader:write chunk 20, length=4096 | 44.8%
INFO:2019-08-10 15:58:07,545:main.py:1189:joulescope_ui.main:Firmware upgrade [14.5%] Program application
INFO:2019-08-10 15:58:07,572:bootloader.py:192:joulescope.bootloader:write chunk 21, length=4096 | 47.0%
INFO:2019-08-10 15:58:07,572:main.py:1189:joulescope_ui.main:Firmware upgrade [14.7%] Program application
INFO:2019-08-10 15:58:07,599:bootloader.py:192:joulescope.bootloader:write chunk 22, length=4096 | 49.3%
INFO:2019-08-10 15:58:07,599:main.py:1189:joulescope_ui.main:Firmware upgrade [14.9%] Program application
INFO:2019-08-10 15:58:07,626:bootloader.py:192:joulescope.bootloader:write chunk 23, length=4096 | 51.5%
INFO:2019-08-10 15:58:07,626:main.py:1189:joulescope_ui.main:Firmware upgrade [15.2%] Program application
INFO:2019-08-10 15:58:07,653:bootloader.py:192:joulescope.bootloader:write chunk 24, length=4096 | 53.8%
INFO:2019-08-10 15:58:07,653:main.py:1189:joulescope_ui.main:Firmware upgrade [15.4%] Program application
INFO:2019-08-10 15:58:07,680:bootloader.py:192:joulescope.bootloader:write chunk 25, length=4096 | 56.0%
INFO:2019-08-10 15:58:07,680:main.py:1189:joulescope_ui.main:Firmware upgrade [15.6%] Program application
INFO:2019-08-10 15:58:07,707:bootloader.py:192:joulescope.bootloader:write chunk 26, length=4096 | 58.2%
INFO:2019-08-10 15:58:07,708:main.py:1189:joulescope_ui.main:Firmware upgrade [15.8%] Program application
INFO:2019-08-10 15:58:07,735:bootloader.py:192:joulescope.bootloader:write chunk 27, length=4096 | 60.5%
INFO:2019-08-10 15:58:07,735:main.py:1189:joulescope_ui.main:Firmware upgrade [16.0%] Program application
INFO:2019-08-10 15:58:07,762:bootloader.py:192:joulescope.bootloader:write chunk 28, length=4096 | 62.7%
INFO:2019-08-10 15:58:07,762:main.py:1189:joulescope_ui.main:Firmware upgrade [16.3%] Program application
INFO:2019-08-10 15:58:07,789:bootloader.py:192:joulescope.bootloader:write chunk 29, length=4096 | 65.0%
INFO:2019-08-10 15:58:07,789:main.py:1189:joulescope_ui.main:Firmware upgrade [16.5%] Program application
INFO:2019-08-10 15:58:07,816:bootloader.py:192:joulescope.bootloader:write chunk 30, length=4096 | 67.2%
INFO:2019-08-10 15:58:07,816:main.py:1189:joulescope_ui.main:Firmware upgrade [16.7%] Program application
INFO:2019-08-10 15:58:07,843:bootloader.py:192:joulescope.bootloader:write chunk 31, length=4096 | 69.4%
INFO:2019-08-10 15:58:07,844:main.py:1189:joulescope_ui.main:Firmware upgrade [16.9%] Program application
INFO:2019-08-10 15:58:07,871:bootloader.py:192:joulescope.bootloader:write chunk 32, length=4096 | 71.7%
INFO:2019-08-10 15:58:07,871:main.py:1189:joulescope_ui.main:Firmware upgrade [17.2%] Program application
INFO:2019-08-10 15:58:07,897:bootloader.py:192:joulescope.bootloader:write chunk 33, length=4096 | 73.9%
INFO:2019-08-10 15:58:07,897:main.py:1189:joulescope_ui.main:Firmware upgrade [17.4%] Program application
INFO:2019-08-10 15:58:07,924:bootloader.py:192:joulescope.bootloader:write chunk 34, length=4096 | 76.2%
INFO:2019-08-10 15:58:07,924:main.py:1189:joulescope_ui.main:Firmware upgrade [17.6%] Program application
INFO:2019-08-10 15:58:07,951:bootloader.py:192:joulescope.bootloader:write chunk 35, length=4096 | 78.4%
INFO:2019-08-10 15:58:07,951:main.py:1189:joulescope_ui.main:Firmware upgrade [17.8%] Program application
INFO:2019-08-10 15:58:07,978:bootloader.py:192:joulescope.bootloader:write chunk 36, length=4096 | 80.6%
INFO:2019-08-10 15:58:07,979:main.py:1189:joulescope_ui.main:Firmware upgrade [18.1%] Program application
INFO:2019-08-10 15:58:08,005:bootloader.py:192:joulescope.bootloader:write chunk 37, length=4096 | 82.9%
INFO:2019-08-10 15:58:08,006:main.py:1189:joulescope_ui.main:Firmware upgrade [18.3%] Program application
INFO:2019-08-10 15:58:08,033:bootloader.py:192:joulescope.bootloader:write chunk 38, length=4096 | 85.1%
INFO:2019-08-10 15:58:08,033:main.py:1189:joulescope_ui.main:Firmware upgrade [18.5%] Program application
INFO:2019-08-10 15:58:08,060:bootloader.py:192:joulescope.bootloader:write chunk 39, length=4096 | 87.3%
INFO:2019-08-10 15:58:08,060:main.py:1189:joulescope_ui.main:Firmware upgrade [18.7%] Program application
INFO:2019-08-10 15:58:08,087:bootloader.py:192:joulescope.bootloader:write chunk 40, length=4096 | 89.6%
INFO:2019-08-10 15:58:08,087:main.py:1189:joulescope_ui.main:Firmware upgrade [19.0%] Program application
INFO:2019-08-10 15:58:08,114:bootloader.py:192:joulescope.bootloader:write chunk 41, length=4096 | 91.8%
INFO:2019-08-10 15:58:08,114:main.py:1189:joulescope_ui.main:Firmware upgrade [19.2%] Program application
INFO:2019-08-10 15:58:08,141:bootloader.py:192:joulescope.bootloader:write chunk 42, length=4096 | 94.1%
INFO:2019-08-10 15:58:08,141:main.py:1189:joulescope_ui.main:Firmware upgrade [19.4%] Program application
INFO:2019-08-10 15:58:08,169:bootloader.py:192:joulescope.bootloader:write chunk 43, length=4096 | 96.3%
INFO:2019-08-10 15:58:08,169:main.py:1189:joulescope_ui.main:Firmware upgrade [19.6%] Program application
INFO:2019-08-10 15:58:08,195:bootloader.py:192:joulescope.bootloader:write chunk 44, length=2656 | 98.5%
INFO:2019-08-10 15:58:08,195:main.py:1189:joulescope_ui.main:Firmware upgrade [19.9%] Program application
INFO:2019-08-10 15:58:08,221:bootloader.py:200:joulescope.bootloader:write finalize
INFO:2019-08-10 15:58:08,287:bootloader.py:206:joulescope.bootloader:write status=0
INFO:2019-08-10 15:58:08,287:firmware_manager.py:132:joulescope.firmware_manager:firmware_upgrade: Start application
INFO:2019-08-10 15:58:08,287:main.py:1189:joulescope_ui.main:Firmware upgrade [20.0%] Program application
INFO:2019-08-10 15:58:08,288:main.py:1189:joulescope_ui.main:Firmware upgrade [20.0%] Program application
INFO:2019-08-10 15:58:08,288:bootloader.py:217:joulescope.bootloader:0001: go
INFO:2019-08-10 15:58:08,288:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 15:58:08,289:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:08,289:main.py:1189:joulescope_ui.main:Firmware upgrade [20.0%] Start application
INFO:2019-08-10 15:58:08,500:main.py:446:joulescope_ui.main:Device notify
INFO:2019-08-10 15:58:08,500:main.py:805:joulescope_ui.main:_device_scan already in progress
INFO:2019-08-10 15:58:08,540:main.py:1189:joulescope_ui.main:Firmware upgrade [20.1%] Start application
INFO:2019-08-10 15:58:08,540:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:08,792:main.py:1189:joulescope_ui.main:Firmware upgrade [20.2%] Start application
INFO:2019-08-10 15:58:08,792:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:09,043:main.py:1189:joulescope_ui.main:Firmware upgrade [20.3%] Start application
INFO:2019-08-10 15:58:09,044:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:09,295:main.py:1189:joulescope_ui.main:Firmware upgrade [20.3%] Start application
INFO:2019-08-10 15:58:09,295:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:09,547:main.py:1189:joulescope_ui.main:Firmware upgrade [20.4%] Start application
INFO:2019-08-10 15:58:09,547:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:09,798:main.py:1189:joulescope_ui.main:Firmware upgrade [20.5%] Start application
INFO:2019-08-10 15:58:09,798:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 15:58:09,876:main.py:446:joulescope_ui.main:Device notify
INFO:2019-08-10 15:58:09,876:main.py:805:joulescope_ui.main:_device_scan already in progress
INFO:2019-08-10 15:58:10,049:main.py:1189:joulescope_ui.main:Firmware upgrade [20.6%] Start application
INFO:2019-08-10 15:58:10,050:driver.py:1206:joulescope.driver:scan_for_changes 1 devices: 1 added, 0 removed
INFO:2019-08-10 15:58:10,050:firmware_manager.py:132:joulescope.firmware_manager:firmware_upgrade: Program sensor
INFO:2019-08-10 15:58:10,050:device_thread.py:174:joulescope.usb.device_thread:open
INFO:2019-08-10 15:58:10,050:device_thread.py:116:joulescope.usb.device_thread:DeviceThread.run start
INFO:2019-08-10 15:58:10,051:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 15:58:10,051:device.py:596:joulescope.usb.winusb.device:WinUsbDevice.open
INFO:2019-08-10 15:58:10,051:device.py:625:joulescope.usb.winusb.device:is_high_speed = True
INFO:2019-08-10 15:58:10,051:device.py:626:joulescope.usb.winusb.device:interface_settings = InterfaceDescriptor(
length=9,
descriptor_type=4,
interface_number=0,
alternate_setting=0,
num_endpoints=2,
interface_class=255,
interface_sub_class=0,
interface_protocol=0,
interface=0)
INFO:2019-08-10 15:58:10,053:span.py:38:joulescope.span:Span([0.0, 30.0], 5e-07, 100)
INFO:2019-08-10 15:58:10,053:main.py:1189:joulescope_ui.main:Firmware upgrade [25.0%] Start application
INFO:2019-08-10 15:58:10,055:driver.py:256:joulescope.driver:info:
{
“type”: “info”,
“ver”: 1,
“ctl”: {
“mfg”: {
“country”: “USA”,
“location”: “MD_01”,
“lot”: “201927_00”
},
“hw”: {
“rev”: “H”,
“sn_mcu”: “8300303182C45FAA64D51A956091005F”,
“sn_mfg”: “000380”
},
“fw”: {
“ver”: “1.1.0”
},
“fpga”: {
“ver”: “0.2.0”,
“prod_id”: “0x9314acf2”
}
},
“sensor”: {}
}
INFO:2019-08-10 15:58:10,056:driver.py:231:joulescope.driver:serial number = 38000313284cf5aa465da159061900f5
INFO:2019-08-10 15:58:11,067:driver.py:516:joulescope.driver:stop
INFO:2019-08-10 15:58:11,067:device_thread.py:185:joulescope.usb.device_thread:close
INFO:2019-08-10 15:58:11,067:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 15:58:11,067:device_thread.py:93:joulescope.usb.device_thread:DeviceThread._cmd_process_all close
INFO:2019-08-10 15:58:11,068:device_thread.py:123:joulescope.usb.device_thread:DeviceThread.run flush
INFO:2019-08-10 15:58:11,068:device_thread.py:125:joulescope.usb.device_thread:DeviceThread.run done
INFO:2019-08-10 15:58:11,079:main.py:1189:joulescope_ui.main:Firmware upgrade failed - unplug and retry
INFO:2019-08-10 15:58:11,090:device_thread.py:174:joulescope.usb.device_thread:open
INFO:2019-08-10 15:58:11,091:device_thread.py:116:joulescope.usb.device_thread:DeviceThread.run start
INFO:2019-08-10 15:58:11,091:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 15:58:11,091:device.py:596:joulescope.usb.winusb.device:WinUsbDevice.open
INFO:2019-08-10 15:58:11,091:device.py:625:joulescope.usb.winusb.device:is_high_speed = True
INFO:2019-08-10 15:58:11,091:device.py:626:joulescope.usb.winusb.device:interface_settings = InterfaceDescriptor(
length=9,
descriptor_type=4,
interface_number=0,
alternate_setting=0,
num_endpoints=2,
interface_class=255,
interface_sub_class=0,
interface_protocol=0,
interface=0)
INFO:2019-08-10 15:58:11,094:span.py:38:joulescope.span:Span([0.0, 30.0], 5e-07, 100)
INFO:2019-08-10 15:58:11,096:driver.py:256:joulescope.driver:info:
{
“type”: “info”,
“ver”: 1,
“ctl”: {
“mfg”: {
“country”: “USA”,
“location”: “MD_01”,
“lot”: “201927_00”
},
“hw”: {
“rev”: “H”,
“sn_mcu”: “8300303182C45FAA64D51A956091005F”,
“sn_mfg”: “000380”
},
“fw”: {
“ver”: “1.1.0”
},
“fpga”: {
“ver”: “0.2.0”,
“prod_id”: “0x9314acf2”
}
},
“sensor”: {}
}
INFO:2019-08-10 15:58:11,097:driver.py:231:joulescope.driver:serial number = 38000313284cf5aa465da159061900f5
INFO:2019-08-10 15:58:11,101:driver.py:231:joulescope.driver:serial number = 38000313284cf5aa465da159061900f5
INFO:2019-08-10 15:58:11,117:main.py:649:joulescope_ui.main:_control_ui_init
INFO:2019-08-10 15:58:11,119:main.py:670:joulescope_ui.main:control ui init i_range 8
INFO:2019-08-10 15:58:11,120:main.py:670:joulescope_ui.main:control ui init v_range 0
INFO:2019-08-10 15:58:11,145:main.py:688:joulescope_ui.main:_device_cfg_apply
INFO:2019-08-10 15:58:11,145:main.py:947:joulescope_ui.main:_param_cbk(source)
INFO:2019-08-10 15:58:11,145:main.py:933:joulescope_ui.main:param_name=source, value=raw, index=1
ERROR:2019-08-10 15:58:12,154:main.py:940:joulescope_ui.main:during parameter_set
Traceback (most recent call last):
File “joulescope_ui\main.py”, line 938, in _on_param_change
File “site-packages\joulescope\driver.py”, line 200, in parameter_set
File “site-packages\joulescope\driver.py”, line 422, in _stream_settings_send
File “site-packages\joulescope\driver.py”, line 383, in _wait_for_sensor_command
RuntimeError: timed out
INFO:2019-08-10 15:58:12,154:main.py:1189:joulescope_ui.main:Parameter set source failed, value=raw
INFO:2019-08-10 15:58:12,155:main.py:738:joulescope_ui.main:_device_recover: start
INFO:2019-08-10 15:58:12,155:main.py:758:joulescope_ui.main:_device_change remove
INFO:2019-08-10 15:58:12,155:main.py:717:joulescope_ui.main:device_close Joulescope:000380
INFO:2019-08-10 15:58:12,155:driver.py:516:joulescope.driver:stop
INFO:2019-08-10 15:58:12,155:device_thread.py:185:joulescope.usb.device_thread:close
INFO:2019-08-10 15:58:12,156:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 15:58:12,156:device_thread.py:93:joulescope.usb.device_thread:DeviceThread._cmd_process_all close
INFO:2019-08-10 15:58:12,156:device_thread.py:123:joulescope.usb.device_thread:DeviceThread.run flush
INFO:2019-08-10 15:58:12,156:device_thread.py:125:joulescope.usb.device_thread:DeviceThread.run done
INFO:2019-08-10 15:58:12,170:main.py:805:joulescope_ui.main:_device_scan already in progress
INFO:2019-08-10 15:58:12,170:main.py:743:joulescope_ui.main:_device_recover: done
INFO:2019-08-10 15:58:12,171:main.py:933:joulescope_ui.main:param_name=source, value=raw, index=1
INFO:2019-08-10 15:58:12,172:main.py:933:joulescope_ui.main:param_name=i_range, value=auto, index=0
INFO:2019-08-10 15:58:12,172:main.py:933:joulescope_ui.main:param_name=v_range, value=15V, index=0
INFO:2019-08-10 15:58:12,172:main.py:1045:joulescope_ui.main:_device_stream(True)
WARNING:2019-08-10 15:58:12,172:main.py:1010:joulescope_ui.main:_device_stream_start when no device
INFO:2019-08-10 15:58:12,173:main.py:702:joulescope_ui.main:_developer_cfg_apply
INFO:2019-08-10 15:58:12,173:main.py:827:joulescope_ui.main:_device_scan done
INFO:2019-08-10 16:00:02,704:main.py:446:joulescope_ui.main:Device notify
INFO:2019-08-10 16:00:02,704:main.py:807:joulescope_ui.main:_device_scan start
INFO:2019-08-10 16:00:02,704:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 16:00:02,704:main.py:821:joulescope_ui.main:current device = disable, True
INFO:2019-08-10 16:00:02,704:main.py:827:joulescope_ui.main:_device_scan done

Following Console Log:


  • Joulescope User Interface *
  • UI Version = 0.5.0 *
  • Driver Version = 0.5.0 *

info = {
“joulescope”: {
“ui_version”: “0.5.0”,
“driver_version”: “0.5.0”
},
“platform”: {
“name”: “win32”,
“python_version”: “3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]”,
“platform”: “Windows-10-10.0.18362-SP0”,
“processor”: “Intel64 Family 6 Model 142 Stepping 9, GenuineIntel”,
“executable”: “C:\Program Files (x86)\Joulescope\joulescope.exe”,
“frozen”: “C:\Program Files (x86)\Joulescope”,
“app_path”: “C:\Users\Isaac\AppData\Local\joulescope”,
“log_path”: “C:\Users\Isaac\AppData\Local\joulescope\log”
}
}

=====
ERROR:2019-08-10 16:03:02,098:main.py:940:joulescope_ui.main:during parameter_set
Traceback (most recent call last):
File “joulescope_ui\main.py”, line 938, in _on_param_change
File “site-packages\joulescope\driver.py”, line 200, in parameter_set
File “site-packages\joulescope\driver.py”, line 422, in _stream_settings_send
File “site-packages\joulescope\driver.py”, line 383, in _wait_for_sensor_command
RuntimeError: timed out
WARNING:2019-08-10 16:03:02,114:main.py:1010:joulescope_ui.main:_device_stream_start when no device

Hi @ikester, thanks again for posting the log. The firmware upgrade definitely failed to update the sensor microcontroller, but it does not give any detail as to why. I will take a closer look tomorrow.

I decided to go to work to try the same joulescope on a different computer. Still failed…here are the logs
thanks
-isaac

Console


  • Joulescope User Interface *
  • UI Version = 0.5.0 *
  • Driver Version = 0.5.0 *

info = {
“joulescope”: {
“ui_version”: “0.5.0”,
“driver_version”: “0.5.0”
},
“platform”: {
“name”: “win32”,
“python_version”: “3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]”,
“platform”: “Windows-10-10.0.16299-SP0”,
“processor”: “Intel64 Family 6 Model 63 Stepping 2, GenuineIntel”,
“executable”: “C:\Program Files (x86)\Joulescope\joulescope.exe”,
“frozen”: “C:\Program Files (x86)\Joulescope”,
“app_path”: “C:\Users\isaac.WILDLIFE\AppData\Local\joulescope”,
“log_path”: “C:\Users\isaac.WILDLIFE\AppData\Local\joulescope\log”
}
}

=====
Exception in thread fw_upgrade:
Traceback (most recent call last):
File “threading.py”, line 917, in _bootstrap_inner
File “threading.py”, line 865, in run
File “site-packages\joulescope\firmware_manager.py”, line 86, in run
File “site-packages\joulescope\firmware_manager.py”, line 166, in upgrade
File “site-packages\joulescope\driver.py”, line 200, in parameter_set
File “site-packages\joulescope\driver.py”, line 422, in _stream_settings_send
File “site-packages\joulescope\driver.py”, line 383, in _wait_for_sensor_command
RuntimeError: timed out

ERROR:2019-08-10 18:22:21,418:main.py:940:joulescope_ui.main:during parameter_set
Traceback (most recent call last):
File “joulescope_ui\main.py”, line 938, in _on_param_change
File “site-packages\joulescope\driver.py”, line 200, in parameter_set
File “site-packages\joulescope\driver.py”, line 422, in _stream_settings_send
File “site-packages\joulescope\driver.py”, line 383, in _wait_for_sensor_command
RuntimeError: timed out
WARNING:2019-08-10 18:22:21,431:main.py:1010:joulescope_ui.main:_device_stream_start when no device

AppData Log


  • Joulescope User Interface *
  • UI Version = 0.5.0 *
  • Driver Version = 0.5.0 *

info = {
“joulescope”: {
“ui_version”: “0.5.0”,
“driver_version”: “0.5.0”
},
“platform”: {
“name”: “win32”,
“python_version”: “3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]”,
“platform”: “Windows-10-10.0.16299-SP0”,
“processor”: “Intel64 Family 6 Model 63 Stepping 2, GenuineIntel”,
“executable”: “C:\Program Files (x86)\Joulescope\joulescope.exe”,
“frozen”: “C:\Program Files (x86)\Joulescope”,
“app_path”: “C:\Users\isaac.WILDLIFE\AppData\Local\joulescope”,
“log_path”: “C:\Users\isaac.WILDLIFE\AppData\Local\joulescope\log”
}
}

=====
INFO:2019-08-10 18:21:57,774:logging_util.py:142:root:logging configuration: stream_level=30, file_level=20
INFO:2019-08-10 18:21:57,775:main.py:1306:joulescope_ui.main:configure high DPI scaling
INFO:2019-08-10 18:21:57,775:main.py:1315:joulescope_ui.main:Start Qt
INFO:2019-08-10 18:21:58,049:main.py:747:joulescope_ui.main:_device_change add disable
INFO:2019-08-10 18:21:58,112:settings_widget.py:48:joulescope_ui.oscilloscope.settings_widget:on_signalsAvailable([‘current’], [‘current’])
INFO:2019-08-10 18:21:58,112:settings_widget.py:48:joulescope_ui.oscilloscope.settings_widget:on_signalsAvailable([‘current’, ‘voltage’], [‘current’, ‘voltage’])
INFO:2019-08-10 18:21:58,112:settings_widget.py:48:joulescope_ui.oscilloscope.settings_widget:on_signalsAvailable([‘current’, ‘voltage’, ‘power’], [‘current’, ‘voltage’])
INFO:2019-08-10 18:21:58,112:oscilloscope.py:343:joulescope_ui.oscilloscope.oscilloscope:on_scrollbarRegionChange(25.0, 30.0, 1)
INFO:2019-08-10 18:21:58,127:main.py:717:joulescope_ui.main:device_close None
INFO:2019-08-10 18:21:58,127:main.py:702:joulescope_ui.main:_developer_cfg_apply
INFO:2019-08-10 18:21:58,174:main.py:807:joulescope_ui.main:_device_scan start
INFO:2019-08-10 18:21:58,174:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:21:58,174:main.py:821:joulescope_ui.main:current device = disable, True
INFO:2019-08-10 18:21:58,174:main.py:827:joulescope_ui.main:_device_scan done
INFO:2019-08-10 18:21:58,174:win32_device_notify.py:80:joulescope.usb.winusb.win32_device_notify:open
INFO:2019-08-10 18:22:03,045:preferences.py:101:joulescope_ui.preferences:on_selection_change(<PySide2.QtCore.QItemSelection object at 0x00000226939EF308>)
INFO:2019-08-10 18:22:05,482:preferences.py:101:joulescope_ui.preferences:on_selection_change(<PySide2.QtCore.QItemSelection object at 0x00000226939EF608>)
INFO:2019-08-10 18:22:14,683:main.py:446:joulescope_ui.main:Device notify
INFO:2019-08-10 18:22:14,683:main.py:807:joulescope_ui.main:_device_scan start
INFO:2019-08-10 18:22:14,686:driver.py:1206:joulescope.driver:scan_for_changes 1 devices: 1 added, 0 removed
INFO:2019-08-10 18:22:14,686:main.py:747:joulescope_ui.main:_device_change add Joulescope:000380
INFO:2019-08-10 18:22:14,687:main.py:821:joulescope_ui.main:current device = disable, True
INFO:2019-08-10 18:22:14,687:main.py:823:joulescope_ui.main:device_scan activate first device Joulescope:000380
INFO:2019-08-10 18:22:14,687:main.py:717:joulescope_ui.main:device_close disable
INFO:2019-08-10 18:22:14,688:main.py:606:joulescope_ui.main:device_open Joulescope:000380
INFO:2019-08-10 18:22:14,688:device_thread.py:174:joulescope.usb.device_thread:open
INFO:2019-08-10 18:22:14,689:device_thread.py:116:joulescope.usb.device_thread:DeviceThread.run start
INFO:2019-08-10 18:22:14,690:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 18:22:14,690:device.py:596:joulescope.usb.winusb.device:WinUsbDevice.open
INFO:2019-08-10 18:22:14,690:device.py:625:joulescope.usb.winusb.device:is_high_speed = True
INFO:2019-08-10 18:22:14,690:device.py:626:joulescope.usb.winusb.device:interface_settings = InterfaceDescriptor(
length=9,
descriptor_type=4,
interface_number=0,
alternate_setting=0,
num_endpoints=2,
interface_class=255,
interface_sub_class=0,
interface_protocol=0,
interface=0)
INFO:2019-08-10 18:22:14,693:span.py:38:joulescope.span:Span([0.0, 30.0], 5e-07, 100)
INFO:2019-08-10 18:22:14,695:driver.py:256:joulescope.driver:info:
{
“type”: “info”,
“ver”: 1,
“ctl”: {
“mfg”: {
“country”: “USA”,
“location”: “MD_01”,
“lot”: “201927_00”
},
“hw”: {
“rev”: “H”,
“sn_mcu”: “8300303182C45FAA64D51A956091005F”,
“sn_mfg”: “000380”
},
“fw”: {
“ver”: “1.1.0”
},
“fpga”: {
“ver”: “0.2.0”,
“prod_id”: “0x9314acf2”
}
},
“sensor”: {}
}
INFO:2019-08-10 18:22:14,697:driver.py:231:joulescope.driver:serial number = 38000313284cf5aa465da159061900f5
INFO:2019-08-10 18:22:14,702:main.py:861:joulescope_ui.main:firmware update required: None < (1, 1, 0)
INFO:2019-08-10 18:22:14,703:main.py:1189:joulescope_ui.main:Firmware update required
INFO:2019-08-10 18:22:14,712:firmware_manager.py:132:joulescope.firmware_manager:firmware_upgrade: Load image
INFO:2019-08-10 18:22:14,713:firmware_manager.py:132:joulescope.firmware_manager:firmware_upgrade: Start bootloader
INFO:2019-08-10 18:22:14,714:driver.py:1206:joulescope.driver:scan_for_changes 1 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:14,715:driver.py:905:joulescope.driver:my_device = Joulescope:000380
INFO:2019-08-10 18:22:14,715:driver.py:906:joulescope.driver:existing_devices = []
INFO:2019-08-10 18:22:14,715:driver.py:907:joulescope.driver:existing_bootloaders = []
INFO:2019-08-10 18:22:14,715:driver.py:516:joulescope.driver:stop
INFO:2019-08-10 18:22:14,716:driver.py:516:joulescope.driver:stop
INFO:2019-08-10 18:22:14,716:device_thread.py:185:joulescope.usb.device_thread:close
INFO:2019-08-10 18:22:14,717:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 18:22:14,717:device_thread.py:93:joulescope.usb.device_thread:DeviceThread._cmd_process_all close
INFO:2019-08-10 18:22:14,717:device_thread.py:123:joulescope.usb.device_thread:DeviceThread.run flush
INFO:2019-08-10 18:22:14,717:device_thread.py:125:joulescope.usb.device_thread:DeviceThread.run done
INFO:2019-08-10 18:22:14,731:main.py:1189:joulescope_ui.main:Firmware upgrade [0.0%]
INFO:2019-08-10 18:22:14,731:main.py:1189:joulescope_ui.main:Firmware upgrade [5.0%] Load image
INFO:2019-08-10 18:22:14,732:main.py:1189:joulescope_ui.main:Firmware upgrade [5.0%] Start bootloader
INFO:2019-08-10 18:22:14,819:main.py:446:joulescope_ui.main:Device notify
INFO:2019-08-10 18:22:14,820:main.py:805:joulescope_ui.main:_device_scan already in progress
INFO:2019-08-10 18:22:14,975:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:14,975:main.py:1189:joulescope_ui.main:Firmware upgrade [5.1%] Start bootloader
INFO:2019-08-10 18:22:15,225:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:15,226:main.py:1189:joulescope_ui.main:Firmware upgrade [5.2%] Start bootloader
INFO:2019-08-10 18:22:15,477:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:15,477:main.py:1189:joulescope_ui.main:Firmware upgrade [5.3%] Start bootloader
INFO:2019-08-10 18:22:15,727:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:15,728:main.py:1189:joulescope_ui.main:Firmware upgrade [5.3%] Start bootloader
INFO:2019-08-10 18:22:15,978:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:15,979:main.py:1189:joulescope_ui.main:Firmware upgrade [5.4%] Start bootloader
INFO:2019-08-10 18:22:16,113:main.py:446:joulescope_ui.main:Device notify
INFO:2019-08-10 18:22:16,113:main.py:805:joulescope_ui.main:_device_scan already in progress
INFO:2019-08-10 18:22:16,229:driver.py:1206:joulescope.driver:scan_for_changes 1 devices: 1 added, 0 removed
INFO:2019-08-10 18:22:16,229:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 18:22:16,230:device.py:596:joulescope.usb.winusb.device:WinUsbDevice.open
INFO:2019-08-10 18:22:16,230:device.py:625:joulescope.usb.winusb.device:is_high_speed = True
INFO:2019-08-10 18:22:16,230:device.py:626:joulescope.usb.winusb.device:interface_settings = InterfaceDescriptor(
length=9,
descriptor_type=4,
interface_number=0,
alternate_setting=0,
num_endpoints=0,
interface_class=255,
interface_sub_class=0,
interface_protocol=0,
interface=0)
INFO:2019-08-10 18:22:16,231:firmware_manager.py:132:joulescope.firmware_manager:firmware_upgrade: Program application
INFO:2019-08-10 18:22:16,231:bootloader.py:236:joulescope.bootloader:0001: firmware_program
INFO:2019-08-10 18:22:16,233:bootloader.py:257:joulescope.bootloader:header = b’008c2bbc9c2dbc0000000101010000000100010001000000’
INFO:2019-08-10 18:22:16,233:bootloader.py:258:joulescope.bootloader:mac = b’8a4c7ca03b8b64421c832d00f8ffafb6’
INFO:2019-08-10 18:22:16,234:bootloader.py:259:joulescope.bootloader:signature = b’003f22f72f35ea531ccb673eb3b6f0ba418ffe128585d34dadf4aadf84ca0b5bef63701ac3b7e0dea01024cb32e6c6a24bafc093767d00e4f0e76c1c554bc205’
INFO:2019-08-10 18:22:16,234:bootloader.py:162:joulescope.bootloader:0001: program
INFO:2019-08-10 18:22:16,234:bootloader.py:179:joulescope.bootloader:write start: segment=2, length=182880
INFO:2019-08-10 18:22:16,236:main.py:1189:joulescope_ui.main:Firmware upgrade [10.0%] Start bootloader
INFO:2019-08-10 18:22:16,236:main.py:1189:joulescope_ui.main:Firmware upgrade [10.0%] Program application
INFO:2019-08-10 18:22:16,337:bootloader.py:192:joulescope.bootloader:write chunk 0, length=4096 | 0.0%
INFO:2019-08-10 18:22:16,338:main.py:1189:joulescope_ui.main:Firmware upgrade [10.0%] Program application
INFO:2019-08-10 18:22:16,341:bootloader.py:192:joulescope.bootloader:write chunk 1, length=4096 | 2.2%
INFO:2019-08-10 18:22:16,342:main.py:1189:joulescope_ui.main:Firmware upgrade [10.2%] Program application
INFO:2019-08-10 18:22:16,368:bootloader.py:192:joulescope.bootloader:write chunk 2, length=4096 | 4.5%
INFO:2019-08-10 18:22:16,369:main.py:1189:joulescope_ui.main:Firmware upgrade [10.4%] Program application
INFO:2019-08-10 18:22:16,396:bootloader.py:192:joulescope.bootloader:write chunk 3, length=4096 | 6.7%
INFO:2019-08-10 18:22:16,396:main.py:1189:joulescope_ui.main:Firmware upgrade [10.7%] Program application
INFO:2019-08-10 18:22:16,423:bootloader.py:192:joulescope.bootloader:write chunk 4, length=4096 | 9.0%
INFO:2019-08-10 18:22:16,423:main.py:1189:joulescope_ui.main:Firmware upgrade [10.9%] Program application
INFO:2019-08-10 18:22:16,450:bootloader.py:192:joulescope.bootloader:write chunk 5, length=4096 | 11.2%
INFO:2019-08-10 18:22:16,450:main.py:1189:joulescope_ui.main:Firmware upgrade [11.1%] Program application
INFO:2019-08-10 18:22:16,477:bootloader.py:192:joulescope.bootloader:write chunk 6, length=4096 | 13.4%
INFO:2019-08-10 18:22:16,478:main.py:1189:joulescope_ui.main:Firmware upgrade [11.3%] Program application
INFO:2019-08-10 18:22:16,504:bootloader.py:192:joulescope.bootloader:write chunk 7, length=4096 | 15.7%
INFO:2019-08-10 18:22:16,505:main.py:1189:joulescope_ui.main:Firmware upgrade [11.6%] Program application
INFO:2019-08-10 18:22:16,531:bootloader.py:192:joulescope.bootloader:write chunk 8, length=4096 | 17.9%
INFO:2019-08-10 18:22:16,532:main.py:1189:joulescope_ui.main:Firmware upgrade [11.8%] Program application
INFO:2019-08-10 18:22:16,559:bootloader.py:192:joulescope.bootloader:write chunk 9, length=4096 | 20.2%
INFO:2019-08-10 18:22:16,559:main.py:1189:joulescope_ui.main:Firmware upgrade [12.0%] Program application
INFO:2019-08-10 18:22:16,586:bootloader.py:192:joulescope.bootloader:write chunk 10, length=4096 | 22.4%
INFO:2019-08-10 18:22:16,587:main.py:1189:joulescope_ui.main:Firmware upgrade [12.2%] Program application
INFO:2019-08-10 18:22:16,613:bootloader.py:192:joulescope.bootloader:write chunk 11, length=4096 | 24.6%
INFO:2019-08-10 18:22:16,613:main.py:1189:joulescope_ui.main:Firmware upgrade [12.5%] Program application
INFO:2019-08-10 18:22:16,641:bootloader.py:192:joulescope.bootloader:write chunk 12, length=4096 | 26.9%
INFO:2019-08-10 18:22:16,641:main.py:1189:joulescope_ui.main:Firmware upgrade [12.7%] Program application
INFO:2019-08-10 18:22:16,668:bootloader.py:192:joulescope.bootloader:write chunk 13, length=4096 | 29.1%
INFO:2019-08-10 18:22:16,668:main.py:1189:joulescope_ui.main:Firmware upgrade [12.9%] Program application
INFO:2019-08-10 18:22:16,695:bootloader.py:192:joulescope.bootloader:write chunk 14, length=4096 | 31.4%
INFO:2019-08-10 18:22:16,695:main.py:1189:joulescope_ui.main:Firmware upgrade [13.1%] Program application
INFO:2019-08-10 18:22:16,722:bootloader.py:192:joulescope.bootloader:write chunk 15, length=4096 | 33.6%
INFO:2019-08-10 18:22:16,722:main.py:1189:joulescope_ui.main:Firmware upgrade [13.4%] Program application
INFO:2019-08-10 18:22:16,749:bootloader.py:192:joulescope.bootloader:write chunk 16, length=4096 | 35.8%
INFO:2019-08-10 18:22:16,749:main.py:1189:joulescope_ui.main:Firmware upgrade [13.6%] Program application
INFO:2019-08-10 18:22:16,776:bootloader.py:192:joulescope.bootloader:write chunk 17, length=4096 | 38.1%
INFO:2019-08-10 18:22:16,777:main.py:1189:joulescope_ui.main:Firmware upgrade [13.8%] Program application
INFO:2019-08-10 18:22:16,803:bootloader.py:192:joulescope.bootloader:write chunk 18, length=4096 | 40.3%
INFO:2019-08-10 18:22:16,804:main.py:1189:joulescope_ui.main:Firmware upgrade [14.0%] Program application
INFO:2019-08-10 18:22:16,830:bootloader.py:192:joulescope.bootloader:write chunk 19, length=4096 | 42.6%
INFO:2019-08-10 18:22:16,831:main.py:1189:joulescope_ui.main:Firmware upgrade [14.3%] Program application
INFO:2019-08-10 18:22:16,857:bootloader.py:192:joulescope.bootloader:write chunk 20, length=4096 | 44.8%
INFO:2019-08-10 18:22:16,858:main.py:1189:joulescope_ui.main:Firmware upgrade [14.5%] Program application
INFO:2019-08-10 18:22:16,885:bootloader.py:192:joulescope.bootloader:write chunk 21, length=4096 | 47.0%
INFO:2019-08-10 18:22:16,885:main.py:1189:joulescope_ui.main:Firmware upgrade [14.7%] Program application
INFO:2019-08-10 18:22:16,912:bootloader.py:192:joulescope.bootloader:write chunk 22, length=4096 | 49.3%
INFO:2019-08-10 18:22:16,912:main.py:1189:joulescope_ui.main:Firmware upgrade [14.9%] Program application
INFO:2019-08-10 18:22:16,939:bootloader.py:192:joulescope.bootloader:write chunk 23, length=4096 | 51.5%
INFO:2019-08-10 18:22:16,940:main.py:1189:joulescope_ui.main:Firmware upgrade [15.2%] Program application
INFO:2019-08-10 18:22:16,967:bootloader.py:192:joulescope.bootloader:write chunk 24, length=4096 | 53.8%
INFO:2019-08-10 18:22:16,967:main.py:1189:joulescope_ui.main:Firmware upgrade [15.4%] Program application
INFO:2019-08-10 18:22:16,994:bootloader.py:192:joulescope.bootloader:write chunk 25, length=4096 | 56.0%
INFO:2019-08-10 18:22:16,994:main.py:1189:joulescope_ui.main:Firmware upgrade [15.6%] Program application
INFO:2019-08-10 18:22:17,021:bootloader.py:192:joulescope.bootloader:write chunk 26, length=4096 | 58.2%
INFO:2019-08-10 18:22:17,021:main.py:1189:joulescope_ui.main:Firmware upgrade [15.8%] Program application
INFO:2019-08-10 18:22:17,048:bootloader.py:192:joulescope.bootloader:write chunk 27, length=4096 | 60.5%
INFO:2019-08-10 18:22:17,048:main.py:1189:joulescope_ui.main:Firmware upgrade [16.0%] Program application
INFO:2019-08-10 18:22:17,075:bootloader.py:192:joulescope.bootloader:write chunk 28, length=4096 | 62.7%
INFO:2019-08-10 18:22:17,075:main.py:1189:joulescope_ui.main:Firmware upgrade [16.3%] Program application
INFO:2019-08-10 18:22:17,102:bootloader.py:192:joulescope.bootloader:write chunk 29, length=4096 | 65.0%
INFO:2019-08-10 18:22:17,102:main.py:1189:joulescope_ui.main:Firmware upgrade [16.5%] Program application
INFO:2019-08-10 18:22:17,129:bootloader.py:192:joulescope.bootloader:write chunk 30, length=4096 | 67.2%
INFO:2019-08-10 18:22:17,130:main.py:1189:joulescope_ui.main:Firmware upgrade [16.7%] Program application
INFO:2019-08-10 18:22:17,157:bootloader.py:192:joulescope.bootloader:write chunk 31, length=4096 | 69.4%
INFO:2019-08-10 18:22:17,157:main.py:1189:joulescope_ui.main:Firmware upgrade [16.9%] Program application
INFO:2019-08-10 18:22:17,184:bootloader.py:192:joulescope.bootloader:write chunk 32, length=4096 | 71.7%
INFO:2019-08-10 18:22:17,185:main.py:1189:joulescope_ui.main:Firmware upgrade [17.2%] Program application
INFO:2019-08-10 18:22:17,211:bootloader.py:192:joulescope.bootloader:write chunk 33, length=4096 | 73.9%
INFO:2019-08-10 18:22:17,212:main.py:1189:joulescope_ui.main:Firmware upgrade [17.4%] Program application
INFO:2019-08-10 18:22:17,238:bootloader.py:192:joulescope.bootloader:write chunk 34, length=4096 | 76.2%
INFO:2019-08-10 18:22:17,239:main.py:1189:joulescope_ui.main:Firmware upgrade [17.6%] Program application
INFO:2019-08-10 18:22:17,265:bootloader.py:192:joulescope.bootloader:write chunk 35, length=4096 | 78.4%
INFO:2019-08-10 18:22:17,266:main.py:1189:joulescope_ui.main:Firmware upgrade [17.8%] Program application
INFO:2019-08-10 18:22:17,293:bootloader.py:192:joulescope.bootloader:write chunk 36, length=4096 | 80.6%
INFO:2019-08-10 18:22:17,293:main.py:1189:joulescope_ui.main:Firmware upgrade [18.1%] Program application
INFO:2019-08-10 18:22:17,320:bootloader.py:192:joulescope.bootloader:write chunk 37, length=4096 | 82.9%
INFO:2019-08-10 18:22:17,320:main.py:1189:joulescope_ui.main:Firmware upgrade [18.3%] Program application
INFO:2019-08-10 18:22:17,347:bootloader.py:192:joulescope.bootloader:write chunk 38, length=4096 | 85.1%
INFO:2019-08-10 18:22:17,347:main.py:1189:joulescope_ui.main:Firmware upgrade [18.5%] Program application
INFO:2019-08-10 18:22:17,374:bootloader.py:192:joulescope.bootloader:write chunk 39, length=4096 | 87.3%
INFO:2019-08-10 18:22:17,374:main.py:1189:joulescope_ui.main:Firmware upgrade [18.7%] Program application
INFO:2019-08-10 18:22:17,401:bootloader.py:192:joulescope.bootloader:write chunk 40, length=4096 | 89.6%
INFO:2019-08-10 18:22:17,402:main.py:1189:joulescope_ui.main:Firmware upgrade [19.0%] Program application
INFO:2019-08-10 18:22:17,429:bootloader.py:192:joulescope.bootloader:write chunk 41, length=4096 | 91.8%
INFO:2019-08-10 18:22:17,429:main.py:1189:joulescope_ui.main:Firmware upgrade [19.2%] Program application
INFO:2019-08-10 18:22:17,456:bootloader.py:192:joulescope.bootloader:write chunk 42, length=4096 | 94.1%
INFO:2019-08-10 18:22:17,456:main.py:1189:joulescope_ui.main:Firmware upgrade [19.4%] Program application
INFO:2019-08-10 18:22:17,483:bootloader.py:192:joulescope.bootloader:write chunk 43, length=4096 | 96.3%
INFO:2019-08-10 18:22:17,484:main.py:1189:joulescope_ui.main:Firmware upgrade [19.6%] Program application
INFO:2019-08-10 18:22:17,510:bootloader.py:192:joulescope.bootloader:write chunk 44, length=2656 | 98.5%
INFO:2019-08-10 18:22:17,511:main.py:1189:joulescope_ui.main:Firmware upgrade [19.9%] Program application
INFO:2019-08-10 18:22:17,536:bootloader.py:200:joulescope.bootloader:write finalize
INFO:2019-08-10 18:22:17,602:bootloader.py:206:joulescope.bootloader:write status=0
INFO:2019-08-10 18:22:17,603:firmware_manager.py:132:joulescope.firmware_manager:firmware_upgrade: Start application
INFO:2019-08-10 18:22:17,603:main.py:1189:joulescope_ui.main:Firmware upgrade [20.0%] Program application
INFO:2019-08-10 18:22:17,603:main.py:1189:joulescope_ui.main:Firmware upgrade [20.0%] Program application
INFO:2019-08-10 18:22:17,604:bootloader.py:217:joulescope.bootloader:0001: go
INFO:2019-08-10 18:22:17,604:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 18:22:17,605:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:17,605:main.py:1189:joulescope_ui.main:Firmware upgrade [20.0%] Start application
INFO:2019-08-10 18:22:17,809:main.py:446:joulescope_ui.main:Device notify
INFO:2019-08-10 18:22:17,810:main.py:805:joulescope_ui.main:_device_scan already in progress
INFO:2019-08-10 18:22:17,856:main.py:1189:joulescope_ui.main:Firmware upgrade [20.1%] Start application
INFO:2019-08-10 18:22:17,856:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:18,108:main.py:1189:joulescope_ui.main:Firmware upgrade [20.2%] Start application
INFO:2019-08-10 18:22:18,108:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:18,358:main.py:1189:joulescope_ui.main:Firmware upgrade [20.3%] Start application
INFO:2019-08-10 18:22:18,358:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:18,610:main.py:1189:joulescope_ui.main:Firmware upgrade [20.3%] Start application
INFO:2019-08-10 18:22:18,610:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:18,861:main.py:1189:joulescope_ui.main:Firmware upgrade [20.4%] Start application
INFO:2019-08-10 18:22:18,861:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:19,112:main.py:1189:joulescope_ui.main:Firmware upgrade [20.5%] Start application
INFO:2019-08-10 18:22:19,112:driver.py:1206:joulescope.driver:scan_for_changes 0 devices: 0 added, 0 removed
INFO:2019-08-10 18:22:19,141:main.py:446:joulescope_ui.main:Device notify
INFO:2019-08-10 18:22:19,141:main.py:805:joulescope_ui.main:_device_scan already in progress
INFO:2019-08-10 18:22:19,363:main.py:1189:joulescope_ui.main:Firmware upgrade [20.6%] Start application
INFO:2019-08-10 18:22:19,365:driver.py:1206:joulescope.driver:scan_for_changes 1 devices: 1 added, 0 removed
INFO:2019-08-10 18:22:19,365:firmware_manager.py:132:joulescope.firmware_manager:firmware_upgrade: Program sensor
INFO:2019-08-10 18:22:19,365:device_thread.py:174:joulescope.usb.device_thread:open
INFO:2019-08-10 18:22:19,366:device_thread.py:116:joulescope.usb.device_thread:DeviceThread.run start
INFO:2019-08-10 18:22:19,366:main.py:1189:joulescope_ui.main:Firmware upgrade [25.0%] Start application
INFO:2019-08-10 18:22:19,367:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 18:22:19,367:device.py:596:joulescope.usb.winusb.device:WinUsbDevice.open
INFO:2019-08-10 18:22:19,367:device.py:625:joulescope.usb.winusb.device:is_high_speed = True
INFO:2019-08-10 18:22:19,368:device.py:626:joulescope.usb.winusb.device:interface_settings = InterfaceDescriptor(
length=9,
descriptor_type=4,
interface_number=0,
alternate_setting=0,
num_endpoints=2,
interface_class=255,
interface_sub_class=0,
interface_protocol=0,
interface=0)
INFO:2019-08-10 18:22:19,370:span.py:38:joulescope.span:Span([0.0, 30.0], 5e-07, 100)
INFO:2019-08-10 18:22:19,372:driver.py:256:joulescope.driver:info:
{
“type”: “info”,
“ver”: 1,
“ctl”: {
“mfg”: {
“country”: “USA”,
“location”: “MD_01”,
“lot”: “201927_00”
},
“hw”: {
“rev”: “H”,
“sn_mcu”: “8300303182C45FAA64D51A956091005F”,
“sn_mfg”: “000380”
},
“fw”: {
“ver”: “1.1.0”
},
“fpga”: {
“ver”: “0.2.0”,
“prod_id”: “0x9314acf2”
}
},
“sensor”: {}
}
INFO:2019-08-10 18:22:19,373:driver.py:231:joulescope.driver:serial number = 38000313284cf5aa465da159061900f5
INFO:2019-08-10 18:22:20,386:driver.py:516:joulescope.driver:stop
INFO:2019-08-10 18:22:20,386:device_thread.py:185:joulescope.usb.device_thread:close
INFO:2019-08-10 18:22:20,386:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 18:22:20,386:device_thread.py:93:joulescope.usb.device_thread:DeviceThread._cmd_process_all close
INFO:2019-08-10 18:22:20,386:device_thread.py:123:joulescope.usb.device_thread:DeviceThread.run flush
INFO:2019-08-10 18:22:20,386:device_thread.py:125:joulescope.usb.device_thread:DeviceThread.run done
INFO:2019-08-10 18:22:20,393:main.py:1189:joulescope_ui.main:Firmware upgrade failed - unplug and retry
INFO:2019-08-10 18:22:20,401:device_thread.py:174:joulescope.usb.device_thread:open
INFO:2019-08-10 18:22:20,402:device_thread.py:116:joulescope.usb.device_thread:DeviceThread.run start
INFO:2019-08-10 18:22:20,402:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 18:22:20,403:device.py:596:joulescope.usb.winusb.device:WinUsbDevice.open
INFO:2019-08-10 18:22:20,403:device.py:625:joulescope.usb.winusb.device:is_high_speed = True
INFO:2019-08-10 18:22:20,403:device.py:626:joulescope.usb.winusb.device:interface_settings = InterfaceDescriptor(
length=9,
descriptor_type=4,
interface_number=0,
alternate_setting=0,
num_endpoints=2,
interface_class=255,
interface_sub_class=0,
interface_protocol=0,
interface=0)
INFO:2019-08-10 18:22:20,405:span.py:38:joulescope.span:Span([0.0, 30.0], 5e-07, 100)
INFO:2019-08-10 18:22:20,407:driver.py:256:joulescope.driver:info:
{
“type”: “info”,
“ver”: 1,
“ctl”: {
“mfg”: {
“country”: “USA”,
“location”: “MD_01”,
“lot”: “201927_00”
},
“hw”: {
“rev”: “H”,
“sn_mcu”: “8300303182C45FAA64D51A956091005F”,
“sn_mfg”: “000380”
},
“fw”: {
“ver”: “1.1.0”
},
“fpga”: {
“ver”: “0.2.0”,
“prod_id”: “0x9314acf2”
}
},
“sensor”: {}
}
INFO:2019-08-10 18:22:20,408:driver.py:231:joulescope.driver:serial number = 38000313284cf5aa465da159061900f5
INFO:2019-08-10 18:22:20,411:driver.py:231:joulescope.driver:serial number = 38000313284cf5aa465da159061900f5
INFO:2019-08-10 18:22:20,416:main.py:649:joulescope_ui.main:_control_ui_init
INFO:2019-08-10 18:22:20,416:main.py:670:joulescope_ui.main:control ui init i_range 8
INFO:2019-08-10 18:22:20,416:main.py:670:joulescope_ui.main:control ui init v_range 0
INFO:2019-08-10 18:22:20,417:main.py:688:joulescope_ui.main:_device_cfg_apply
INFO:2019-08-10 18:22:20,417:main.py:947:joulescope_ui.main:_param_cbk(source)
INFO:2019-08-10 18:22:20,417:main.py:933:joulescope_ui.main:param_name=source, value=raw, index=1
ERROR:2019-08-10 18:22:21,418:main.py:940:joulescope_ui.main:during parameter_set
Traceback (most recent call last):
File “joulescope_ui\main.py”, line 938, in _on_param_change
File “site-packages\joulescope\driver.py”, line 200, in parameter_set
File “site-packages\joulescope\driver.py”, line 422, in _stream_settings_send
File “site-packages\joulescope\driver.py”, line 383, in _wait_for_sensor_command
RuntimeError: timed out
INFO:2019-08-10 18:22:21,418:main.py:1189:joulescope_ui.main:Parameter set source failed, value=raw
INFO:2019-08-10 18:22:21,419:main.py:738:joulescope_ui.main:_device_recover: start
INFO:2019-08-10 18:22:21,419:main.py:758:joulescope_ui.main:_device_change remove
INFO:2019-08-10 18:22:21,419:main.py:717:joulescope_ui.main:device_close Joulescope:000380
INFO:2019-08-10 18:22:21,419:driver.py:516:joulescope.driver:stop
INFO:2019-08-10 18:22:21,419:device_thread.py:185:joulescope.usb.device_thread:close
INFO:2019-08-10 18:22:21,420:device.py:635:joulescope.usb.winusb.device:WinUsbDevice.close
INFO:2019-08-10 18:22:21,420:device_thread.py:93:joulescope.usb.device_thread:DeviceThread._cmd_process_all close
INFO:2019-08-10 18:22:21,420:device_thread.py:123:joulescope.usb.device_thread:DeviceThread.run flush
INFO:2019-08-10 18:22:21,420:device_thread.py:125:joulescope.usb.device_thread:DeviceThread.run done
INFO:2019-08-10 18:22:21,430:main.py:805:joulescope_ui.main:_device_scan already in progress
INFO:2019-08-10 18:22:21,430:main.py:743:joulescope_ui.main:_device_recover: done
INFO:2019-08-10 18:22:21,431:main.py:933:joulescope_ui.main:param_name=source, value=raw, index=1
INFO:2019-08-10 18:22:21,431:main.py:933:joulescope_ui.main:param_name=i_range, value=auto, index=0
INFO:2019-08-10 18:22:21,431:main.py:933:joulescope_ui.main:param_name=v_range, value=15V, index=0
INFO:2019-08-10 18:22:21,431:main.py:1045:joulescope_ui.main:_device_stream(True)
WARNING:2019-08-10 18:22:21,431:main.py:1010:joulescope_ui.main:_device_stream_start when no device
INFO:2019-08-10 18:22:21,432:main.py:702:joulescope_ui.main:_developer_cfg_apply
INFO:2019-08-10 18:22:21,432:main.py:827:joulescope_ui.main:_device_scan done
INFO:2019-08-10 18:23:45,705:main.py:717:joulescope_ui.main:device_close disable
INFO:2019-08-10 18:23:45,736:win32_device_notify.py:86:joulescope.usb.winusb.win32_device_notify:close

Hi @ikester - Summary: I have fixed the issue. You can download 0.5.1 (direct Win10 link). Follow the normal installation process and then retry the firmware programming.

Details
Thank you for sending the detailed logs. With that information, I was able to duplicate the exact behavior by erasing the sensor microcontroller firmware. When using the Joulescope UI, the sensor firmware refused to program due to two issues:

  • An unnecessary sensor normal on command. Now firmware upgrade goes directly to sensor bootloader.
  • A timeout that was too short for the sensor power on commands when the sensor microcontroller was unprogrammed.

Something went wrong during the first sensor firmware upgrade on your Joulescope, and the software did not recover from this case. The 0.5.1 software addresses both of these issues with the host software (no firmware changes). Please retry the steps to force the firmware upgrade as described above: Joulescope UI not connecting to hardware - #2 by mliberty

Thank you for your time and for posting the full logs which enabled me to identify and resolve this issue. I apologize for the inconvenience, and thank you again for your assistance. I fully expect the 0.5.1 software to address fix your device, but please let me know if it does not!

1 Like

0.5.1 has resolved the issue!

Thanks!
-isaac

1 Like

By the way…between your quick support and my 5 minutes of usage…you picked up a new customer. Just ordered my own Joulescope

-isaac

2 Likes

Awesome! I see your order, and it will ship tomorrow. Don’t hesitate to contact me if you have any issues, questions or feedback on your Joulescope.