Menu

#69 cbmctrl detect hangs (zoomfloppy flashing)

v0.5.0
closed
None
1
2020-06-26
2018-05-21
No

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.

Discussion

  • Spiro Trikaliotis

    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.

     
  • Spiro Trikaliotis

    • assigned_to: Spiro Trikaliotis
     
  • Spiro Trikaliotis

    Ticket moved from /p/opencbm/support-requests/20/

     
  • Andre Fachat

    Andre Fachat - 2018-05-22

    If it helps:

    stack trace in cbmctrl shows it hangs at:

    #0 .. __select_nocancel ()
    #1 .. ??
    #2 .. xum1541_wait_status ()
    #3 .. xum1541_write ()
    #4 .. opencbm_plugin_listen ()
    #5 .. cbm_exec_command ()
    #6 .. cbm_identify ()
    #7 .. ??
    #8 .. ??
    #9 __libc_start_main
    

    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.

     
  • Spiro Trikaliotis

    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
  • Spiro Trikaliotis

    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB