Particle Photon Registration Error


#1

Hi all,

Been trying to get my Particle Photon to run Zeryth VM all day haven’t had much success.
I have followed all the guides on installing dfu-util and usb drivers, but still no luck.
The problem arises when I attempt to register the device, here is the upload message:

[info] Starting device registration
[info] Burning bootloader…
[info] dfu-util 0.8
[info]
[info] Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
[info] Copyright 2010-2014 Tormod Volden and Stefan Schmidt
[info] This program is Free Software and has ABSOLUTELY NO WARRANTY
[info] Please report bugs to dfu-util@lists.gnumonks.org
[info]
[info] Opening DFU capable USB device…
[info] ID 2b04:d006
[info] Run-time device DFU version 011a
[info] Claiming USB DFU Interface…
[info] Setting Alternate Setting #0
[info] Determining device status: state = dfuIDLE, status = 0
[info] dfuIDLE, continuing
[info] DFU mode device DFU version 011a
[info] Device returned transfer size 4096
[info] DfuSe interface name: "Internal Flash "
[info] Downloading to address = 0x08020000, size = 133120
[info]
[info] Download [ ] 0% 0 bytes
[info] Download [ ] 0% 0 bytes
[info] Download [= ] 6% 8192 bytes
[info] Download [== ] 9% 12288 bytes
[info] Download [=== ] 12% 16384 bytes
[info] Download [==== ] 18% 24576 bytes
[info] Download [===== ] 21% 28672 bytes
[info] Download [====== ] 24% 32768 bytes
[info] Download [======= ] 30% 40960 bytes
[info] Download [======== ] 33% 45056 bytes
[info] Download [========= ] 36% 49152 bytes
[info] Download [========== ] 40% 53248 bytes
[info] Download [=========== ] 46% 61440 bytes
[info] Download [============ ] 49% 65536 bytes
[info] Download [============= ] 52% 69632 bytes
[info] Download [============== ] 58% 77824 bytes
[info] Download [=============== ] 61% 81920 bytes
[info] Download [================ ] 64% 86016 bytes
[info] Download [================= ] 70% 94208 bytes
[info] Download [================== ] 73% 98304 bytes
[info] Download [=================== ] 76% 102400 bytes
[info] Download [==================== ] 80% 106496 bytes
[info] Download [===================== ] 86% 114688 bytes
[info] Download [====================== ] 89% 118784 bytes
[info] Download [======================= ] 92% 122880 bytes
[info] Download [======================== ] 98% 131072 bytes
[info] Download [=========================] 100% 133120 bytes
[info] Download done.
[info] File downloaded successfully
[info] Invalid DFU suffix signature
[info] A valid DFU suffix will be required in a future dfu-util release!!!
[info] attempt 1
[info] attempt 2
Traceback (most recent call last):
File “C:\Users\Neill\zerynth2\dist\r2.1.1\ztc\ztc.py”, line 111, in
cli()
File “C:\Users\Neill\zerynth2\sys\python\lib\site-packages\click\core.py”, line 716, in call
return self.main(*args, **kwargs)
File “C:\Users\Neill\zerynth2\sys\python\lib\site-packages\click\core.py”, line 696, in main
rv = self.invoke(ctx)
File “C:\Users\Neill\zerynth2\sys\python\lib\site-packages\click\core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “C:\Users\Neill\zerynth2\sys\python\lib\site-packages\click\core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “C:\Users\Neill\zerynth2\sys\python\lib\site-packages\click\core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “C:\Users\Neill\zerynth2\sys\python\lib\site-packages\click\core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “C:\Users\Neill\zerynth2\dist\r2.1.1\ztc\devices\devcmd.py”, line 312, in register
res,chipid = _extract_chipid_from_serial(tgt)
File “C:\Users\Neill\zerynth2\dist\r2.1.1\ztc\devices\devcmd.py”, line 227, in _extract_chipid_from_serial
line=ch.readline()
File “C:\Users\Neill\zerynth2\dist\r2.1.1\ztc\base\comm.py”, line 133, in readline
return self.ch.readline().decode(“ascii”,“ignore”)
File “C:\Users\Neill\zerynth2\sys\python\lib\site-packages\serial\serialwin32.py”, line 246, in read
if not self.hComPort: raise portNotOpenError
serial.serialutil.SerialException: Attempting to use a port that is not open

Any help would be great thanks!


#2

Got it working. I had to manually select the correct usb drivers in Windows Device manager. The drivers are found on the device page: https://docs.zerynth.com/latest/official/board.zerynth.particle_photon/docs/index.html