cancel
Showing results for 
Search instead for 
Did you mean: 

Mass storage seen by windows is writtable from the controller?

Jorge Calatayud Maeso
Associate II
Posted on January 31, 2018 at 00:11

When i plug in my STM32 Nucleo-f303k8 windows detects it as a mass storage device. Is there any way to write data in this memory from the ucontroller?

5 REPLIES 5
Andrew Neil
Evangelist III
Posted on January 31, 2018 at 17:59

There was a long discussion about this a couple of months ago - IIRC, the conclusion was, 'No.'

The mass storage that you see is for the mbed bootloader.

Posted on January 31, 2018 at 18:26

The ST-LINK is faking a MSC, you can write a binary that replaces the entire memory content of the target device. This is how the mbed drag-and-drop programming works.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on January 31, 2018 at 18:13

Can you link me that post please?

Posted on January 31, 2018 at 18:23

The forum is currently in a semi-broken state, providing directly links fails in most cases and for many users.

The flash arrangement and speed of write/erase is not conducive to real-time operation and management of 512 byte block devices. Erase and Write will stall the processor when running code from flash.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on January 31, 2018 at 18:51

I would have but, as

Turvey.Clive.002

‌ says, the forum is not currently in a fit state.

Sorry.

:(