Mbed forum

Nucleo F401 shows as a 33 KB mass stage device

(Chris Albertson) #1

What causes this.? I try to load software and get the infamous “no space on device” error. If I move the Nucleo to another host computer it still is seen as a 33KB mass storage device, not the 512K it should be.

No the device is not full of files, it shows as 33KB capasity

But here is an odd thing. One in about 50 attempts actually works and I can download my software. But then I need to fix a bug and it takes another 45 minutes to get the software working. So the error is not 100%, just about 98%, It actually works about 2% of the time.

If it matters this is (mostly) on MacOS.

Tried

  1. re-flashed the firmware, 5 or 6 times
  2. look for and remove any hidden files and directories (.Thrash) event doing “rm -f *”
  3. Unplug the cable and reset
  4. using different USB ports and different cables

Is the device simply broken? One would think reflashing the ST-Link firmware would either fix this or find an error with corrupted flash ROM when it tries to verify the re-flash

I searched the forums and this seems to be a recurring problem over the last few years.

What to try?

Hw to verify to the board is dead-for-good. vs. dumb-user-error I don’t want to toss out stacks of good Nucleo boards.