Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length



Pages: [1]
  Print  
Author Topic: 2GB SanDisk SD card  (Read 711 times)
MikeL
Newbie
*
Posts: 18


View Profile
« on: December 04, 2009, 12:20:41 AM »

Hi,
I have a ChipworkX Development System, and if I insert a 2GB SanDisk SD card into the SD/MMC connector, then this statement:
     PersistentStorage sdr = new PersistentStorage(PersistentStorage.PersistentStorage_ID_SD);
produces an exception:
     Exception System.Exception - 0xffffffff   (which I believe is the same exception I would get if no card were inserted)
If I insert another SD card, a Canon SDC-32M, then the line above doesn't produce an exception, although the code fails later because the card has a FAT filesystem, not FAT32.
Does anyone know why the system doesn't like this particular SD card?
Thanks!
--MikeL
 
Logged
support
Administrator
Sr. Member
*****
Posts: 487


View Profile
« Reply #1 on: December 04, 2009, 10:37:33 AM »

Are you using the latest firmware?
Logged
GHI_Support
Administrator
Hero Member
*****
Posts: 1295


View Profile
« Reply #2 on: December 04, 2009, 11:22:59 AM »

Please try to mount the SD card more than once and see if it works. We have several size of snadsisk here and they work fine from the first time.
Try this in empty project:
while(true)
{
  Thread.Sleep(1000);
  try
 {
   PersistentStorage sdr = new PersistentStorage(PersistentStorage.PersistentStorage_ID_SD);
   Thread.Sleep(1000);
    sdr.Remove();
  }
  catch(Exception) // sd failed
 {
 }
}
Logged
MikeL
Newbie
*
Posts: 18


View Profile
« Reply #3 on: December 04, 2009, 09:57:28 PM »

1. The firmware on my V1.2 ChipworkX Development System is version 01.01.000.
2. I tried the suggested while() loop and it failed every 1-sec.
3. Instead of a 2GB SanDisk card, I used a 256MB SanDisk card, and this worked.
4. Are any of the SanDisk cards you've tried 2GB SD cards?
Logged
GHI_Support
Administrator
Hero Member
*****
Posts: 1295


View Profile
« Reply #4 on: December 07, 2009, 11:29:49 AM »

Can you please check resistor R4 on the development system, it should be 0 ohm.
We do not have 2GB, we have 1 GB. They should work almost the same...
If still having problems, you can mail us the SD card you have and we will take a look at it here.
Logged
Pages: [1]
  Print  
 
Jump to: