SDHC with simple DMA?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDHC with simple DMA?

Jump to solution
717 Views
lizhenq
Contributor II

      hi,I use the simple DMA mode of the SDHC' internal DMA with Vybrid Tower.The OS is MQX 4.0.2.When I select "DDR debug" with IAR,the file in the SD card was not written or readed correctly.But,when I select "Int Ram debug",the file was written or readed correctly.On the datasheet <vybrid Reference manual> page 2742,it say "the SDHC internal DMA does support  a virtual memory system".I want to know ,how to use simple DMA in DDR mode with Vybrid Tower system?

Labels (3)
0 Kudos
1 Solution
502 Views
lizhenq
Contributor II

  I find the reason.The function  fopen(ptr,flags)  in MFS,.The "flags" is only suport "r" "r+" "w" "w+",so when use "rb+",it will not write data to file.

View solution in original post

0 Kudos
1 Reply
503 Views
lizhenq
Contributor II

  I find the reason.The function  fopen(ptr,flags)  in MFS,.The "flags" is only suport "r" "r+" "w" "w+",so when use "rb+",it will not write data to file.

0 Kudos