STM32F4 Discovery + Embest BB Demo
Posted: Thu Dec 19, 2013 4:32 pm
I finally got a chance to work on this last night. I took the EMBEST_DMSTF4BB that Tectu provided and the ARMCM4-STM32F407-LWIP-FATFS-USB demo already provided.
I added a few other FatFS commands. Note the Embest board does not have a 'card inserted' switch so the card must be inserted when the board is powered up (or reset).
https://github.com/jedediahfrey/ARMCM4- ... F4BB-FATFS
** TARGET **
The demo runs on a STM32F4-Discovery board + Embest DM-STF4BB
www.embest-tech.com/product/extension-m ... board.html
** The Demo **
The MicroSD port on the Embest board is used for FATfs actions though SDIO
If a card is inserted the lights chase counter-clockwise
If a card is not inserted the lights chase clockwise
The Embest BB board does not have the ability to detect when a card is
inserted so the SD card must be present when the board is reset.
The USB-FS port is used as USB-CDC and a command shell is ready to accepts
commands there.
tree
Display file tree
free
Display amount of free space in B, KB and MB
hello
Creates hello.txt with 'Hello World' on the base level of the MicroSD Card.
mkdir [dir]
Makes directory dir on the base level of the MicroSD Card.
cat [file]
Echos a file from the MicroSD card to the console
I added a few other FatFS commands. Note the Embest board does not have a 'card inserted' switch so the card must be inserted when the board is powered up (or reset).
https://github.com/jedediahfrey/ARMCM4- ... F4BB-FATFS
** TARGET **
The demo runs on a STM32F4-Discovery board + Embest DM-STF4BB
www.embest-tech.com/product/extension-m ... board.html
** The Demo **
The MicroSD port on the Embest board is used for FATfs actions though SDIO
If a card is inserted the lights chase counter-clockwise
If a card is not inserted the lights chase clockwise
The Embest BB board does not have the ability to detect when a card is
inserted so the SD card must be present when the board is reset.
The USB-FS port is used as USB-CDC and a command shell is ready to accepts
commands there.
tree
Display file tree
free
Display amount of free space in B, KB and MB
hello
Creates hello.txt with 'Hello World' on the base level of the MicroSD Card.
mkdir [dir]
Makes directory dir on the base level of the MicroSD Card.
cat [file]
Echos a file from the MicroSD card to the console