Была та же беда для 401, использовал консульскую тулзу, както так:
Код
c:\Program Files (x86)\STMicroelectronics\Software\Flash Loader Demonstrator>STMFlashLoader.exe -c --pn 27 --br 115200 -i STM32F4_256K -d --fn fw.hex --v
где
--pn 27 - port number (27 for COM27)
--fn fw.hex - path to the firmware file (in this case the file is located in the same folder where the STMFlashLoader.exe)
--br 115200 - port baud rate(115200)