Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


Nucleo STM32H745ZI FatFs SD card not initializing when using SDMMC mode

I have been trying to figure out this problem for a while now. Im just trying to write a simple message to my sd card but when it calls the ” static void MX_SDMMC1_SD_Init(void);” function it gets stuck in a loop function in the sdmmc.c file that looks like this. This code is generated by cubeMX by the way.

static uint32_t SDMMC_GetCmdError(SDMMC_TypeDef *SDMMCx)
{
/* 8 is the number of required instructions cycles for the below loop statement.
The SDMMC_CMDTIMEOUT is expressed in ms */
uint32_t count = SDMMC_CMDTIMEOUT * (SystemCoreClock / 8U /1000U);

do
{
if (count-- == 0U)
{
return SDMMC_ERROR_TIMEOUT;
}

}while(!__SDMMC_GET_FLAG(SDMMCx, SDMMC_FLAG_CMDSENT));

It seems that when the SDMMC tries to send a CSM flag to the sd card its not getting a response back? If anyone has had a similar issue or knows more about these drivers than I do please help!