Micro SD Card Issues

Talk about YBoxen, widgets, Propeller hacking, etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
baobrien
 
Posts: 19
Joined: Sat Feb 13, 2010 12:32 am

Micro SD Card Issues

Post by baobrien »

I have tried to add an SD card to my YBox2, but I didn't know where to get a free sample SD card socket, so I tried using a microSD to SD adapter by soldering directly to it. I used information from the propeller cookbook for SD card wiring. I used the FSRW library from the propeller object exchange. After fiddling with the test and sysdep objects to match my configuration, the test failed. Returned error -1, I suspect from microSD SPI compatibility issues or wiring problems. Can someone help?
Attachments
fsrw_ybox2.tar.bz2
My fsrw library, modified for ybox2
(50.87 KiB) Downloaded 398 times

baobrien
 
Posts: 19
Joined: Sat Feb 13, 2010 12:32 am

Re: Micro SD Card Issues

Post by baobrien »

Here are the images of my electronics:
Image
Image
Image
Image
Image

User avatar
fat16lib
 
Posts: 595
Joined: Wed Dec 24, 2008 1:54 pm

Re: Micro SD Card Issues

Post by fat16lib »

Micro SD cards are not required to support SPI. All micro SD SanDisk cards that I have tested do support SPI.

Soldering card adapters often fails. Guess they can't take heat. I assume you have no shorts between pins and the correct pins are used. It looks like you have used 1-7 which is correct.

If you had access to a Wave or GPS shield on an Arduino, you could check the micro SD card but if it is a SanDisk it likely supports SPI.

baobrien
 
Posts: 19
Joined: Sat Feb 13, 2010 12:32 am

Re: Micro SD Card Issues

Post by baobrien »

It's a Samsung brand MicroSD. I'll take a look at the adaptor, but I tried ordering some free sample SD sockets from molex.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Micro SD Card Issues

Post by adafruit »

did you check that the pins arent being used by anything already (like the ethernet chip)?

baobrien
 
Posts: 19
Joined: Sat Feb 13, 2010 12:32 am

Re: Micro SD Card Issues

Post by baobrien »

Their the four directly under eeprom/prop plug access. It didn't look like they were taken, or show it in the schematic.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Micro SD Card Issues

Post by adafruit »

might have to contact the library maker..we also suggest the parallax forums, they have one just for propeller, and theres a lot of prop junkies there :D

baobrien
 
Posts: 19
Joined: Sat Feb 13, 2010 12:32 am

Re: Micro SD Card Issues

Post by baobrien »

My Molex sample SD sockets came in, and after soldering one in, the SD works great.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Micro SD Card Issues

Post by adafruit »

whew! whatcha storin' on them?

baobrien
 
Posts: 19
Joined: Sat Feb 13, 2010 12:32 am

Re: Micro SD Card Issues

Post by baobrien »

I'm trying to use the libs from FemtoBasic to set up a menu boot loader. It sort of works so far. I've got to be careful to not select non-binary files, the first time that happened, it screwed up the bootloader, but I managed to reflash it before it became a problem.

nezb
 

Re: Micro SD Card Issues

Post by nezb »

Where on the website did you go to request the sample SD card sockets?

baobrien
 
Posts: 19
Joined: Sat Feb 13, 2010 12:32 am

Re: Micro SD Card Issues

Post by baobrien »

1. Find the socket you want to order
2. Fill out information at http://www.molex.com/molex/smp/amesampl ... ef=english
3. They don't seem to check company name

Locked
Please be positive and constructive with your questions and comments.

Return to “YBox2 (discontinued)”