cbmctrl detect hangs (zoomfloppy flashing)
Brought to you by:
strik
I am using opencbm 0.4.99.99 on an Ubuntu 16.04 64bit system.
I do not have any drive attached.
When I repeatedly run "cbmctrl detect", latest after 4 tries the command hangs, the Zoomfloppy blinks indefinitely. I tried various USB ports (board, Hub, USB3-Hub) but all showed the same behaviour, I have to unplug the zoomfloppy to get it to work again
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
USB error in xum1541_wait_status: No error
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
USB error in xum1541_wait_status: No error
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
USB error in xum1541_wait_status: No error
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
fachat@euler:~/Documents/8bit/opencbm-0.4.99.99$ cbmctrl detect
USB error in xum1541_wait_status: No error
Is this the same problem as reported here: https://groups.google.com/forum/#!topic/zoomfloppy-users/xLPm1asdTW4 ?
At least I can confirm the log output looks identical to what pcollins reported.
Anonymous
Yes, it seems to be the same problem.
However, at the moment, I do not see any way to debug this.
I will move it to the "bugs" tracker, however.
Ticket moved from /p/opencbm/support-requests/20/
If it helps:
stack trace in cbmctrl shows it hangs at:
To me it looks like the data is sent, and then zoomfloppy does not know what to do with it, so cbmctrl is waiting.
I wonder:
1) Is there a way to retrieve log output from the zoomfloppy without USB, e.g. with an additional serial channel, or maybe even writing a file to a CBM floppy?
2) Or maybe use some kind of blink codes on the zoomfloppy to iteratively find out what happens here?
I have not (yet) found out how to a) flash the zoomfloppy (preferrably with an ISP programmer, as USB seems not to be reliant obviously) and b) compile the actual firmware for the zoomfloppy. Any hints welcome.
There was much work recently on this issue. I believe v0.4.99.102 does not show this behaviour anymore.
If this problem persists, please open a bug on github: https://github.com/OpenCBM/OpenCBM/issues
Last edit: Spiro Trikaliotis 2020-06-26