2014-12-05 01:05 AM
i'v tested the nucleo on arm mbed, very nice.
but, when i use the onboard stlink v2.1 to debug my application board, the mbed mass-storeage disk is always pop-up a window. so, can i disable this disk (not by disbable the system autorun function), only keep the stlink swd & cdc functions? #nucleo-f401re-st-link/v2-1Solved! Go to Solution.
2024-01-31 05:48 AM - edited 2024-01-31 05:49 AM
Hello,
As said by @Andrew Neil , you can disable it by changing type but you can do it with CubeProgrammer:
Click "Firmware upgrade button" Then click "Open in update mode" button. Check the box "Change type" , finally select "STM32 Debug+VCP" and click "Update":
2024-01-31 04:56 AM
I also had this question, and a forum search found this unanswered post.
I load code direct from the IDE - I don't use the mass storage - so the pop-up of the file explorer window is just a nuisance.
Turns out there is a way to disable the mass storage feature of the ST-Links on Nucleo boards:
it uses the ST-Link Updater, STSW-LINK007: https://www.st.com/en/development-tools/stsw-link007.html
That gives you the option to change the 'Type' from 'Debug + Mass Storage + VCP' to just 'Debug + VCP'
2024-01-31 05:48 AM - edited 2024-01-31 05:49 AM
Hello,
As said by @Andrew Neil , you can disable it by changing type but you can do it with CubeProgrammer:
Click "Firmware upgrade button" Then click "Open in update mode" button. Check the box "Change type" , finally select "STM32 Debug+VCP" and click "Update":
2024-01-31 10:42 AM
Another easy way, even without touching the ST-LINK firmware: open Device Manager and disable the disk device associated with the ST-LINK. If you have only one or few boards or ST-LINKs, this is the easiest and safest method.