Code Monkey home page Code Monkey logo

Comments (3)

Reesy1979 avatar Reesy1979 commented on June 21, 2024 1

Thank you for confirming it works, no doubt I've messed something up along the way.
I'm using a PI Zero 1 32bit mode - I forgot to mention that I'm using circle via the circle-stdlib project so perhaps that is the difference. I'll repeat some tests using circle on its own and see if I get the same results as you.

Thanks again for your help and for your time creating this great software.

from circle.

rsta2 avatar rsta2 commented on June 21, 2024

The destructor of the class CUSBHCIDevice should be properly implemented, otherwise the sample/38-bootloader would not work. I did several tests here with a Raspberry Pi 2B with the bootloader sample and also with a test program, which creates, initializes and destroys an instance of CUSBHCIDevice multiple times. Everything worked well. See the test program attached.

With which RPi model are you working and in which mode (32 or 64 bit)? Do you have special system options enabled or other special configurations?

usbtest.zip

from circle.

Reesy1979 avatar Reesy1979 commented on June 21, 2024

Issue appears to be with my USB device, I was using a retroflag GPI case - code was detecting device ven45e-28e. Using your test code I got the same issue, second attempt to connect hangs. I took my Pi Zero out of the retroflag case and used a normal PS4 controller and everything works correctly. Just thought I would mention it in case anyone else has issues.

from circle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.