Shop OBEX P1 Docs P2 Docs Learn Events
Do any of the SD objects support SDHC cards ? I'm trying to use 8GB. — Parallax Forums

Do any of the SD objects support SDHC cards ? I'm trying to use 8GB.

BeanBean Posts: 8,129
edited 2013-01-06 11:33 in Propeller 1
I'm trying to use FSRW 2.6 with a 8GB sandisk SDHC card and I can't get it to work.
Does anyone know if FSRW supports 8GB ? Does is support SDHC cards ?
If it doesn't, do any of the other SD card object support it ?

Thanks, Bean

Comments

  • RaymanRayman Posts: 14,666
    edited 2013-01-03 15:21
    FSRW 2.6 works with SDHC, at least the one I tried...

    Mine is Sandisk uSD, 16 GB SDHC.
    I've also used a Transend 8 GB SDHC...
  • SRLMSRLM Posts: 5,045
    edited 2013-01-03 16:04
    According to the code, FSRW supports SD, SDHC, and MMC. FSRW works fine with a 8GB Samsung MicroSDHC card that I have.

    Make sure that the card is formatted as FAT32 with 32K clusters. Also, check the return value from mount. If it's not zero, then you have a mounting error.
  • Don MDon M Posts: 1,652
    edited 2013-01-03 16:05
    I have used 8GB cards with FSRW. Works fine.
  • MagIO2MagIO2 Posts: 2,243
    edited 2013-01-03 16:16
    Is the SD card partitioned? This would propably cause problems.
    What does FSRW say? It should give you an error-code!
    If there is no important information on the card, did you try the test-program coming with FSRW?
  • varnonvarnon Posts: 184
    edited 2013-01-03 16:32
    I'm using a 16gb SanDisk uSD. No problems.
    Occasionally I had a some problems when using specific sdspi objects inside FSRW. I always use SafeSPI now.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2013-01-03 16:53
    I haven't used FSRW with any SDHC cards but I've used Kye's FAT32 driver many times with SDHC cards. I've had to reformat (the slow way) some SD cards before they would work with Kye's driver.
  • BeanBean Posts: 8,129
    edited 2013-01-04 03:22
    Thanks guys, I'll keep trying.

    Bean
  • BeanBean Posts: 8,129
    edited 2013-01-04 05:42
    I got it working. My P2 I/O pin was not working. I must have shorted it at some point.

    There's two hours of my life I'll never get back.... Arrrrrg.

    Thanks again.

    Bean
  • RaymanRayman Posts: 14,666
    edited 2013-01-04 06:47
    Glad you got it.

    I'll second varnon's suggestion to use "SafeSPI"


    BTW: I'm pretty sure Kye's SD drivers also work with SDHC.
  • idbruceidbruce Posts: 6,197
    edited 2013-01-04 14:42
    @Bean
    There's two hours of my life I'll never get back.... Arrrrrg.

    I know that feeling all too well. There have been several times that I have built complete machine prototypes or mechanisms, only to discover they did not work the way I had hoped.

    If it makes you feel any better, just think of the scientists that experiment for years, only to discover their theory was WRONG :)
  • Jack BuffingtonJack Buffington Posts: 115
    edited 2013-01-05 21:06
    Bean wrote: »
    I got it working. My P2 I/O pin was not working. I must have shorted it at some point.

    There's two hours of my life I'll never get back.... Arrrrrg.

    Thanks again.

    Bean

    SD with a P2... Interesting! Does the FPGA run at full P2 speed? If so, what sort of read/write speeds can you achieve?
  • BeanBean Posts: 8,129
    edited 2013-01-06 08:14
    Jack, LOL

    No I meant that I/O pin "P2" was not working.

    I'm trying to make SD code for PropBasic.

    Bean
  • pik33pik33 Posts: 2,367
    edited 2013-01-06 11:33
    I use Kye's drivers with my 8 GB SDHC with fat32 and subdirectories. In my prop player (topic here: http://forums.parallax.com/showthread.php/140767-A-new-topic-for-vga-%28not-only%29-sid-player?highlight=propplay ) I use modified version of it which can read long filenames.
Sign In or Register to comment.