Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ST-FLASH(1)			    STLINK			   ST-FLASH(1)

NAME
       st-flash	- Flash	binary files to	STM32 device

SYNOPSIS
       st-flash	[OPTIONS] {read|write|erase} [FILE] <ADDR> <SIZE>

DESCRIPTION
       Flash  binary  files to arbitrary sections of memory, or	read arbitrary
       addresses of memory out to a binary file.

       You can use this	instead	of st-util(1) if you prefer, but  remember  to
       use the .bin image, rather than the .elf	file.

       Use hexadecimal format for the ADDR and SIZE.

COMMANDS
       write FILE ADDR
	      Write firmware FILE to device starting from ADDR

       read FILE ADDR SIZE
	      Read firmware from device	starting from ADDR up to SIZE bytes to
	      FILE

       erase  Perform a	mass erasing of	the device firmware

OPTIONS
       --version
	      Print version information

       --debug
	      TODO

       --reset
	      TODO

       --serial	iSerial
	      TODO

EXAMPLES
       Flash firmware.bin to device

	      $	st-flash write firmware.bin 0x8000000

       Read firmware from device (4096 bytes)

	      $	st-flash read firmware.bin 0x8000000 4096

       Erase firmware from device

	      $	st-flash erase

SEE ALSO
       st-util(1), st-info(1), st-term(1)

COPYRIGHT
       This work is copyrighted.  Stlink contributors.	See  LICENSE  file  in
       the stlink source distribution.

Open Source STMicroelectronics StliSepT2016			   ST-FLASH(1)

NAME | SYNOPSIS | DESCRIPTION | COMMANDS | OPTIONS | EXAMPLES | SEE ALSO | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=st-flash&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help