Howto: Low cost 1Gb of NVM for MQX (removable media not required)

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

Howto: Low cost 1Gb of NVM for MQX (removable media not required)

ソリューションへジャンプ
3,087件の閲覧回数
CarlFST60L
Senior Contributor II

We need around 1Gb of NVM for our application (based on 52259), it must not be able to be removed without a locking mechanism i.e. USB stick is no good. I can buy 1Gb SD Cards for a few dollars, so the price is right!

 

I noticed in another thread that MQX3.4 would support MFS for SD Cards. Is there an example on using an SD Card with MQX 3.4 with MFS? I believe the SD Card would need an SPI driver / wrapper before you can install MFS on it? Or is there a 'generic' driver that would work with SD Cards? Has anyone done this, or, can someone tell me how to get started? (my guess i need to use the MQXIOUG to work out how to make my driver, then install MFS on that)


I have never used MFS (beyond the demo) and have not worked directly with SD Cards, so I don't really know what road to go down, or where to start...

 

PS Currently we using the MRAM, but 512KB is way too small, and VERY expensive. I think MRAM is about USD$17 for 512KB (4Mbits).

Message Edited by CarlFST60L on 2009-11-12 09:59 AM
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,042件の閲覧回数
PetrM
Senior Contributor I

Hello,

 

yes, there's an example for MQX MFS SD card in 3.4 release which uses SD over SPI driver.

You can find the example in /mfs/examples/sdcard.

It's available for 52259 tower board, but in fact all you need is to wire QSPI pins and two other (protect, detect) to SD card slot.

 

Regards,

PetrM

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,043件の閲覧回数
PetrM
Senior Contributor I

Hello,

 

yes, there's an example for MQX MFS SD card in 3.4 release which uses SD over SPI driver.

You can find the example in /mfs/examples/sdcard.

It's available for 52259 tower board, but in fact all you need is to wire QSPI pins and two other (protect, detect) to SD card slot.

 

Regards,

PetrM

 

0 件の賞賛
返信
1,042件の閲覧回数
CarlFST60L
Senior Contributor II
Thanks Pete, I missed that example.
0 件の賞賛
返信