Freertos tcp sdio dma write tx overwritten

anithraj1 wrote on Wednesday, July 18, 2018:

Hi All,

i am using STM32f746NE,

a)
where i am doing sd card write operation 342 Mb, write fails and gets the following log on terminal

prvFFWrite: 16947: 5 (TX_UNDERRUN: Transmit FIFO underrun)
prvFFWrite: 16947: 5 (TX_UNDERRUN: Transmit FIFO underrun)
prvFFWrite: 1: 5 (TX_UNDERRUN: Transmit FIFO underrun)
prvFFWrite: 16947: 5 (TX_UNDERRUN: Transmit FIFO underrun)
prvFFWrite: 1: 5 (TX_UNDERRUN: Transmit FIFO underrun)

b)
, the same file in sd card read successly to my PC through Filezilla,

c)
read and write works only few Kb

any idea what could be issue

conditions :

  1. am using DMA buffer in 512 buffer which is internal SRAM2 32 alligned