DFU error with Oopsy and ST-Link

I recently set up Max MSP (latest of ver 9) so that I can use it with the Daisy Seed and Patch.init that I have. If I set it up to program either one just using the built in USB, it works fine without errors. If I set it up to program it with an ST-link, it seems to work but I always get a DFU error at the end. I tried this on both Windows and MacOS and appeared to get the same issue. I do have oopsy.js set to use make program and the activity lights on the ST-link do flash. The LED on the Daisy also flashes showing that the code was loaded but I still get a DFU error. I have the latest version of the Daisy toolchain, Oopsy, and Max MSP.

Maybe this is just a false positive with the Oopsy.js code?

Welcome :slight_smile:

Did you modify oopsy.js like in this video before using the ST Link?

I did indeed. Both instances of ‘make program-dfu’ were changed to ‘make program’. The Daisy seems to have received the code just fine, though, despite the error. I found this error on both Windows and MacOs with the same setup with Daisy Seed and Patch SM. I did some troubleshooting and I found that what is marked in green below never becomes true. stdout never has that string in my experience. The dfu error that I’m getting seems to generate from the area of the code marked in red.