Thanks, I'll look at it in a bit.
I've tried using Microchip's stuff in the past. Frankly, I'd rather be set on fire. I can never get their stuff to work right.
Thanks, I'll look at it in a bit.
I've tried using Microchip's stuff in the past. Frankly, I'd rather be set on fire. I can never get their stuff to work right.
For a basic logging application where all you want to do it write data to an SD-card I'd suggest you take a look at the OpenLog project. It originates from Sparkfun (and they're selling it) but you can find it on EBAY for a couple of bucks. Stick an micro SD card in the socket, connect it to the PIC and throw ASCII data it at 9600 baud (default setting) and it just writes it to a text file. You can set it up to either append data to an existing file or create a new file each time it boots. There are provisions for Reading files as well but I have not tried it and I don't know how userfriendly it would be to do with a PBP.
With that said, I'd love to get an SD card working for reading/writing so I can possible do a SD-card bootloader etc.
I have one of the OpenLog cards. It works well, but I want to use a full size SD card and have it run either from my native code or at worst, a pic18f. You're right thoguh, it works well and will work for my current application. I just want something different (full size sd card, or maybe thumb drive). Either way, I would also like to understand how all this works, and right now I'm drowning.
I don't know if you're aware of the uMMC from Rogue Robotics (see link below). They're kinda pricey but they might save your hair.
https://roguerobotics.com/products/ummc
Also, check out the link below for thumb drive interface;
http://www.futureelectronics.com/en/...IVE2.aspx?IM=0
Last edited by J. Mark Wolf; - 3rd October 2017 at 14:11.
Yeah, that uMMC is a bit on the "way over my budget" side of things. BUT... the Vdrive looks promising. Thank you for the info. I would llike to be able to do this for myself, but at this point, maybe it's a "who cares" moment and I should just cut my losses.
Thanks again.
Microchip’s MDDFS works flawlessly (albeit slow compared with Chan’s FatFS),
but it’s written in C, and meant to be compiled with one of MC’s C compilers.
It beats me how Darrel could have used it with BASIC without converting the whole library.
Older versions of this library also suffer some serious bugs, and don’t support SDHC until later on.
Bookmarks