stm32duino / Arduino_Core_STM32

STM32 core support for Arduino

Home Page:https://github.com/stm32duino/Arduino_Core_STM32/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

daanvV opened this issue · comments

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

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. #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

EDIT: Crossposted on STM32duino forum.
https://www.stm32duino.com/viewtopic.php?p=13543#p13543

EDIT2: upgraded the STM core to 2.7.1, then restarted Arduino IDE. Does not fix the issue.

Hi @daanvV
I've answered you on the forum.
I close this one as not an issue with the core. The build and size are correct:

Sketch uses 13724 bytes (2%) of program storage space. Maximum is 524288 bytes.
Global variables use 1248 bytes (0%) of dynamic memory, leaving 162592 bytes for local variables. Maximum is 163840 bytes.