Hello
Exist a filesystem for sd card for pic's in PBP PRO like the AVRDOS for Atmel Controllers?
Best regards
Pedro
Hello
Exist a filesystem for sd card for pic's in PBP PRO like the AVRDOS for Atmel Controllers?
Best regards
Pedro
Check the Vinculum post in Code Examples.
HTH
Brian
Dave
Always wear safety glasses while programming.
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
Are you saying that with this AVR-DOS and an ATMEL chip no other hardware is needed?
Dave
Always wear safety glasses while programming.
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...
(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.
Hello Dave
Yes, only the atmel controller, the Bascom compiler, the include files from AVRDOS and nothing more is needed
Regards
pedro
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.
These look interesting.
http://www.microchipc.com/sourcecode/#mmc
http://www.captain.at/electronics/pic-mmc/
Now to find time to play.
Dave
Always wear safety glasses while programming.
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)...
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.
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!
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
Bookmarks