Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider collaboration? #2

Open
cnlohr opened this issue Dec 28, 2016 · 4 comments
Open

Consider collaboration? #2

cnlohr opened this issue Dec 28, 2016 · 4 comments

Comments

@cnlohr
Copy link

cnlohr commented Dec 28, 2016

I have the software USB stack running on an ESP over at espusb. http://github.com/cnlohr/espusb

We also are toying with trying to do software updating over the USB port via a bootloader USB. When I saw your talk I was finally thinking about DFU. Is that where you were leaning or something else?

Additionally, I was confused by your lack of mention of libUSB, since we've used that on a variety of windows/linux systems and seems to work in a very uniform manner.

@Spritetm
Copy link

Fyi, I'm also attempting a port to the ESP32, using the RMT as a hardware sampling device thingamajig for now.

@cnlohr
Copy link
Author

cnlohr commented Jan 12, 2017

Coincidentally, just noticed yesterday, it looks like USB full speed MIGHT be possible on the '32. Also, I think my USB with espusb should port easily to the '32.

@xobs
Copy link
Owner

xobs commented May 31, 2017

libUSB is a fantastic resource, and I use it on Windows for working with e.g. openocd and USB JTAG boxes. But it can be challenging to install and isn't as foolproof as USB HID.

I have looked at DFU, and there are three reasons why I decided against using it.

  1. It still requires a driver, although there may be a way to get around that by having it present itself as a HID device and just talking to EP0.
  2. More critically, there aren't a lot of DFU desktop applications available.
  3. DFU seems vague enough that you need to define everything yourself, so might as well make a complete implementation yourself.

Things may have changed since I last looked, though.

@cnlohr
Copy link
Author

cnlohr commented May 31, 2017

I have been doing more and more with signal11. I am pretty comfortable with it now. The next round of s/w usb stuff from me will totally do hidusb. I will admit, when I was doing the ESPUSB bootloader, I didn't consider DFU for similar reasons.

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

No branches or pull requests

3 participants