(thanks alot Mr.E, a lot of sleep lost)my pleasure
Seems to happen with 2-3 person here with few of my ideas.
(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!
Bookmarks