Jump to content
43oh

SiskinEDGE

Members
  • Content Count

    5
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    SiskinEDGE got a reaction from tripwire in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
  2. Like
    SiskinEDGE got a reaction from Vyan in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
  3. Like
    SiskinEDGE got a reaction from YanuarPrijadi in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
  4. Like
    SiskinEDGE reacted to username in SD Media Player with FAT16   
    I'd most certainly as well be interested in byte to byte write support. Let us know what you find out! Regarding memory space, the new launchpads ship with the G2553 which has 16KB of flash memory space. Considering this is becoming a very common value line chip I wouldn't worry too much about the 2kb msp430s. Overall, i'd just be nice to get something to work =)
     
     
  5. Like
    SiskinEDGE got a reaction from username in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
  6. Like
    SiskinEDGE reacted to oPossum in SD Media Player with FAT16   
    Windows 7 and WinRAR both can not decompress that zip file.
  7. Like
    SiskinEDGE reacted to bluehash in SD Media Player with FAT16   
    Rezipped.
    X-SD Media Player.zip
  8. Like
    SiskinEDGE got a reaction from cubeberg in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
  9. Like
    SiskinEDGE reacted to thereza in SD Media Player with FAT16   
    I was trying to check our your code, but the zip file appears corrupt. I couldn't open it with winrar or windows explorer. Any chance you could re-compress and re-upload?
     
    thnx,
    reza
  10. Like
    SiskinEDGE reacted to Rickta59 in SD Media Player with FAT16   
    I also had problems extracting the files using Windows 7 explorer. However, the unzip util in the Cygwin package seemed to work fine.
     
    -rick
  11. Like
    SiskinEDGE got a reaction from pine in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
  12. Like
    SiskinEDGE got a reaction from dacoffey in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
  13. Like
    SiskinEDGE got a reaction from Rickta59 in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
  14. Like
    SiskinEDGE got a reaction from larsie in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
  15. Like
    SiskinEDGE got a reaction from oPossum in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
  16. Like
    SiskinEDGE got a reaction from bluehash in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
  17. Like
    SiskinEDGE got a reaction from RobG in SD Media Player with FAT16   
    Here is a video of the music player in action:



    The code has the following functionality:
    Initilise the FAT16 filesystem from an SD card in a single command - ThinFAT_Init();
    Open Files on an SD card and allow you to test each filename with a callback
    Index Files by useing the same command as to open them with a callback
    returns data on if the filestream is active
    returns data on how far the file has been read through
    callback for when end of the file is reached
    Open Folders on an SD card - Untested

    and limitations:
    uses 54 bytes of ram approx
    dosen't support fragmented files
    reads file end to closest sector, not byte (for performance reasons)
    reads FAT16 filesystems, not FAT32
    has no support for long filenames (it would be silly on these chips)
    I dont know if this fits within a 2K flash

    when implementing this on your own chip keep in mind you change which wire is the Chip select in the MMC.h file

    it is based on the DIY Life Talking MSP430 Project.

    It has been designed for the MSP430G2352 but if you remove the CCR2 References it should work for other projects easily.

    Wireing:
    P1.2 - TA0.1
    P1.3 - Input for Playing and Changing Music File
    P1.4 - TA0.2
    P1.5 - SMCLK out - SD Card Pin 5
    P1.6 - SDO - SD Card Pin 2 MOSI
    P1.7 - SDA - SD Card Pin 7 MISO
    P2.7 - CS - SD Card Pin 1 Card Select
    VCC - SD Card Pin 3,6
    Ground - SD Card Pin 4

    the pins on the SD card are counted from the first contact after the recessed contact across, the recessed one is 9. you can check on wikipedia when your unsure.
    SD Media Player.zip
×
×
  • Create New...