sd card empty

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
cdor
 
Posts: 9
Joined: Thu Feb 24, 2011 8:25 pm

sd card empty

Post by cdor »

Hello,

I'm using the GPS Logger with an sd card. The sd card is formatted correctly with FAT16. However, when I try to create a file using the GPS logger sketch, I get the following in the serial monitor:

GPSlogger
writing to GPSLOG00.TXT
ready!
$PSRF100,01,4800,08,01,00*0E
$PSRF105,01*3E
$PSRF103,00,00,00,01*24
$PSRF103,01,00,00,01*27
$PSRF103,02,00,00,01*26
$PSRF103,03,00,00,01*27
$PSRF103,04,00,01,01*21
$PSRF103,05,00,00,01*21
$PSRF151,00*3E

I know that there are some threads about this but I couldn't find any answer to this problem. Why is this happening?

Thank you!

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

Re: sd card empty

Post by adafruit »

place the TX jumper

cdor
 
Posts: 9
Joined: Thu Feb 24, 2011 8:25 pm

Re: sd card empty

Post by cdor »

I have the tx jumper placed. Is this the only cause for getting those messages and then not having any files in the sd card?
Thanks.

cdor
 
Posts: 9
Joined: Thu Feb 24, 2011 8:25 pm

Re: sd card empty

Post by cdor »

I checked all the soldering and tried to upload the sketch again and I'm still getting the same

GPSlogger
writing to GPSLOG00.TXT
ready!
$PSRF100,01,4800,08,01,00*0E
$PSRF105,01*3E
$PSRF103,00,00,00,01*24
$PSRF103,01,00,00,01*27
$PSRF103,02,00,00,01*26
$PSRF103,03,00,00,01*27
$PSRF103,04,00,01,01*21
$PSRF103,05,00,00,01*21
$PSRF151,00*3E

Please help me solve this as soon as possible!!

I'm attaching pictures of the shield.
Attachments
Photo 124.jpg
Photo 124.jpg (90.06 KiB) Viewed 2473 times
Photo 120.jpg
Photo 120.jpg (109.03 KiB) Viewed 2473 times

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

Re: sd card empty

Post by adafruit »

where is the GPS?

cdor
 
Posts: 9
Joined: Thu Feb 24, 2011 8:25 pm

Re: sd card empty

Post by cdor »

I didn't have it plugged it in at that time, but it is an EM-406

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

Re: sd card empty

Post by adafruit »

what happened with the other tests, did you do the other tests?

cdor
 
Posts: 9
Joined: Thu Feb 24, 2011 8:25 pm

Re: sd card empty

Post by cdor »

Yes! All of them worked, up to the GPS_Logger sketch.

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

Re: sd card empty

Post by adafruit »

did you follow the wiring for the gps logger?
http://www.ladyada.net/images/gpsshield/wirelogging.jpg

cdor
 
Posts: 9
Joined: Thu Feb 24, 2011 8:25 pm

Re: sd card empty

Post by cdor »

I made sure that it is wired exactly the way you showed in the picture, but now the GPS light doesn't come on (and it was before in the previous tests).

In the GPS test sketch I don't see any data coming from the GPS in the serial monitor. But I checked with an oscilloscope and there was serial data on the transmit pin.

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

Re: sd card empty

Post by adafruit »

run the gps logging sketch, that wiring is for the gps logging sketch.
please see the wiring on each page of the tutorials to see the differences

cdor
 
Posts: 9
Joined: Thu Feb 24, 2011 8:25 pm

Re: sd card empty

Post by cdor »

Yes, I'm running the gps logger sketch. I wasn't getting any GPS data in the serial monitor using the gps test sketch with the wiring that corresponds to that sketch.

Right now I'm using the wiring for the gps logger sketch and when I run the code I get this: Card init. failed!
Both the red and the green LEDs light up at the same time every 2 seconds or so. The light in the EM-406 receiver doesn't come on.
What do I do? I wasn't getting this error with the sd card before, did something corrupted it while trying to fix the other problem?

Thank you for the help.

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

Re: sd card empty

Post by adafruit »

OK! get it wired for the gps logger sketch, insert the card, and reload the code. then press the reset button or reset by opening up the serial terminal again. does it have a card init problem still?

cdor
 
Posts: 9
Joined: Thu Feb 24, 2011 8:25 pm

Re: sd card empty

Post by cdor »

Yes. Still giving me the same problem.

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

Re: sd card empty

Post by adafruit »

does the card work on your computer?

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

Return to “Arduino Shields from Adafruit”