SD Card Filesystem like AVRDOS for Atmel


Closed Thread
Results 1 to 16 of 16
  1. #1
    Pedro Pinto's Avatar
    Pedro Pinto Guest

    Default SD Card Filesystem like AVRDOS for Atmel

    Hello

    Exist a filesystem for sd card for pic's in PBP PRO like the AVRDOS for Atmel Controllers?


    Best regards

    Pedro

  2. #2


    Did you find this post helpful? Yes | No

    Default VDIP1 Vinculum might do it for you

    Check the Vinculum post in Code Examples.

    HTH
    Brian

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

  4. #4
    Pedro Pinto's Avatar
    Pedro Pinto Guest


    Did you find this post helpful? Yes | No

    Default

    Hello

    Thanks for the information, but i search a free software solution like the AVRDOS for a non comercial application

    If it not exist i must change for my pain from pic to atmel controllers

    Regards

    Pedro

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Are you saying that with this AVR-DOS and an ATMEL chip no other hardware is needed?
    Dave
    Always wear safety glasses while programming.

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Are you saying that with this AVR-DOS and an ATMEL chip no other hardware is needed?
    Not 100% sure what you're asking, but I think the answer is 'YES'.
    All you need with this DOSOnChip module is a serial connection, whether it's sync- or async, doesn't matter. Set the options and go.
    I tried one out awhile back on a '628A for grins. All I did was dump files on a 1GB SD card to an LCD sequentially. Absolutely no use for the project other than to watch characters scroll by really fast. It worked well. A bit expensive, but it takes a lot of the legwork out of a project requiring mass storage.
    I was going to use it for datalogging on my OBD hookup. Decided against it and went with the larger Dataflash chips and a USB port instead (thanks alot Mr.E, a lot of sleep lost).

    EDIT: Disregard - I missed the point about the AVR-DOS...never mind...I see what you were getting at...

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    (thanks alot Mr.E, a lot of sleep lost)
    my pleasure Seems to happen with 2-3 person here with few of my ideas.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  8. #8
    Pedro Pinto's Avatar
    Pedro Pinto Guest


    Did you find this post helpful? Yes | No

    Default

    Hello Dave

    Yes, only the atmel controller, the Bascom compiler, the include files from AVRDOS and nothing more is needed

    Regards
    pedro

  9. #9
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Interesting...
    If Darrel does not come up with something (shimask + mr.e already posted) I guess PBP does not have anything like it.

    Wonder how difficult it would be to write something like it.
    Dave
    Always wear safety glasses while programming.

  10. #10
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

  11. #11
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Pedro Pinto View Post
    Exist a filesystem for sd card for pic's in PBP PRO like the AVRDOS for Atmel Controllers?
    Not for PBP but, if you prefer to use a PIC, there is a FAT16 library (I think for PIC18 only) for mikroBasic.

  12. #12
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Interesting...
    If Darrel does not come up with something (shimask + mr.e already posted) I guess PBP does not have anything like it.
    Wonder how difficult it would be to write something like it.
    I've got stuff for accessing CF cards (IDE mode only) and IDE hard drives. Worked great on my mp3 player...But...I was using SK-OS (skimask operating system), my own tables, my own way of doing things, so it wasn't compatible with anything (even had to wipe the disk completely when I put it back into the laptop).
    Using an 18F4620 @ 40Mhz, I was able to move well over 1MB/second across a low speed USB port and almost double that if I was going from master to slave.
    I downloaded the 'FAT32' bible written by Microsoft awhile back, read it, figured it wasn't that hard to deal with, just didn't have a need to deal with FAT32.
    BUT...now that PBP 2.50 supports 31bit integers, and looking back on it, it should be a LOAD easier to write a FAT32 'library' (not that it was that hard before).
    In my mind, the main problem is the lack of direct string handling for filename's. Not really a limitation if a person is willing to write a macro or two to handle that.
    Well, that and the lack of the amount of ram on a PIC itself (easily solved by an FRAM chip I supposed)...

  13. #13
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Thank you for your insight skimask.

    I am going to give it a try. I have a project coming up that will need the storage. Was planning to use something from Sparkfun, but now I figure if it can be done with atmel or in microbasic, why not PBP?
    Dave
    Always wear safety glasses while programming.

  14. #14
    Join Date
    Sep 2007
    Location
    USA, CA
    Posts
    271


    Did you find this post helpful? Yes | No

    Default

    This has been done in Proton+ Basic, which is about 95% compatible with PBP. (But about 30% faster.) This thread has code files attached to it:
    http://www.picbasic.org/forum/showth...ighlight=fat32

    have fun!

  15. #15
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by tenaja View Post
    This has been done in Proton+ Basic, which is about 95% compatible with PBP. (But about 30% faster.) This thread has code files attached to it:
    http://www.picbasic.org/forum/showth...ighlight=fat32

    have fun!
    More pieces o the puzzle, Thanks.
    Dave
    Always wear safety glasses while programming.

  16. #16
    Pedro Pinto's Avatar
    Pedro Pinto Guest


    Did you find this post helpful? Yes | No

    Default

    Hello Dave

    I like PIC's very much i programm it since 8 years ago, but the AVR-DOS software solution for the atmel controller with the BASCOM compiler support 16 and 32 FAT and soft and hardware SPI, very easy to handle, my decision is to change to Atmel controller for my project with SD card

    Regards

    Pedro

Similar Threads

  1. SD or MMC card as storage for logging
    By HYETİK in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 16th January 2012, 02:07
  2. Replies: 12
    Last Post: - 4th March 2010, 21:20
  3. SD Card file attributes with SDFS3 ?
    By Chris Barron in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 27th March 2009, 09:18
  4. Writing to SD card
    By dhouston in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 9th November 2007, 11:23
  5. Read and write to sd card
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 28th October 2007, 19:47

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts