| View previous topic :: View next topic |
| Author |
Message |
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Sat Jul 21, 2012 1:19 pm |
|
|
Sometimes an extra partition is created on the SD card. The CCS driver can not handle this but when formatting in Windows the extra partition stays there.
An easy work around is by formatting the card in a photo camera or mp3-player. |
|
 |
stoyanoff
Joined: 20 Jul 2011 Posts: 375
|
|
Posted: Sat Jul 21, 2012 2:18 pm |
|
|
I tied to format the card in FAT16. I`m with win 7 x64. I found instruction which said to use this command in cmd: format G:/fs:FAT16, but it`s not working.
I have Nokia phone, but it adds some extra files in the card after format. I don`t have suitable camera or mp3 player. I have but they are Sony(they are with duo stick).
Do you know any program which I can use??
Thanks! |
|
 |
temtronic
Joined: 01 Jul 2010 Posts: 9658 Location: Greensville,Ontario
|
|
Posted: Sat Jul 21, 2012 2:36 pm |
|
|
You might try ...
https://www.sdcard.org/downloads/formatter_3/
... as a possible fix..
I do not use sd cards, have never tried the above program so I cna't tell you it works..but maybe worth a try .
If it doesn't I suggest 'Googling sd card format on pc' or similar wording.
You're not the first one who has had problems with sd cards...
For the extra cost I've been using Vinculum based USB flashdrive interface modules for the past couple of years.My time is far more valuable than the 5-10$ you 'save' trying to use sd cards.Also my $49 PC only has 4 USB ports,no sd card slots.
Hopefully you'll find what you need...seems 'everything' is on the Web, somewhere !
hth
jay |
|
 |
Ttelmah
Joined: 11 Mar 2010 Posts: 20161
|
|
Posted: Sat Jul 21, 2012 2:42 pm |
|
|
The format for a FAT16 format, should be:
FORMAT G: /FS:FAT
The space is needed, and it defaults to FAT16, on a 2GB device.
Best Wishes |
|
 |
gpsmikey
Joined: 16 Nov 2010 Posts: 588 Location: Kirkland, WA
|
|
Posted: Sat Jul 21, 2012 3:26 pm |
|
|
Based on Temtronic's comments and after a bit of snooping around, you might want to check out the VDRIVE2 gadget - uses the Vinculum interface to a USB port that can handle USB flash drive and the FAT file system in a nice little enclosure and a interface header. I have not used them myself, but I'm certainly going to keep it in mind for future projects ($24)
mikey _________________ mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3 |
|
 |
temtronic
Joined: 01 Jul 2010 Posts: 9658 Location: Greensville,Ontario
|
|
Posted: Sat Jul 21, 2012 3:54 pm |
|
|
I've used the Parallax equal to it (Memory Stick Datalogger) for past 2 years for an R&D project but the VDRIVE2 is perfect for 'instant' products !
I run mine at 115K200 baud, no handshaking and have had zero problems using it with both 16F877 and 18F4550 PICs.
hth
jay |
|
 |
stoyanoff
Joined: 20 Jul 2011 Posts: 375
|
|
Posted: Wed Jul 25, 2012 7:03 am |
|
|
Hi, again!
I want to be sure my chart is OK. So here are the connections:
PIN 1 of the SD card is connected to PIN 33(RC2/CS) of the 18F66J60
PIN 2 ----- --- to PIN 36(RC5/SDO)
PIN 3 ---- --- to GRD
PIN 4 ---- ---- to Vcc
PIN 5 ---- --- to PIN 34(RC3/SCK)
PIN 6 ---- ---- to GRD
PIN 7 ---- ---- to PIN 35(RC4/SDI)
PIN 8 and 9 through pull-up resistor(10k) to Vcc
PINs 1,2,5,7 have pull-up resistors, too.
Is everything OK?? |
|
 |
|