Failed uploading: uploading error: exit status 7

Post here first, or if you can't find a relevant section!
Post Reply
BMcKnight
Posts: 2
Joined: Thu Oct 12, 2023 4:21 pm

Failed uploading: uploading error: exit status 7

Post 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 2533 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.
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Failed uploading: uploading error: exit status 7

Post by fpiSTM »

Try to update again the fw and pay attention to have the one with mass storage enabled.
BMcKnight
Posts: 2
Joined: Thu Oct 12, 2023 4:21 pm

Re: Failed uploading: uploading error: exit status 7

Post 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.
Post Reply

Return to “General discussion”