Hello,
I have an Arduino Portenta H7, and I'm trying to upload a basic sketch to the board:
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
digitalWrite(LED_BUILTIN, HIGH); // turn the LED off after being turned on by pinMode()
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, LOW); // turn the LED on (LOW is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, HIGH); // turn the LED off by making the voltage HIGH
delay(1000); // wait for a second
}
The sketch compiles, but I get an error when uploading:
dfu-util 0.10-dev
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util / Tickets
dfu-util: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release
dfu-util: No DFU capable USB device available
Failed uploading: uploading error: exit status 74
I'm not sure why this is. I'm using the latest IDE version, and the IDE recognizes the port that the board is connected to. I searched this error and found a forum post from last year saying to press the reset button on the board twice, but that didn't work.
Any help would be greatly appreciated. Thanks.