![]() (I am most interested in the Nucleo-64 NUCLEO-F303RE board, but I think the answer will likely be relevant for all Nucleo boards. I guess it might be possible to reverse engineer the STLink firmware and re-flash with the USB Mass Storage device disabled. ![]() ![]() The goliothbasics sample uses a common file located. Update version number and build firmware. Befor load new firmware into this application we must convert DFU file into HEX file or S19 file. Upload the binary to Golioth and roll it out to the device(s). However, I would like to disable this on the hardware itself, so that on Windows and Mac no mounting occurs. In our case: NUCLEOF401RE-20200902-v1.13.dfu For flashing memory in our main microcontroller we use STM32 ST-LINK Utility Software (the same application as we use for the update ST-Link Firmware). I am working mostly in linux and there I should be able to make a udev rule to block mounting the USB Mass Storage device, which is my backup plan. In particular, I don't want the user to see the mounted disk to get a warning if it is unplugged without being unmounted. The STM32 Nucleo-64 board comes with the STM32 comprehensive free software libraries and examples available with the STM32Cube MCU Package. ![]() In this setup, having the STLink part of my board auto-mount itself every time I plug it is is distracting. I am using nucleo-32 and nucleo-64 boards by programming them with OpenOCD and then using STLink's virtual com port to handle USB comms with my target device. Is it possible to disable the USB Mass Storage option on the STLink hardware of the Nucleo board? I want to prevent mounting the device when I plug it into computers (while keeping the virtual com port). NUCLEO-F401RE - STM32 Nucleo-64 development board with STM32F401RE MCU, supports Arduino and ST morpho connectivity, NUCLEO-F401RE, STMicroelectronics. ![]()
0 Comments
Leave a Reply. |