Tell me how can I load the compiled sketch in .bin format into the STM32f103 board with bootloader stm32duino via USB?
Such situation: the device at the person, but I do not want to give the source code.
Perhaps there are such programs
Russian variants:
Здравствуйте!
Подскажите как можно загрузить скомпилированный скетч в формате .bin в плату STM32f103 с bootloader stm32duino по USB?
Такая ситуация: устройство у человека, но я не хочу предоставлять исходный код.
Возможно существуют такие программы
Ideal situation: the person starts the program, indicates the .bin file, flushes it.
which cpu ? guessing stm32f103c8t6 ?
which board ? Blue Pill, Baite Mini, Maple Mini or something else
which core ? initial suspect is Rogers’
which Arduino issue 1.6.9 1.8.5 or something else
if they have internet, point them to the wiki and browse the stm32f103 boards, ask them to identify the suspect
nb i use linux so slight bias
1. do you know they have dfu-util installed ? and if it’s in the PATH ?
win [open a cmd window] type dfu-util and press return
linux [xterm]type dfu-util and press return
optimal is a version output mithering about help
stephen@i71:~$ dfu-util
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to [email protected]
You need to specify one of -D or -U
Usage: dfu-util [options] ...
-h --help Print this help message
-V --version Print the version number
-v --verbose Print verbose debug statements
-l --list List currently attached DFU capable devices
-e --detach Detach currently attached DFU capable devices
-E --detach-delay seconds Time to wait before reopening a device after detach
-d --device <vendor>:<product>[,<vendor_dfu>:<product_dfu>]
Specify Vendor/Product ID(s) of DFU device
-p --path <bus-port. ... .port> Specify path to DFU device
-c --cfg <config_nr> Specify the Configuration of DFU device
-i --intf <intf_nr> Specify the DFU Interface number
-S --serial <serial_string>[,<serial_string_dfu>]
Specify Serial String of DFU device
-a --alt <alt> Specify the Altsetting of the DFU Interface
by name or by number
-t --transfer-size <size> Specify the number of bytes per USB Transfer
-U --upload <file> Read firmware from device into <file>
-Z --upload-size <bytes> Specify the expected upload size in bytes
-D --download <file> Write firmware from <file> into device
-R --reset Issue USB Reset signalling once we're finished
-s --dfuse-address <address> ST DfuSe mode, specify target address for
raw file download or upload. Not applicable for
DfuSe file (.dfu) downloads
Windows 7
stm32f103c8t6
Blue Pill
Core Stm32duino Arduino IDE 1.8.5.
I made a device to a person, and the device needs to be updated.
I’m interested in the program in which you need to specify the * .bin file and click the flash button
Dfu-util is not suitable. A man does not understand.
Arduino_STM32\tools\win
In this folder I put a file “*.bin”, create a “*.bat” a file with contents:
"maple_upload.bat" COM13 2 1EAF:0003 "*.bin"ok missed bit about being just one in a directory
“*.bin” to me expands to all files with a bin extension.
srp
In this context, instead of “*”, specify the file name
