Re: [I] [HELP] STM32H723+SDMMC2+SDRAM(executing in sdram)+IDMA+FATFS,read/write file failure [nuttx]
snikeguo closed issue #16400: [HELP] STM32H723+SDMMC2+SDRAM(executing in sdram)+IDMA+FATFS,read/write file failure URL: https://github.com/apache/nuttx/issues/16400 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [HELP] STM32H723+SDMMC2+SDRAM(executing in sdram)+IDMA+FATFS,read/write file failure [nuttx]
snikeguo commented on issue #16400: URL: https://github.com/apache/nuttx/issues/16400#issuecomment-2888237447 ``` static sdio_capset_t stm32_capabilities(struct sdio_dev_s *dev) { struct stm32_dev_s *priv = (struct stm32_dev_s *)dev; sdio_capset_t caps = 0; if (priv->onebit) { caps |= SDIO_CAPS_1BIT_ONLY; } else { caps |=SDIO_CAPS_4BIT_ONLY; //add this code } caps |= SDIO_CAPS_DMABEFOREWRITE; #if defined(CONFIG_STM32H7_SDMMC_IDMA) caps |= SDIO_CAPS_DMASUPPORTED; #endif return caps; } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [HELP] STM32H723+SDMMC2+SDRAM(executing in sdram)+IDMA+FATFS,read/write file failure [nuttx]
snikeguo closed issue #16400: [HELP] STM32H723+SDMMC2+SDRAM(executing in sdram)+IDMA+FATFS,read/write file failure URL: https://github.com/apache/nuttx/issues/16400 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] [HELP] STM32H723+SDMMC2+SDRAM(executing in sdram)+IDMA+FATFS,read/write file failure [nuttx]
snikeguo commented on issue #16400: URL: https://github.com/apache/nuttx/issues/16400#issuecomment-2888202105 solution: CONFIG_FAT_DMAMEMORY=y CONFIG_GRAN=y CONFIG_STM32H7_SDMMC_IDMA=y CONFIG_ARMV7M_DCACHE_WRITETHROUGH=n see:armv7m mpu document in stm32_dmarecvsetup: #if defined(CONFIG_ARCH_HAVE_SDIO_PREFLIGHT) // DEBUGASSERT(stm32_dmapreflight(dev, buffer, buflen) == 0); #endif  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org