Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
<section begin="History" />
{| style="border-collapse:collapse; "
! colspan="4" style="width:100%; text-align:left" ; border-bottom:solid 2px #ededed3" |History|- ! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |ID#
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Issue Date
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Notes
|-
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |X.Y.Z{{oldid| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" 18387|012023/08/202321}}
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |DESK-MP1-L-1.0.0 release
|-
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |2023/08/31
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |Minor changes
|-
|}
<section end="History" />
__FORCETOC__
<section begin="Body" />
 
== How to create a bootable microSD card ==
The process is relatively straightforward: it consists of writing the WIC file of interest generated by Yocto onto the SD card. There are multiple ways to do that.
=== 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
100 29945 100 29945 0 0 696k 0 --:--:-- --:--:-- --:--:-- 696k
dvdk@vagrant:~/desk-mp1-l$ chmod a+x repo
dvdk@vagrant:~/desk-mp1-l$ ./repo init -u git@https://git.dave.eu:/git/desk-mp1-l/desk-mp1-l-bsp.git -b refs/tags/desk-mp1-l-1.0.01
...
repo has been initialized in /home/dvdk/desk-mp1-l
[[File:DESK-MP1-L_DIP-Switch-USB-Boot.JPG|thumb|center|300px]]
Connect the board (connector J16) to the host with a USB <-> USB OTG cable. TBD indicate the connector
Add the device detected to the MVM:
----
[[Category:ETRA]] [[Category:ETRA_SBC]]
8,226
edits