Skip to main content
Robmar
Senior II
June 1, 2023
Question

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

  • June 1, 2023
  • 6 replies
  • 1407 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

waclawek.jan
Super User
June 1, 2023

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

Which USB connector are you connecting to?

JW

Tesla DeLorean
Guru
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.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Robmar
RobmarAuthor
Senior II
June 2, 2023

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

waclawek.jan
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

Robmar
RobmarAuthor
Senior 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?

waclawek.jan
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