Pages: [1]   Go Down
Author Topic: What's faster to read/write: SD card, USB Pen, ...  (Read 979 times)
0 Members and 1 Guest are viewing this topic.
Brazil
Offline Offline
God Member
*****
Karma: 3
Posts: 616
Wusik Dot Com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I need more memory to store information for my midi sequencer. So I wonder, what's faster/easier/... SD cards, USB Pen Drive or even an extra EEPROM chip?

I know I can store data in the flash-memory, but from what I could see, its read-only, right?

Also, the included SRAM is not enough. Imagine 400,000 midi events, thats going to take much more memory.

Any help?

Thanks.

Wk
Logged


SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 135
Posts: 6763
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

SD cards.

Pen drives have all the file system complications (FAT, etc) of SD-cards, but would also require hardware and firmware to deal with their USB-ness.

EEPROM is potentially easier to deal with on the Arduino side, but not from elsewhere, and they are MUCH smaller than SD cards.

"Faster" isn't really going to be an issue for a MIDI sequencer.
Logged

CT, USA
Offline Offline
Sr. Member
****
Karma: 3
Posts: 446
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

[edit]So I wonder, what's faster/easier/... SD cards, USB Pen Drive or even an extra EEPROM chip?[/edit]

Forget about USB drive... it would be pretty difficult to interface it with Arduino. In terms of speed, according to my experience, an I2C EEPROM probably is going to be the fastest and very little code is needed.

Quote
I know I can store data in the flash-memory, but from what I could see, its read-only, right?
No Flash memory can be written and re-written.

Quote
Imagine 400,000 midi events, thats going to take much more memory.
Hopefully, you are not going to load all data at once.

Logged

Brazil
Offline Offline
God Member
*****
Karma: 3
Posts: 616
Wusik Dot Com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks guys. So SD card it is, as its easy to backup to a computer, compared to an extra EEPROM. ;-)

And yes, been a midi sequencer the SD card read/write speed should be enough.

I'm also taking a look at the XMOS kit, which is also great, but too expensive for me right now... :-(

Wk
Logged


Pages: [1]   Go Up
Jump to: