Skip to main content
Jorge Calatayud Maeso
Associate
January 30, 2018
Question

Mass storage seen by windows is writtable from the controller?

  • January 30, 2018
  • 2 replies
  • 949 views
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?

    This topic has been closed for replies.

    2 replies

    Andrew Neil
    Super User
    January 31, 2018
    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.

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Jorge Calatayud Maeso
    Associate
    January 31, 2018
    Posted on January 31, 2018 at 18:13

    Can you link me that post please?

    Tesla DeLorean
    Guru
    January 31, 2018
    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 VenmoUp vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Guru
    January 31, 2018
    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 VenmoUp vote any posts that you find helpful, it shows what's working..