7 years, 7 months ago.

Nucleo F042K6 - Not enough free space / Unexpected error occurred

Hi,

I'm trying to get started with a Nucleo STM32F042K6 board. I created a new project on the online IDE with F042K6 as the platform, and blinky as the example. Once the project is set up, I make sure to update the mbed library by right clicking on it and clicking update, and finally I compile the project. It successfully downloads the bin file. However, when I try to drag it to the NODE_F042K6 USB device appearing on my computer, it either tells me that there isn't enough free space to copy the file, or that an unexpected error occurred.

I'm on a last-year MacBook Pro running OSX Yosemite.

Thanks again, Mike

I have tried to upload a BIN file on the board from a Windows 10 machine, having installed STLINK/V2 drivers, and I can confirm this only happens on my Mac. Hope this helps narrow it down!

posted by Mike Vanis 05 Jan 2017

Is there a FAIL.TXT file also in the nucleo drive?

posted by Erik - 05 Jan 2017

Unfortunately I don't see a FAIL.TXT in the Nucleo drive.

posted by Mike Vanis 05 Jan 2017

You may try the workaround suggested by Maxime.
The STM32 ST-LINK Utility is also useful when you'd like to check or clear the FLASH memory.

posted by Zoltan Hudak 05 Jan 2017
Be the first to answer this question.