Skip to content

Conversation

@bridadan
Copy link
Contributor

@bridadan bridadan commented Nov 2, 2017

Fixes #259.

Previously the Windows implementation relied on the language of the system to work correctly (specifically, English). This dependency has been removed. It should work on all languages now.

@bridadan
Copy link
Contributor Author

bridadan commented Nov 2, 2017

@toyowata This should fix your problem, I'd appreciate it if you have a chance to test my branch! I wrote a test for it but nothing is as good as native Windows for this kind of stuff 😄

@theotherjimmy Could you please review?

Copy link
Contributor

@theotherjimmy theotherjimmy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to extend our test coverage.

@theotherjimmy
Copy link
Contributor

Wow, a red-green refactor cycle. Nice!

@coveralls
Copy link

coveralls commented Nov 2, 2017

Coverage Status

Coverage remained the same at 73.896% when pulling e4d0bca on bridadan:fix_lang_matching_win into f2b0f27 on ARMmbed:master.

@toyowata
Copy link
Contributor

toyowata commented Nov 3, 2017

@bridadan

I locally applied your patch and the result is below:

PS C:\Users\toyom\mbed-ls> mbedls --debug
DEBUG:mbedls.main:mbed-ls ver. 1.3.3
DEBUG:mbedls.main:host: ('nt', 'Windows', '10', '10.0.15063', 'win32')
DEBUG:mbedls.lstools_win7:running command: fsutil fsinfo drives
DEBUG:mbedls.lstools_win7:return code: 0
DEBUG:mbedls.lstools_win7:output:
ドライブ: C:\ D:\ E:\

Traceback (most recent call last):
  File "C:\Python27\Scripts\mbedls-script.py", line 11, in <module>
    load_entry_point('mbed-ls==1.3.3', 'console_scripts', 'mbedls')()
  File "c:\python27\lib\site-packages\mbed_lstools\main.py", line 260, in mbedls_main
    ret_code = args.command(mbeds, args)
  File "c:\python27\lib\site-packages\mbed_lstools\main.py", line 109, in print_table
    return print_mbeds(mbeds, args, False)
  File "c:\python27\lib\site-packages\mbed_lstools\main.py", line 97, in print_mbeds
    devices = mbeds.list_mbeds(unique_names=True, read_details_txt=True)
  File "c:\python27\lib\site-packages\mbed_lstools\lstools_base.py", line 128, in list_mbeds
    candidates = list(self.find_candidates())
  File "c:\python27\lib\site-packages\mbed_lstools\windows.py", line 50, in find_candidates
    for mnt, id in self.get_mbeds()
  File "c:\python27\lib\site-packages\mbed_lstools\windows.py", line 136, in get_mbeds
    drive_letters = set(self._drive_letters())
  File "c:\python27\lib\site-packages\mbed_lstools\windows.py", line 124, in _drive_letters
    drive_list = re.match('\s*.*: ([A-Z:\\\\ ]*)', stdout.decode('utf-8')).group(1)
  File "c:\python27\lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x83 in position 2: invalid start byte
PS C:\Users\toyom\mbed-ls>

The reason is that the stdout stores Japanese shift-jis charset rather than utf-8 or ascii.

PS C:\Users\toyom\mbed-ls> chcp
現在のコード ページ: 932

If I remove the utf-8 decoder call, it works in Japanese Windows.

drive_list = re.match('\s*.*: ([A-Z:\\\\ ]*)', stdout).group(1)
PS C:\Users\toyom\mbed-ls> mbedls --debug
DEBUG:mbedls.main:mbed-ls ver. 1.3.3
DEBUG:mbedls.main:host: ('nt', 'Windows', '10', '10.0.15063', 'win32')
DEBUG:mbedls.lstools_win7:running command: fsutil fsinfo drives
DEBUG:mbedls.lstools_win7:return code: 0
DEBUG:mbedls.lstools_win7:output:
ドライブ: C:\ D:\ E:\

DEBUG:mbedls.lstools_win7:Found drive letters: C:, D:, E:
DEBUG:mbedls.lstools_win7:iter_vals <PyHKEY object at 0x0000000003ABDD90>
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{83778b11-2063-11e7-850c-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00u\x00r\x00&\x00R\x00e\x00v\x
00_\x00_\x001\x00.\x000\x00#\x001\x000\x001\x000\x003\x00b\x000\x004\x003\x00b\x00e\x005\x000\x00a\x009\x005\x002\x008\x006\x007\x000\x002\x002\x003\x001\x005\x000\x008\x000\x000\x00c\x00a\x004\x000\x00f\x009\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x
00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{90b91255-0f13-11e7-850a-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x007\x000\x001\x001\x000\x000\x000\x000\x
000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x004\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{d81cdcb4-1098-11e7-850b-f48c50e6e5b9}' label '\\\x00?\x00?\x00\\\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00C\x00d\x00R\x00o\x00m\x00&\x00V\x00e\x00n\x00_\x00P\x00I\x00O\x00N\x00E\x00E\x00R\x00&\x00P\x00r\x00o\x00d\x00_\x00B\x00D\x00-\x00R\x00W\x00_\x00_\x00_\x00B\x00D\x00R\x00-\x00U\x00D\x000\x003
\x00&\x00R\x00e\x00v\x00_\x001\x00.\x000\x001\x00#\x000\x000\x000\x000\x000\x000\x001\x004\x000\x007\x003\x005\x000\x001\x000\x00F\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x00d\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{eb7344ed-0f87-11e7-850a-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00&\x00P\x00r\x00o\x00d\x00_\x00U\x00S\x00B\x00_\x00D\x00I\x00S\x00K\x00_\x002\x00.\x000\x00&\x00R\x00e\x00v\x00_\x00P\x00M\x00A\x00P\x00#\x000\x007\x
00A\x003\x001\x001\x000\x000\x001\x00D\x005\x001\x00B\x005\x008\x006\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\DosDevices\\C:' label 'DMIO:ID:\xf3\xe7\xa6\x12\x8f\xa0JN\x86\xe8u&F\xa1\xa8\xec'
DEBUG:mbedls.lstools_win7:Found Mount point \DosDevices\D: with usb ID _??_USBSTOR#Disk&Ven_MBED&Prod_VFS&Rev_0.1#0240000028884e450024700f6bf000408021000097969900&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
DEBUG:mbedls.lstools_win7:get_mbeds mount_point D: usb_id 0240000028884e450024700f6bf000408021000097969900
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{d0021d77-2432-11e7-b62f-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x000\x002\x004\x000\x000\x002\x000\x001\x00E\x008\x00B\x008\x007\x00E\x007\x001\x001\x005\x004\x006\x008\x003\x00C\x009\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{34bae79c-25be-11e7-b62f-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x001\x00.\x
000\x00#\x000\x002\x000\x001\x00E\x008\x00B\x008\x007\x00E\x007\x001\x005\x00D\x00B\x00E\x009\x00A\x007\x00C\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{34bae7ad-25be-11e7-b62f-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x000\x002\x004\x000\x000\x000\x000\x000\x
003\x003\x009\x000\x004\x00e\x004\x005\x000\x000\x001\x001\x003\x000\x001\x004\x009\x001\x002\x008\x000\x000\x002\x000\x004\x00a\x001\x001\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{7c090612-2c19-11e7-850f-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x001\x005\x004\x009\x000\x002\x002\x001\x000\x00A\x005\x00A\x00D\x008\x009\x008\x003\x005\x001\x00E\x005\x00C\x00E\x00C\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{9be0bdb8-31a2-11e7-8510-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00S\x00O\x00N\x00Y\x00&\x00P\x00r\x00o\x00d\x00_\x00W\x00A\x00L\x00K\x00M\x00A\x00N\x00&\x00R\x00e\x00v\x00_\x001\x00.\x000\x000\x00#\x001\x001\x000\x
000\x00E\x00E\x000\x005\x000\x000\x005\x001\x005\x005\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{dbe05e8e-50dd-11e7-8512-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x007\x00&\x001\x008\x003\x00a\x002\x00a\x003\x000\x00&\x000\x00&\x000\x006\x006\x00A\x00F\x00F\x004\x008\x004\x009\x005\x007\x008\x004\x007\x001\x006\x007\x000\x007\x003\x008\x001\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x
000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{3c559b36-5370-11e7-8512-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x007\x00&\x001\x007\x004\x00b\x008\x009\x006\x000\x00&\x000\x00&\x000\x006\x006\x009\x00F\x00F\x005\x000\x004\x009\x005\x005\x007\x000\x007\x002\x006\x007\x002\x005\x004\x008\x004\x009\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x
000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{ac767e8d-5a1e-11e7-8512-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x005\x005\x000\x000\x000\x000\x000\x000\x
001\x00d\x009\x009\x007\x00a\x00e\x00a\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x002\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{a3aae71d-7222-11e7-8515-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00P\x00C\x00I\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00R\x00S\x00P\x00E\x00R\x00&\x00P\x00r\x00o\x00d\x00_\x00R\x00T\x00S\x005\x002\x000\x008\x00L\x00U\x00N\x000\x00&\x00R\x00e\x00v\x00_\x001\x00.\x000\x
000\x00#\x000\x000\x000\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{c54b2bcb-7dce-11e7-8517-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00S\x00o\x00n\x00y\x00&\x00P\x00r\x00o\x00d\x00_\x00S\x00t\x00o\x00r\x00a\x00g\x00e\x00_\x00M\x00e\x00d\x00i\x00a\x00&\x00R\x00e\x00v\x00_\x000\x001\x
000\x000\x00#\x003\x00C\x005\x002\x001\x001\x004\x000\x006\x002\x009\x002\x004\x004\x000\x000\x008\x001\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{f51ab872-9485-11e7-8517-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x005\x005\x000\x000\x000\x002\x002\x001\x000\x00D\x007\x007\x00C\x00B\x003\x003\x00F\x000\x00A\x009\x006\x001\x00C\x00B\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\DosDevices\\E:' label '_\x00?\x00?\x00_\x00P\x00C\x00I\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00R\x00S\x00P\x00E\x00R\x00&\x00P\x00r\x00o\x00d\x00_\x00R\x00T\x00S\x005\x002\x000\x008\x00L\x00U\x00N\x000\x00&\x00R\x00e\x00v\x00_\x001\x00.\x000\x000\x00#\x000\x000\x000\x000\x00#\
x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{d642fd0e-9f0a-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x000\x002\x004\x000\x000\x000\x000\x000\x
002\x008\x008\x008\x004\x00e\x004\x005\x000\x000\x002\x004\x007\x000\x000\x00f\x006\x00b\x00f\x000\x000\x000\x004\x000\x008\x000\x002\x001\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{9993aa90-a79a-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x005\x005\x000\x000\x000\x000\x000\x000\x
001\x00c\x001\x00d\x006\x002\x00c\x00b\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x002\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{9993b824-a79a-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00I\x00-\x00O\x00_\x00D\x00A\x00T\x00A\x00&\x00P\x00r\x00o\x00d\x00_\x00U\x00S\x00B\x00_\x00F\x00l\x00a\x00s\x00h\x00_\x00D\x00i\x00s\x00k\x00&\x00R\x
00e\x00v\x00_\x00P\x00M\x00A\x00P\x00#\x000\x007\x000\x008\x007\x004\x005\x00E\x001\x005\x002\x000\x00B\x00D\x001\x005\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{9993b847-a79a-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00N\x00X\x00P\x00&\x00P\x00r\x00o\x00d\x00_\x00L\x00P\x00C\x001\x00X\x00X\x00X\x00_\x00I\x00F\x00L\x00A\x00S\x00H\x00&\x00R\x00e\x00v\x00_\x001\x00.\x
000\x00#\x00I\x00S\x00P\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{9993b859-a79a-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x005\x005\x000\x001\x000\x000\x000\x000\x
001\x00c\x001\x00d\x006\x002\x00c\x00b\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x002\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{6864675f-ab7c-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00.\x00O\x00R\x00G\x00&\x00P\x00r\x00o\x00d\x00_\x00M\x00B\x00E\x00D\x00_\x00U\x00S\x00B\x00_\x00D\x00I\x00S\x00K\x00&\x00R\x00e\x
00v\x00_\x001\x00.\x000\x00#\x002\x000\x001\x003\x000\x006\x002\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{68646782-ab7c-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x001\x00.\x
000\x00#\x000\x002\x000\x000\x000\x009\x00B\x00E\x00C\x006\x00D\x00D\x00B\x00C\x00B\x008\x002\x002\x00D\x001\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{686467a7-ab7c-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x009\x000\x000\x004\x000\x002\x002\x001\x000\x009\x00B\x00E\x00C\x006\x00D\x00D\x00F\x004\x006\x000\x00A\x009\x002\x001\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{68646e23-ab7c-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x001\x000\x001\x009\x000\x000\x000\x000\x
000\x006\x00e\x001\x001\x00e\x003\x005\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x002\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{6864743c-ab7c-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x001\x000\x001\x007\x000\x002\x002\x001\x000\x006\x00F\x006\x00D\x007\x002\x002\x003\x009\x00B\x002\x005\x006\x000\x008\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{8a1f39ec-b8d4-11e7-8519-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00A\x00R\x00M\x00_\x00V\x002\x00M\x00-\x00&\x00P\x00r\x00o\x00d\x00_\x00M\x00P\x00S\x002\x00&\x00R\x00e\x00v\x00_\x00#\x007\x00&\x002\x006\x008\x00c\x
00c\x008\x009\x00c\x00&\x000\x00&\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{8a1f3a05-b8d4-11e7-8519-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00A\x00R\x00M\x00_\x00V\x002\x00M\x00-\x00&\x00P\x00r\x00o\x00d\x00_\x00M\x00P\x00S\x002\x00&\x00R\x00e\x00v\x00_\x00#\x007\x00&\x003\x008\x005\x00d\x
004\x002\x003\x000\x00&\x000\x00&\x000\x000\x003\x002\x000\x000\x000\x000\x000\x000\x000\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:_com_port usb_devs ['ROOT_HUB30', 'VID_0403&PID_6001', 'VID_046D&PID_C52B', 'VID_046D&PID_C52B&MI_00', 'VID_046D&PID_C52B&MI_01', 'VID_046D&PID_C52B&MI_02', 'VID_0483&PID_3748', 'VID_0483&PID_374B', 'VID_0483&PID_374B&MI_00', 'VID_0483&PID_374B&MI_01', 'VID_0483&PID_374B&MI_02', 'VID_04BB&PID_022C', 'VID_04BB&PID_101D', 'VID_04F2&PI
D_B473', 'VID_04F2&PID_B473&MI_00', 'VID_054C&PID_06B1', 'VID_054C&PID_0B72', 'VID_057E&PID_2042', 'VID_067B&PID_2303', 'VID_0B05&PID_7772', 'VID_0D28&PID_0204', 'VID_0D28&PID_0204&MI_00', 'VID_0D28&PID_0204&MI_01', 'VID_0D28&PID_0204&MI_03', 'VID_13FE&PID_3600', 'VID_1FC9&PID_000F', 'VID_2886&PID_0070', 'VID_8087&PID_0A2B', 'VID_C251&PID_4003', 'VID_C251&PI
D_4003&MI_00', 'VID_C251&PID_4003&MI_01']
DEBUG:mbedls.lstools_win7:_com_port looking up usb id in all usb devices
DEBUG:mbedls.lstools_win7:Found usb id 0240000028884e450024700f6bf000408021000097969900 in VID_0D28&PID_0204 with subkeys ['Device Parameters', 'Properties']
DEBUG:mbedls.lstools_win7:Found usb id 0240000028884e450024700f6bf000408021000097969900 in VID_0D28&PID_0204&MI_00 with subkeys ['Device Parameters', 'Properties']
DEBUG:mbedls.lstools_win7:Found usb id 0240000028884e450024700f6bf000408021000097969900 in VID_0D28&PID_0204&MI_01 with subkeys ['Device Parameters', 'Properties']
DEBUG:mbedls.lstools_win7:Found usb id 0240000028884e450024700f6bf000408021000097969900 in VID_0D28&PID_0204&MI_03 with subkeys ['Device Parameters', 'Properties']
DEBUG:mbedls.lstools_win7:_com_port Detecting port with Device Parameter
DEBUG:mbedls.lstools_win7:Exception <PyHKEY object at 0x0000000003B47190> [Error 2] 指定されたファイルが見つかりません。
DEBUG:mbedls.lstools_win7:Exception <PyHKEY object at 0x0000000003B471B0> [Error 2] 指定されたファイルが見つかりません。
DEBUG:mbedls.lstools_win7:_com_port port u'COM13' regtype 1
DEBUG:mbedls.lstools_base:Candidates for display [{'mount_point': 'D:', 'serial_port': u'COM13', 'target_id_usb_id': u'0240000028884e450024700f6bf000408021000097969900'}]
DEBUG:mbedls.lstools_base:Found target id 0240000028884e450024700f6bf000408021000097969900 in htm line window.location.replace("https://mbed.org/device/?code=0240000028884e450024700f6bf000408021000097969900?version=0243?target_id=002effffffffffff4e453105100a002e");

+---------------+----------------------+-------------+-------------+--------------------------------------------------+-----------------+
| platform_name | platform_name_unique | mount_point | serial_port |                    target_id                     | daplink_version |
+---------------+----------------------+-------------+-------------+--------------------------------------------------+-----------------+
|      K64F     |       K64F[0]        |      D:     |    COM13    | 0240000028884e450024700f6bf000408021000097969900 |       0243      |
+---------------+----------------------+-------------+-------------+--------------------------------------------------+-----------------+
DEBUG:mbedls.main:Return code: 0
PS C:\Users\toyom\mbed-ls>

@bridadan bridadan force-pushed the fix_lang_matching_win branch from e4d0bca to 558c4a3 Compare November 3, 2017 15:05
@bridadan
Copy link
Contributor Author

bridadan commented Nov 3, 2017

Thanks for the feedback @toyowata. I couldn't just remove the decode unfortunately as you mentioned since that doesn't work with Python 3. I had to instead move the matching logic to be in bytes all the way to finding the drive letters. At that point I decode to utf-8.

Any chance you could try it again @toyowata.
@theotherjimmy please make sure I'm not doing something silly here.

@theotherjimmy
Copy link
Contributor

@bridadan It looks fine. It's a bit odd, but that's what happens when you have an OS that has conflicting default encodings!

@bridadan bridadan force-pushed the fix_lang_matching_win branch from 558c4a3 to b6d9cac Compare November 3, 2017 15:13
@coveralls
Copy link

coveralls commented Nov 3, 2017

Coverage Status

Coverage increased (+0.1%) to 73.997% when pulling b6d9cac on bridadan:fix_lang_matching_win into f2b0f27 on ARMmbed:master.

@toyowata
Copy link
Contributor

toyowata commented Nov 3, 2017

@bridadan

Thanks for your explanation.
Now, it works!!

PS C:\Users\toyom\mbed-ls> mbedls --debug
DEBUG:mbedls.main:mbed-ls ver. 1.3.3
DEBUG:mbedls.main:host: ('nt', 'Windows', '10', '10.0.15063', 'win32')
DEBUG:mbedls.lstools_win7:running command: fsutil fsinfo drives
DEBUG:mbedls.lstools_win7:return code: 0
DEBUG:mbedls.lstools_win7:output:
ドライブ: C:\ D:\

DEBUG:mbedls.lstools_win7:Found drive letters: C:, D:
DEBUG:mbedls.lstools_win7:iter_vals <PyHKEY object at 0x0000000004006D70>
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{83778b11-2063-11e7-850c-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00u\x00r\x00&\x00R\x00e\x00v\x
00_\x00_\x001\x00.\x000\x00#\x001\x000\x001\x000\x003\x00b\x000\x004\x003\x00b\x00e\x005\x000\x00a\x009\x005\x002\x008\x006\x007\x000\x002\x002\x003\x001\x005\x000\x008\x000\x000\x00c\x00a\x004\x000\x00f\x009\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x
00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{90b91255-0f13-11e7-850a-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x007\x000\x001\x001\x000\x000\x000\x000\x
000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x004\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{d81cdcb4-1098-11e7-850b-f48c50e6e5b9}' label '\\\x00?\x00?\x00\\\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00C\x00d\x00R\x00o\x00m\x00&\x00V\x00e\x00n\x00_\x00P\x00I\x00O\x00N\x00E\x00E\x00R\x00&\x00P\x00r\x00o\x00d\x00_\x00B\x00D\x00-\x00R\x00W\x00_\x00_\x00_\x00B\x00D\x00R\x00-\x00U\x00D\x000\x003
\x00&\x00R\x00e\x00v\x00_\x001\x00.\x000\x001\x00#\x000\x000\x000\x000\x000\x000\x001\x004\x000\x007\x003\x005\x000\x001\x000\x00F\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x00d\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{eb7344ed-0f87-11e7-850a-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00&\x00P\x00r\x00o\x00d\x00_\x00U\x00S\x00B\x00_\x00D\x00I\x00S\x00K\x00_\x002\x00.\x000\x00&\x00R\x00e\x00v\x00_\x00P\x00M\x00A\x00P\x00#\x000\x007\x
00A\x003\x001\x001\x000\x000\x001\x00D\x005\x001\x00B\x005\x008\x006\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\DosDevices\\C:' label 'DMIO:ID:\xf3\xe7\xa6\x12\x8f\xa0JN\x86\xe8u&F\xa1\xa8\xec'
DEBUG:mbedls.lstools_win7:Found Mount point \DosDevices\D: with usb ID _??_USBSTOR#Disk&Ven_MBED&Prod_VFS&Rev_0.1#0240000028884e450024700f6bf000408021000097969900&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
DEBUG:mbedls.lstools_win7:get_mbeds mount_point D: usb_id 0240000028884e450024700f6bf000408021000097969900
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{d0021d77-2432-11e7-b62f-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x000\x002\x004\x000\x000\x002\x000\x001\x00E\x008\x00B\x008\x007\x00E\x007\x001\x001\x005\x004\x006\x008\x003\x00C\x009\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{34bae79c-25be-11e7-b62f-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x001\x00.\x
000\x00#\x000\x002\x000\x001\x00E\x008\x00B\x008\x007\x00E\x007\x001\x005\x00D\x00B\x00E\x009\x00A\x007\x00C\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{34bae7ad-25be-11e7-b62f-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x000\x002\x004\x000\x000\x000\x000\x000\x
003\x003\x009\x000\x004\x00e\x004\x005\x000\x000\x001\x001\x003\x000\x001\x004\x009\x001\x002\x008\x000\x000\x002\x000\x004\x00a\x001\x001\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{7c090612-2c19-11e7-850f-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x001\x005\x004\x009\x000\x002\x002\x001\x000\x00A\x005\x00A\x00D\x008\x009\x008\x003\x005\x001\x00E\x005\x00C\x00E\x00C\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{9be0bdb8-31a2-11e7-8510-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00S\x00O\x00N\x00Y\x00&\x00P\x00r\x00o\x00d\x00_\x00W\x00A\x00L\x00K\x00M\x00A\x00N\x00&\x00R\x00e\x00v\x00_\x001\x00.\x000\x000\x00#\x001\x001\x000\x
000\x00E\x00E\x000\x005\x000\x000\x005\x001\x005\x005\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{dbe05e8e-50dd-11e7-8512-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x007\x00&\x001\x008\x003\x00a\x002\x00a\x003\x000\x00&\x000\x00&\x000\x006\x006\x00A\x00F\x00F\x004\x008\x004\x009\x005\x007\x008\x004\x007\x001\x006\x007\x000\x007\x003\x008\x001\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x
000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{3c559b36-5370-11e7-8512-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x007\x00&\x001\x007\x004\x00b\x008\x009\x006\x000\x00&\x000\x00&\x000\x006\x006\x009\x00F\x00F\x005\x000\x004\x009\x005\x005\x007\x000\x007\x002\x006\x007\x002\x005\x004\x008\x004\x009\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x
000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{ac767e8d-5a1e-11e7-8512-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x005\x005\x000\x000\x000\x000\x000\x000\x
001\x00d\x009\x009\x007\x00a\x00e\x00a\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x002\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{a3aae71d-7222-11e7-8515-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00P\x00C\x00I\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00R\x00S\x00P\x00E\x00R\x00&\x00P\x00r\x00o\x00d\x00_\x00R\x00T\x00S\x005\x002\x000\x008\x00L\x00U\x00N\x000\x00&\x00R\x00e\x00v\x00_\x001\x00.\x000\x
000\x00#\x000\x000\x000\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{c54b2bcb-7dce-11e7-8517-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00S\x00o\x00n\x00y\x00&\x00P\x00r\x00o\x00d\x00_\x00S\x00t\x00o\x00r\x00a\x00g\x00e\x00_\x00M\x00e\x00d\x00i\x00a\x00&\x00R\x00e\x00v\x00_\x000\x001\x
000\x000\x00#\x003\x00C\x005\x002\x001\x001\x004\x000\x006\x002\x009\x002\x004\x004\x000\x000\x008\x001\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{f51ab872-9485-11e7-8517-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x005\x005\x000\x000\x000\x002\x002\x001\x000\x00D\x007\x007\x00C\x00B\x003\x003\x00F\x000\x00A\x009\x006\x001\x00C\x00B\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\DosDevices\\E:' label '_\x00?\x00?\x00_\x00P\x00C\x00I\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00R\x00S\x00P\x00E\x00R\x00&\x00P\x00r\x00o\x00d\x00_\x00R\x00T\x00S\x005\x002\x000\x008\x00L\x00U\x00N\x000\x00&\x00R\x00e\x00v\x00_\x001\x00.\x000\x000\x00#\x000\x000\x000\x000\x00#\
x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{d642fd0e-9f0a-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x000\x002\x004\x000\x000\x000\x000\x000\x
002\x008\x008\x008\x004\x00e\x004\x005\x000\x000\x002\x004\x007\x000\x000\x00f\x006\x00b\x00f\x000\x000\x000\x004\x000\x008\x000\x002\x001\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{9993aa90-a79a-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x005\x005\x000\x000\x000\x000\x000\x000\x
001\x00c\x001\x00d\x006\x002\x00c\x00b\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x002\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{9993b824-a79a-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00I\x00-\x00O\x00_\x00D\x00A\x00T\x00A\x00&\x00P\x00r\x00o\x00d\x00_\x00U\x00S\x00B\x00_\x00F\x00l\x00a\x00s\x00h\x00_\x00D\x00i\x00s\x00k\x00&\x00R\x
00e\x00v\x00_\x00P\x00M\x00A\x00P\x00#\x000\x007\x000\x008\x007\x004\x005\x00E\x001\x005\x002\x000\x00B\x00D\x001\x005\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{9993b847-a79a-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00N\x00X\x00P\x00&\x00P\x00r\x00o\x00d\x00_\x00L\x00P\x00C\x001\x00X\x00X\x00X\x00_\x00I\x00F\x00L\x00A\x00S\x00H\x00&\x00R\x00e\x00v\x00_\x001\x00.\x
000\x00#\x00I\x00S\x00P\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{9993b859-a79a-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x005\x005\x000\x001\x000\x000\x000\x000\x
001\x00c\x001\x00d\x006\x002\x00c\x00b\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x002\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{6864675f-ab7c-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00.\x00O\x00R\x00G\x00&\x00P\x00r\x00o\x00d\x00_\x00M\x00B\x00E\x00D\x00_\x00U\x00S\x00B\x00_\x00D\x00I\x00S\x00K\x00&\x00R\x00e\x
00v\x00_\x001\x00.\x000\x00#\x002\x000\x001\x003\x000\x006\x002\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{68646782-ab7c-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x001\x00.\x
000\x00#\x000\x002\x000\x000\x000\x009\x00B\x00E\x00C\x006\x00D\x00D\x00B\x00C\x00B\x008\x002\x002\x00D\x001\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{686467a7-ab7c-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x009\x000\x000\x004\x000\x002\x002\x001\x000\x009\x00B\x00E\x00C\x006\x00D\x00D\x00F\x004\x006\x000\x00A\x009\x002\x001\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{68646e23-ab7c-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00V\x00F\x00S\x00&\x00R\x00e\x00v\x00_\x000\x00.\x001\x00#\x001\x000\x001\x009\x000\x000\x000\x000\x
000\x006\x00e\x001\x001\x00e\x003\x005\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x009\x007\x009\x006\x009\x009\x000\x002\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x
00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{6864743c-ab7c-11e7-8518-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00M\x00B\x00E\x00D\x00&\x00P\x00r\x00o\x00d\x00_\x00m\x00i\x00c\x00r\x00o\x00c\x00o\x00n\x00t\x00r\x00o\x00l\x00l\x00e\x00r\x00&\x00R\x00e\x00v\x00_\x
001\x00.\x000\x00#\x001\x000\x001\x007\x000\x002\x002\x001\x000\x006\x00F\x006\x00D\x007\x002\x002\x003\x009\x00B\x002\x005\x006\x000\x008\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{8a1f39ec-b8d4-11e7-8519-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00A\x00R\x00M\x00_\x00V\x002\x00M\x00-\x00&\x00P\x00r\x00o\x00d\x00_\x00M\x00P\x00S\x002\x00&\x00R\x00e\x00v\x00_\x00#\x007\x00&\x002\x006\x008\x00c\x
00c\x008\x009\x00c\x00&\x000\x00&\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:Skipping Mount point '\\??\\Volume{8a1f3a05-b8d4-11e7-8519-f48c50e6e5b9}' label '_\x00?\x00?\x00_\x00U\x00S\x00B\x00S\x00T\x00O\x00R\x00#\x00D\x00i\x00s\x00k\x00&\x00V\x00e\x00n\x00_\x00A\x00R\x00M\x00_\x00V\x002\x00M\x00-\x00&\x00P\x00r\x00o\x00d\x00_\x00M\x00P\x00S\x002\x00&\x00R\x00e\x00v\x00_\x00#\x007\x00&\x003\x008\x005\x00d\x
004\x002\x003\x000\x00&\x000\x00&\x000\x000\x003\x002\x000\x000\x000\x000\x000\x000\x000\x000\x00&\x000\x00#\x00{\x005\x003\x00f\x005\x006\x003\x000\x007\x00-\x00b\x006\x00b\x00f\x00-\x001\x001\x00d\x000\x00-\x009\x004\x00f\x002\x00-\x000\x000\x00a\x000\x00c\x009\x001\x00e\x00f\x00b\x008\x00b\x00}\x00'
DEBUG:mbedls.lstools_win7:_com_port usb_devs ['ROOT_HUB30', 'VID_0403&PID_6001', 'VID_046D&PID_C52B', 'VID_046D&PID_C52B&MI_00', 'VID_046D&PID_C52B&MI_01', 'VID_046D&PID_C52B&MI_02', 'VID_0483&PID_3748', 'VID_0483&PID_374B', 'VID_0483&PID_374B&MI_00', 'VID_0483&PID_374B&MI_01', 'VID_0483&PID_374B&MI_02', 'VID_04BB&PID_022C', 'VID_04BB&PID_101D', 'VID_04F2&PI
D_B473', 'VID_04F2&PID_B473&MI_00', 'VID_054C&PID_06B1', 'VID_054C&PID_0B72', 'VID_057E&PID_2042', 'VID_067B&PID_2303', 'VID_0B05&PID_7772', 'VID_0D28&PID_0204', 'VID_0D28&PID_0204&MI_00', 'VID_0D28&PID_0204&MI_01', 'VID_0D28&PID_0204&MI_03', 'VID_13FE&PID_3600', 'VID_1FC9&PID_000F', 'VID_2886&PID_0070', 'VID_8087&PID_0A2B', 'VID_C251&PID_4003', 'VID_C251&PI
D_4003&MI_00', 'VID_C251&PID_4003&MI_01']
DEBUG:mbedls.lstools_win7:_com_port looking up usb id in all usb devices
DEBUG:mbedls.lstools_win7:Found usb id 0240000028884e450024700f6bf000408021000097969900 in VID_0D28&PID_0204 with subkeys ['Device Parameters', 'Properties']
DEBUG:mbedls.lstools_win7:Found usb id 0240000028884e450024700f6bf000408021000097969900 in VID_0D28&PID_0204&MI_00 with subkeys ['Device Parameters', 'Properties']
DEBUG:mbedls.lstools_win7:Found usb id 0240000028884e450024700f6bf000408021000097969900 in VID_0D28&PID_0204&MI_01 with subkeys ['Device Parameters', 'Properties']
DEBUG:mbedls.lstools_win7:Found usb id 0240000028884e450024700f6bf000408021000097969900 in VID_0D28&PID_0204&MI_03 with subkeys ['Device Parameters', 'Properties']
DEBUG:mbedls.lstools_win7:_com_port Detecting port with Device Parameter
DEBUG:mbedls.lstools_win7:Exception <PyHKEY object at 0x00000000040A7190> [Error 2] 指定されたファイルが見つかりません。
DEBUG:mbedls.lstools_win7:Exception <PyHKEY object at 0x00000000040A71B0> [Error 2] 指定されたファイルが見つかりません。
DEBUG:mbedls.lstools_win7:_com_port port u'COM13' regtype 1
DEBUG:mbedls.lstools_base:Candidates for display [{'mount_point': 'D:', 'serial_port': u'COM13', 'target_id_usb_id': u'0240000028884e450024700f6bf000408021000097969900'}]
DEBUG:mbedls.lstools_base:Found target id 0240000028884e450024700f6bf000408021000097969900 in htm line window.location.replace("https://mbed.org/device/?code=0240000028884e450024700f6bf000408021000097969900?version=0243?target_id=002effffffffffff4e453105100a002e");

+---------------+----------------------+-------------+-------------+--------------------------------------------------+-----------------+
| platform_name | platform_name_unique | mount_point | serial_port |                    target_id                     | daplink_version |
+---------------+----------------------+-------------+-------------+--------------------------------------------------+-----------------+
|      K64F     |       K64F[0]        |      D:     |    COM13    | 0240000028884e450024700f6bf000408021000097969900 |       0243      |
+---------------+----------------------+-------------+-------------+--------------------------------------------------+-----------------+
DEBUG:mbedls.main:Return code: 0
PS C:\Users\toyom\mbed-ls>

@theotherjimmy
Copy link
Contributor

Looks like we're good to go then.

@theotherjimmy theotherjimmy merged commit 3dfbc83 into ARMmbed:master Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants