Open main menu

DAVE Developer's Wiki β

Changes

Flashing the microSD card with STM32CubeProgrammer
=== Flashing the microSD card with STM32CubeProgrammer ===
Another way is to use the [https://www.st.com/en/development-tools/stm32cubeprog.html STM32CubeProgrammer] tool, which has a little different approach than BalenaEtcher as it allows to program the card '''without removing it from the target'''. Furthermore, STM32CubeProgrammer makes use of several files generated by Yocto instead of the WIC image. For the sake of simplicity, the following procedure shows how to run STM32CubeProgrammer on the MVM so that it can access these files directly. By default, STM32CubeProgrammer is not installed in the MVM. Please refer to the STM documentation for installation instructions. In principle, the same procedure can be executed on a Windows host as well. It is worth remembering that the programming procedure is obviously much slower when executed in a virtual machine like MVM.
First of all, execute the build with Yocto to generate the required files. See [[DESK-MP1-L/Development/Building_the_Yocto_BSP | here]] for more infoinformation.
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mp1-l$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo-1 > repo
4,650
edits