Coder Social home page Coder Social logo

Comments (5)

dhalbert avatar dhalbert commented on June 9, 2024

This does work on Linux; I use it all the time. I notice you are running Linux on Parallels. Do you have a native Linux machine to try?

from uf2-samdx1.

spachner avatar spachner commented on June 9, 2024

Hi Dan,

thank for your quick answer. Glad to hear that is must work. I am working with Linux@Parallels for many years now and never had an issue with USB. I will try on native Linux next week.
I also gave CDC a try and used bossac.
Either on MacOS and on Linux@Parallels. Same result Mac works and Linux not.
I guess the CDC device is /dev/ttyACM0. I tried

[linux]$
bossac -i -p /dev/ttyACM0
No device found on /dev/ttyACM0
[macOS]$
[ master ] $ ./bin/bossac -i -p /dev/tty.usbmodem1412201
Device       : ATSAMD21x18
Version      : v1.1 [Arduino:XYZ] Jun  6 2020 18:42:39
Address      : 0x0
Pages        : 4096
Page Size    : 64 bytes
Total Size   : 256KB
Planes       : 1
Lock Regions : 16
Locked       : none
Security     : false
BOD          : false
BOR          : false

I have no glue what is going on. My app running also MSC on my board which works fine under Linux@Parallels.

I will come back to you next week.

spachner

from uf2-samdx1.

spachner avatar spachner commented on June 9, 2024

Hi Dan,

quite wired: After rebooting the Mac my virtual Ubuntu works quite well with uf2. I am happily bootloading now. Seems to be a glitch with MacOS's USB subsystem.

Thanks for you help.

regards

spachner

from uf2-samdx1.

dhalbert avatar dhalbert commented on June 9, 2024

Glad to hear! I was thinking of how to reproduce this.

from uf2-samdx1.

presslab-us avatar presslab-us commented on June 9, 2024

Just thought I'd chime in and say that I see the same problem where it resets after 22 seconds, using USB3 redirection with QEMU 5.0.0. On native Linux it is working fine.

I'd guess it's some kind of timing issue but who knows.

from uf2-samdx1.

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.