gustavosousa2208 opened a new issue, #16159: URL: https://github.com/apache/nuttx/issues/16159
### Description I'm trying to use an SD Card with NXP IMXRT1176-EVKB board, i checked the pins for the USDHC and the card is communicating, so no electrical or signal integrity problems. mmcsd_decode_csd: CSD: mmcsd_decode_csd: CSD_STRUCTURE: 1 SPEC_VERS: 0 (MMC) mmcsd_decode_csd: TAAC {TIME_UNIT: 6 TIME_VALUE: 1} NSAC: 0 mmcsd_decode_csd: TRAN_SPEED {TRANSFER_RATE_UNIT: 2 TIME_VALUE: 6} mmcsd_decode_csd: CCC: 1461 mmcsd_decode_csd: READ_BL_LEN: 9 READ_BL_PARTIAL: 0 mmcsd_decode_csd: WRITE_BLK_MISALIGN: 0 READ_BLK_MISALIGN: 0 mmcsd_decode_csd: DSR_IMP: 0 mmcsd_decode_csd: SD Block Addressing: mmcsd_decode_csd: C_SIZE: 30006 SD_ER_BLK_EN: 1 mmcsd_decode_csd: SD_SECTOR_SIZE: 127 SD_WP_GRP_SIZE: 0 mmcsd_decode_csd: WP_GRP_EN: 0 MMC DFLT_ECC: 0 (MMC) R2W_FACTOR: 2 mmcsd_decode_csd: WRITE_BL_LEN: 9 WRITE_BL_PARTIAL: 0 mmcsd_decode_csd: FILE_FORMAT_GROUP: 0 COPY: 1 mmcsd_decode_csd: PERM_WRITE_PROTECT: 0 TMP_WRITE_PROTECT: 0 mmcsd_decode_csd: FILE_FORMAT: 0 ECC: 0 (MMC) CRC: 0 mmcsd_decode_csd: Capacity: 15363584Kb, Block size: 512b, nblocks: 0 wrprotect: 30727168 the problem is imxrt_dmapreflight: dcache unaligned buffer:0x202458b8 end:0x20245ab7 i didnt edited the code DMA part, also i have this output when trying to format nsh> mkfatfs -F 32 /dev/mmcsd0 bchdev_register: blkdev="/dev/mmcsd0" chardev="/dev/tmpc000001" readonly=F find_blockdriver: pathname="/dev/mmcsd0" mmcsd_open: Entry mmcsd_geometry: Entry imxrt_status: cdstatus=01 mmcsd_geometry: available: true mediachanged: true writeenabled: true mmcsd_geometry: nsectors: 30727168 sectorsize: 512 mmcsd_geometry: Entry imxrt_status: cdstatus=01 mmcsd_geometry: available: true mediachanged: false writeenabled: true mmcsd_geometry: nsectors: 30727168 sectorsize: 512 mkfatfs_clustersearch: Configuring with 32 sectors/cluster... mkfatfs_tryfat32: nfatsects=7499 nclusters=959753 (max=959872) mkfatfs_selectfat: Selected FAT32 mkfatfs_configfatfs: WARNING: Invalid backup boot sector: 0 mkfatfs_configfatfs: Sector size: 512 bytes mkfatfs_configfatfs: Number of sectors: 30727168 sectors mkfatfs_configfatfs: FAT size: 32 bits mkfatfs_configfatfs: Number FATs: 2 mkfatfs_configfatfs: Sectors per cluster: 32 sectors mkfatfs_configfatfs: FS size: 7499 sectors mkfatfs_configfatfs: 959753 clusters mkfatfs_configfatfs: Volume ID: 00000000 mkfatfs_configfatfs: Volume Label: " " mmcsd_write: startsector: 0 nsectors: 1 sectorsize: 512 mmcsd_writesingle: startblock=0 imxrt_status: cdstatus=01 imxrt_dmapreflight: dcache unaligned buffer:0x202458b8 end:0x20245ab7 bchlib_write: ERROR: Write failed: -14 mkfatfs_devwrite: ERROR: write failed: size=512 pos=0 error=-14 mmcsd_close: Entry nsh: mkfatfs: mkfatfs failed: 14 is there a setting i need to tweak in menuconfig? ### Verification - [x] I have verified before submitting the report. -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org