TinyCircuits Forum

TinyCircuits Products => TinyDuino Processors & TinyShields => Topic started by: Andy on January 19, 2017, 10:56:49 AM

Title: TinyScreen+ and SD board
Post by: Andy on January 19, 2017, 10:56:49 AM
I am working on something where I need to have a microSD board.

I have a tinyScreen+ and an SD board only so far. If I do any calls the the SD library, everything locks up and everything is dead. I can recompile, reload etc... I can read buttons and everything, but again, once I try to create a file or read a directory the whole thing locks up.

I've verified this with serial comms to do println debugging and it is 100% reproducible.

This is the lib I am using:

https://www.arduino.cc/en/Reference/SD

If anyone has any suggestions on how to get this beyond a lockup and can share, very much appreciated.
Title: Re: TinyScreen+ and SD board
Post by: Andy on January 19, 2017, 11:33:29 PM
The lib works with the old board (I verified). But still locks up with the tinyScreen+ over here on my end. I can't use the old board for this project.

Anyone?
Title: Re: TinyScreen+ and SD board
Post by: Andy on January 20, 2017, 02:45:17 PM
I tested the wifi card and it works with the tinyDuino, but not the the TinyScreen+ as well.

It is likely there is a solution in a setting, define or otherwise. Can someone look into this?

My intent is to combine a tinyScreen+, SDCard board and wifi board.
Title: Re: TinyScreen+ and SD board
Post by: Ben Rose on January 23, 2017, 03:47:47 PM
These should be working on TinyScreen+, can you let me know what error you are seeing with the WiFi board? I will try to test the Arduino SD library soon, but can you try using sdFat? I use that regularly with TinyScreen+.
Title: Re: TinyScreen+ and SD board
Post by: Andy on January 24, 2017, 10:17:55 PM
I have SDFat working fine (thanks for pointing me in that direction). The built in SD support is not seeing files or creating them, but that is now a low priority.

For the wifi board, I am using the built in Example code for ScanNetworks. It is popping up a "WiFi shield not present" within setup(). If there is a different library that works, and you can point me that way, much appreciated.