Read 4096 bytes from the device starting from 0x8000000

st-flash

  • Flash binary files to STM32 ARM Cortex microcontrollers.
    More information: <https://github.com/texane/stlink>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

st-flash read {{firmware}}.bin {{0x8000000}} {{4096}}

click the source code to copy install st-flash on any operating system with command-not-found.com