Spark Logic

Loading .bin without using Arduino IDE

STM32F103C8T6 LQFP48 Pinout

Hello!
Tell me how can I load the compiled sketch in .bin format into the STM32F103STM32F103Microcontrollers and processors…19.html . ag123 Sat Apr 28, 2018 5:54 pm come to think of it blue pill / maple mini ( stm32f103 ) is an *ideal* keyboard controller, the scanning can be done with assistance of sh…View in hardware catalog 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 в плату STM32F103STM32F103Microcontrollers and processors…19.html . ag123 Sat Apr 28, 2018 5:54 pm come to think of it blue pill / maple mini ( stm32f103 ) is an *ideal* keyboard controller, the scanning can be done with assistance of sh…View in hardware catalog с bootloader stm32duino по USB?
Такая ситуация: устройство у человека, но я не хочу предоставлять исходный код.
Возможно существуют такие программы

Replies10

Fri Nov 24, 2017 4:29 pm

dfu-util -a n -D firmware.bin

Fri Nov 24, 2017 4:41 pm

The person who has the device can not figure out how to do this.
Ideal situation: the person starts the program, indicates the .bin file, flushes it.

Sat Nov 25, 2017 5:30 pm

on which OS ?
which cpu ? guessing STM32F103C8T6STM32F103C8T6Microcontrollers and processors…e Sep 27, 2016 10:28 pm I know this is an old topic, but… I’m using blue pill board ( STM32F103C8T6 , version 3). With the current (modified) Adafruit library 0.96″ OLED display w…View in hardware catalog ?
which board ? Blue PillBlue PillDevelopment and computing boards…as become my new favorite board. I am calling it “blue pad” and it is kind of super “ blue pill ”. Pito Thu Jul 27, 2017 8:53 pm [victor_pv – Thu Jul 27, 2017 3:58 pm] – Just for…View in hardware catalog , Baite Mini, Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog 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 STM32F103STM32F103Microcontrollers and processors…19.html . ag123 Sat Apr 28, 2018 5:54 pm come to think of it blue pill / maple mini ( stm32f103 ) is an *ideal* keyboard controller, the scanning can be done with assistance of sh…View in hardware catalog 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

Sun Nov 26, 2017 5:14 pm

zmemw16
Windows 7
STM32F103C8T6STM32F103C8T6Microcontrollers and processors…e Sep 27, 2016 10:28 pm I know this is an old topic, but… I’m using blue pill board ( STM32F103C8T6 , version 3). With the current (modified) Adafruit library 0.96″ OLED display w…View in hardware catalog
Blue PillBlue PillDevelopment and computing boards…as become my new favorite board. I am calling it “blue pad” and it is kind of super “ blue pill ”. Pito Thu Jul 27, 2017 8:53 pm [victor_pv – Thu Jul 27, 2017 3:58 pm] – Just for…View in hardware catalog
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.

Sun Nov 26, 2017 5:42 pm

Seems like you should just get the device back from him and update it yourself.

Sun Nov 26, 2017 6:09 pm

Found a way that a person does not go into the details of the firmware.
Arduino_STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog \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"

Mon Nov 27, 2017 12:21 am

does windows do expansion ? so, so long ago :D
ok missed bit about being just one in a directory :(
“*.bin” to me expands to all files with a bin extension.
srp

Mon Nov 27, 2017 5:35 am

  • .bin.

In this context, instead of “*”, specify the file name :)

Wed Nov 29, 2017 7:23 pm

Can the STM Flash Loader Demonstrator load an arbitrary bin file, or just a bootloader?

Thu Nov 30, 2017 1:03 pm

Yes, it can! It is used to load any bin file.

Post a reply

Optional · up to 10 MiB