Code Monkey home page Code Monkey logo

Comments (8)

reillyeon avatar reillyeon commented on July 22, 2024

The instructions in README.md only update the USB version for AVR boards. Without the board reporting a USB version of 0x0210 Chrome will not attempt to read the landing page descriptor from the device because it assumes it is not supported. The M0 is an SAMD board.

from arduino.

tylercrumpton avatar tylercrumpton commented on July 22, 2024

Ah! Thanks, that makes sense. I'll look into trying to update the USB version for the SAMD.

from arduino.

basevers avatar basevers commented on July 22, 2024

@tylercrumpton

Did you make progress?

This is the change I made in USBCore.h :
#define D_DEVICE(_class,_subClass,_proto,_packetSize0,_vid,_pid,_version,_im,_ip,_is,_configs)
{ 18, 1, USB_VERSION, _class,_subClass,_proto,_packetSize0,_vid,_pid,_version,_im,_ip,_is,_configs }

However, it caused Windows 10 no longer to recognize the board. It also caused the IDE no longer to find the COM port for programming. Forcing the board in the bootloader (pressing the reset button twice fast) allowed me to upload new firmware again.
Not sure what the behaviour would be on your Mac.

from arduino.

tylercrumpton avatar tylercrumpton commented on July 22, 2024

@basevers I have not made progress, no. I'll give that change a shot and see how it works on the Mac this afternoon.

from arduino.

tylercrumpton avatar tylercrumpton commented on July 22, 2024

@basevers So it looks like I may have already had that change in my USBCore.h file, or it's already in there for me. It's also possible I misunderstood your change, so here is what my line looks like:

#define D_DEVICE(_class,_subClass,_proto,_packetSize0,_vid,_pid,_version,_im,_ip,_is,_configs) \
	{ 18, 1, USB_VERSION, _class,_subClass,_proto,_packetSize0,_vid,_pid,_version,_im,_ip,_is,_configs }

I believe that is only for the AVR cores though, so I don't think that affects the Cortex M0-based boards anyway.

from arduino.

Sherek690 avatar Sherek690 commented on July 22, 2024

Any solution to change the USB_VERSION to 0x210 on SAMD boards ?

from arduino.

flety-emmanuel avatar flety-emmanuel commented on July 22, 2024

Hello, After a solution as well, tried changing the USB version with no success, CDC doesn't mount. Tried on a metro M0 express for a project at work, no dice. Anything to alter in the core ?

from arduino.

gpelizzo avatar gpelizzo commented on July 22, 2024

Hello, I've also tried with an Arduino 33 IOT, changing the USB version as mention, but no chance to run WebUsb. Does someone already succeeded ?

from arduino.

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.