I’m having some trouble working with an Arduino-compatible device. My program compiles fine, but the process of flashing the device involves it “rebooting” (or something) itself, which detaches it from my development VM, and reappear as a new, unattached device. So the flashing process fails, giving a “/dev/tty/ACM0: No such file or directory” error midway through. It doesn’t break the device, thankfully, but it doesn’t get flashed either.
Is there a way around this? I’m not sure if working with a fancy actual J-Link programmer would solve this, but I don’t have one of those anyway. Does anyone have any experience on this front? If so, what did you do? I’d prefer not to break the USB security model too much, if possible.