SDHC with simple DMA?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SDHC with simple DMA?

ソリューションへジャンプ
734件の閲覧回数
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?

ラベル(3)
0 件の賞賛
1 解決策
519件の閲覧回数
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 件の賞賛
1 返信
520件の閲覧回数
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 件の賞賛