Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 6 of 6

Thread: WebUSB DFU to program teensy 4.x

  1. #1
    Senior Member
    Join Date
    Nov 2015
    Posts
    200

    WebUSB DFU to program teensy 4.x

    Hi,
    I searched the forum but I didn't find anyone interested, do you know if it is possible to implement webUSB DFU on teensy so that it is programmable from Chrome?
    This is the reference https://devanlai.github.io/webdfu/dfu-util/

    In a commercial or semi-DIY project, can be useful for people who knows nothing about ide/toolchain etc...

    Thanks

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,818
    Currently Teensy only supports USB HID for programming.

  3. #3
    Senior Member
    Join Date
    Nov 2015
    Posts
    200
    thanks paul
    is it a software question (which can be implemented over time) or is it a hardware question?
    Is there a similar USB HID method for programming via browser?

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,818
    Quote Originally Posted by urbanspaceman View Post
    Is there a similar USB HID method for programming via browser?
    On Microsoft Windows and Apple MacOS, probably not. The HID driver claims the interface. My understanding (admittedly only from reading, not actually using JavaScript for WebUSB) is it can't use USB interfaces which have been claimed by any drivers.

    On Linux, maybe. But you might need to first use libusb to detach the kernel's hidraw driver.

  5. #5
    Senior Member
    Join Date
    Nov 2015
    Posts
    200
    Thanks for the reply Paul, I hope then in a future update

  6. #6
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,818
    This is the thread to follow for future WebUSB stuff.

    https://forum.pjrc.com/threads/60782...s-PluggableUSB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •