Page 1 of 1

Failed uploading: uploading error: exit status 7

Posted: Thu Oct 12, 2023 4:54 pm
by BMcKnight
Hi,

Been using Arduino boards for several years and recent bought a Nucleo-64 F446RE. The first couple of projects with the Arduino IDE worked fine. Then I updated the firmware through ST-LINK to the latest version.

Now, when I try to upload a sketch, I get

NODE_F446RE not found. Please ensure the device is correctly connected.
Failed uploading: uploading error: exit status 7

ST-LINK still recognizes the board and my last sketch still runs when I plug in the USB cable. The link light is solid red.

I get this when I connect to the target device through ST-LINK:
12:48:49 : ST-LINK SN : 066FFF363355373043065823
12:48:49 : V2J37M0
12:48:49 : Connected via SWD.
12:48:49 : SWD Frequency = 4,0 MHz.
12:48:49 : Connection mode : Normal.
12:48:49 : Debug in Low Power mode enabled.
12:48:50 : Device ID:0x421
12:48:50 : Device flash Size : 512KBytes
12:48:50 : Device family :STM32F446xx
 

I get this when from Tools > Get board info in the Arduino IDE
board info.jpg
board info.jpg (13.05 KiB) Viewed 4294 times

It doesn't show up as an extra drive in the Windows File Explorer. I wonder if the firmware update is the culprit?

Thanks in advance.

Re: Failed uploading: uploading error: exit status 7

Posted: Thu Oct 12, 2023 5:33 pm
by fpiSTM
Try to update again the fw and pay attention to have the one with mass storage enabled.

Re: Failed uploading: uploading error: exit status 7

Posted: Thu Oct 12, 2023 6:29 pm
by BMcKnight
Thanks! That was it.

I didn't check the "Change Type" box. The message in parenthesis under it said "...else do not use!". I didn't know what that meant and figured it was better to be safe than sorry with a firmware update.