Shop OBEX P1 Docs P2 Docs Learn Events
SD card CREATE partition method. — Parallax Forums

SD card CREATE partition method.

omnicronomnicron Posts: 1
edited 2012-11-20 21:08 in Propeller 1
I am doing some testing on some SD cards and I have a lot of cards that work fine in a PC but the SD-MMC_FATEngine.spin driver can not open the partition. I wanted to try creating a partition with the Propeller to see if the SPI interface is working properly on the card vs the SD interface. Does anyone know of a SPIN driver that support making or creating a partition?

Thanks

Comments

  • KyeKye Posts: 2,200
    edited 2012-11-20 21:08
    Hi, are you getting the "disk I/O" error or "Unsupported" error?

    If its the unsupported error, or corrupt error, then I guarantee you that something is wrong with the SD card - even if it works. Try doing a low level format of the sd card. You can do this in windows by deleting the partition on the SD card in the administrator disk management tool and then you can create a new partition on the SD card.

    I designed the FATEngine not to tolerate any error with the SD card relating to the file system. I built it that way to prevent creeping errors from propagating.

    I choose not to add a create partition function to the FATEngine because it would have made the compiled binary size even larger.

    Thanks,
Sign In or Register to comment.