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

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

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

Jump to solution
3,085 Views
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
Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,040 Views
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

 

View solution in original post

0 Kudos
Reply
2 Replies
1,041 Views
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 Kudos
Reply
1,040 Views
CarlFST60L
Senior Contributor II
Thanks Pete, I missed that example.
0 Kudos
Reply