4 years, 4 months ago.

STM32 Nucleo USB Storage Write Problems

Hi,

I've just received a new ST Nucleo board (STM32L432) and I would like to use it with the online Mbed compiler. Unfortunately, when I compile a program and download the .bin file to a local folder on my PC, I can not then copy it to the Nucleo's USB storage device.

When I try and write the .bin file to the Nucleo's USB drive the USB drive momentarily disconnects from windows and then reconnects but no file has been written to the Nucleo. It is as if the Nucleo's board is write protected.

I have downloaded the latest STLink V2-1 drivers but that didn't fix the problem.

I would appreciate any suggestions how to copy a .bin file to the Nucleo Dev board?

Thanks.

Mike

1 Answer

4 years, 4 months ago.

You may try the workaround suggested by Maxime Teissier. If the Flash memory is write protected then you can turn the protection off with the STM32 ST-LINK Utility (It worked for me with the Maple Mini board.)

I've now used the ST-Link Utility and it's a very useful program.

Thanks for your help.

posted by Michael Cregan 20 Dec 2016