Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 44 to 44 | ||||||||
Serial Flash | ||||||||
Changed: | ||||||||
< < | The STM32F405 Feather has an 2 MiB Serial Flash W25Q16![]() | |||||||
> > | The STM32F405 Feather has an 2 MiB Serial Flash W25Q16![]() | |||||||
Added: | ||||||||
> > | You can use the local CLI commands like mkfs , mkdir and cp to populate the serial flash with files and directories. But this is tedious job because there is no recursive copy. It is easier to use a real GNU/Linux for this.
Create a 2 MiB FAT filesystem as a loop device on Linux (or use the already prepared fd-2MiB.img![]() | |||||||
$ dd if=/dev/zero of=fd-2MiB.img bs=512 count=4096 # losetup /dev/loop1 fd-2MiB.img | ||||||||
Line: 56 to 59 | ||||||||
# mount -o loop /dev/loop1 /mnt | ||||||||
Added: | ||||||||
> > | Copy the the files and directories with cp or tar to the mounted image, e.g.
# cd sd # tar cf - etc fsr home man README.md | tar xvf - -C /mntUmount the loop-device and copy the file to a SD-card. Copy the filesystem to the flash disk on the target Mecrisp-Cube F405 system: dd 1:/fd-2MiB.img 0: | |||||||
SD DriveHome Brewed microSD Adapter for STM32WB55 Nucleo/Dongle |