Issues when uploading to Arduino

When I try compiling and uploading an example file to the Daisy I get the errors below on upload. I’ve matched all the settings to what’s described in the ‘Getting Started’ guide for Arduino (screenshot below)

The compile goes through fine. I tested and the browser USB programmer works too - can’t be a hardware issue.
Any help would be appreciated.


Error when upload using programmer:

at cc.arduino.packages.uploaders.SerialUploader.uploadUsingProgrammer(
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(
at cc.arduino.UploaderUtils.upload(

Error when uploading using ‘Upload’ (not as the Getting Started explains it)

                   STM32CubeProgrammer v2.4.0                  

USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : DFU in FS Mode
SN : 200364500000
FW version : 0x011a
Device ID : 0x0450
Device name : STM32H7xx
Flash size : 2 MBytes (default)
Device type : MCU
Device CPU : Cortex-M7

Memory Programming …
Opening and parsing file: autowah.ino.bin
File : autowah.ino.bin
Size : 60892 Bytes
Address : 0x08000000

Erasing memory corresponding to segment 0:
Erasing internal memory sector 0
erasing sector 0000 @: 0x08000000 done
Download in Progress:

File download complete
Time elapsed during download operation: 00:00:01.542

RUNNING Program …
Address: : 0x8000000
Error: Start operation failed

Screenshot of my settings:

Same problem here. Seems to be a non-issue.Meaning: a false error. The program runs (try the bilking LED example).

Thanks for your reply DragonSF but it’s not uploading in my case. Still running the project I tested uploading through the browser earlier.
Tried a few more examples and always the same.

Actually … @DragonSF … you are right!

It’s just that you HAVE to use ‘Upload’ and NOT (as described here: ) ‘Upload Using Programmer’. @andrewikenberry might be good to get this updated for other starters.

Still erroring out with “Error: Start operation failed” but I guess that’s just the main program not being able to start by itself?

Let me know in case I’m missing something.

I just fixed the wiki to properly mention using the ‘Upload’ button, and also included a note to not use the ‘Upload Using Programmer’ button.

Hope that helps some people avoid this issue in the future!


Another working upload alternative from the Arduino IDE:

Connecting an ST-Link v2
via an ARM JTAG Adapter

and uploading with Tools > Upload Method > STM32CubeProgrammer (SWD)

1 Like