[Nucleo 64 STM32L452RE] Insufficient disk space on current disk. Failed uploading

Post here all questions related to STM32 core if you can't find a relevant section!
Post Reply
brixton
Posts: 24
Joined: Thu Mar 30, 2023 11:51 am
Answers: 1

[Nucleo 64 STM32L452RE] Insufficient disk space on current disk. Failed uploading

Post by brixton »

Hello everyone,

Uploading the standard Arduino blink sketch to Nucleo does not work anymore for me since one day ago (before it worked fine). I get the following error.

Code: Select all

Insufficient disk space on current disk.
Insert another disk and type <Return> to continue... Failed uploading: uploading error: exit status 2
**Desktop:**
- OS: Windows 11 Home, OS build 22621.2715
- Arduino IDE version: 2.2.1
- STM32 core version: 2.7.0
- Upload method: "Mass storage"

**Board:**

- Name: Nucleo 64 STM32L452RE-C05
- Hardware Revision: MB1136 Rev C,

**Additional context**
I searched for this problem, I came across this issue. https://github.com/stm32duino/Arduino_C ... issues/865
Based on that I tried two things:
1. I updated the ST link firmware, as shown in this video. https://www.youtube.com/watch?v=BIuO0SeKq_k That did not fix the problem.
2. I deinstalled Arduino IDE from my PC, rebooted PC, then reinstalled Arduino. The problem was fixed. I used the board a few times. Then unplugged it, on subsequent usage the problem came back again.

IDE output is in the attached txt file. [IDE verbose output.txt](https://github.com/stm32duino/Arduino_C ... n.disk.txt)

I crossposted this topic onto the github STM32 Arduino core page https://github.com/stm32duino/Arduino_C ... ssues/2221.
by brixton » Wed Dec 06, 2023 3:28 pm
I just came across something that seems to have fixed the issue (for now) :D

I followed this video tutorial for using the Nucleo with STM32CubeIDE.
https://www.youtube.com/watch?v=hyZS2p1tW-g

Then as I wanted to put the code onto the Nucleo ("debug as"), I got a message saying the ST link needed to be updated (which I'd already done previously).
After the update, the Nucleo worked fine with STM32CubeIDE. Then the Nucleo board also worked fine when I tried it via the Arduino IDE.
Go to full post
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: [Nucleo 64 STM32L452RE] Insufficient disk space on current disk. Failed uploading

Post by fpiSTM »

Unfortunately, it seems an issue with the STlink Fimrware and have no clue on how to fix it except updating to the latest. If it's not fix the issue try using STM32CubeProgrammer (SWD) upload method.
Or your board is damaged (Flash).
You can try on ST community.
brixton
Posts: 24
Joined: Thu Mar 30, 2023 11:51 am
Answers: 1

Re: [Nucleo 64 STM32L452RE] Insufficient disk space on current disk. Failed uploading

Post by brixton »

I just came across something that seems to have fixed the issue (for now) :D

I followed this video tutorial for using the Nucleo with STM32CubeIDE.
https://www.youtube.com/watch?v=hyZS2p1tW-g

Then as I wanted to put the code onto the Nucleo ("debug as"), I got a message saying the ST link needed to be updated (which I'd already done previously).
After the update, the Nucleo worked fine with STM32CubeIDE. Then the Nucleo board also worked fine when I tried it via the Arduino IDE.
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: [Nucleo 64 STM32L452RE] Insufficient disk space on current disk. Failed uploading

Post by fpiSTM »

Fine.
Post Reply

Return to “General discussion”