Skip to main content
Graduate II
June 1, 2023
Question

How to stop the creation of MBED.HTM file in Discovery F407 USB driver

  • June 1, 2023
  • 6 replies
  • 1368 views

Discovery STM32F407 USB Disk driver creates two files, details.txt and mbed.htm, I've searched for strings with these names but they must be encoded.

Anyone know how to remove them?

    This topic has been closed for replies.

    6 replies

    Super User
    June 1, 2023

    Are you trying to write USB Mass-storage (MSC) Device

    Which USB connector are you connecting to?

    JW

    Graduate II
    June 2, 2023

    The North End USB connector connects to the ST-LINK's STM32F103, it creates a faux drive so you can drag-n-drop .BIN files.

    The South End USB is the one for the STM32F4, here you can code whatever function and descriptors you want.

    RobmarAuthor
    Graduate II
    June 2, 2023

    Does STM allow clients access to the F103 code, I'd like to see if we can repurpose it.

    Super User
    June 2, 2023

    > Does STM allow clients access to the F103 code

    No.

    > I'd like to see if we can repurpose it.

    You of course can, but you then loose its original functionality, i.e. can't use it as an ST-Link anymore.

    There are folks who replace the original functionality with something else, e.g. see black mag=c debugger.

    JW

    RobmarAuthor
    Graduate II
    June 2, 2023

    Without any reference code, it's not going to be easy, are there instructions on reprogramming the F103 using it's current firmware?

    Super User
    June 2, 2023

    No, once you reprogram it, you can't revert to STLink, ST does not publish the STLink's bootloader, not even as binary.

    JW