I read some older threads on this forum from multiple years ago where people asked about interfacing imp with your standard microSD cards over SPI which is a basic staple on most Arduino-based platforms.
I am really loving ElectricImp, but I am disappointed to see that there does not appear to be an off-the-shelf Squirrel/impOS equivalent to SdFat in C/Arduino - is this correct?
Does anyone have code snippets for basic manual read/write on an SD card over SPI on an imp using Squirrel? My understanding is there exists a more raw, bare-bones manner of interfacing with an SD card which does not use a file system.
The built-in flash memory on imp006 is insufficient for multiple reason:
- The first interaction I ever had with it showed that it was buggy and unreliable to access (corrupted memory) (Did I screw-up my remote imp006 into needing a manual power cycle to reconnect to network?) (perhaps it was a bug in that software library, but corrupted memory was indeed the seeming cause);
- It only has, from my understanding, 4MB of space. I need to store 150-byte minutely packets for up to a few years and be able to remotely read/reupload these at command. Just one month would overflow 4mb; and
- The physically removable and replaceable nature of an SD card is highly desirable.