I have a SD card with raw data (Binary data).Can I use standard SPI with a low RAM PIC16F series chip & read the 8bits values & show in UART? Without using high end PIC18F with FAT file systems library etcc..!!
*PIC16F1509
*SD card 8GB
*Both will supply from 3V3.
I use HXD Hex Editor, Below shows the binary file which generated from another software.
I open the HXD Hex Editor & open the above binary file. I can see like below (24 bytes). From this "HXD Hex Editor" I'm going to write to SD card as raw. There is no any file system here.
Now I want to read this 8 bit values from a PIC & see it from UART.
I'd suggest you set the base address for your data well above zero; eg. use something like a 4K offset for the start with both read and write; 0x1000 as the start address.
Writing at zero could possibly corrupt critical data and mess up the card completely; staying clear of that gives it a much better chance of working without problems.
As far as I'm aware, you have to initially start the card at a very slow speed, and then switch it to the normal speed - even if you're using it as a raw card. I think even with raw data, you have to read and write specific numbers of bytes, too much for a low spec. PIC.