Reading CF card from PIC18F67J50.

Status
Not open for further replies.

maniac84

Full Member level 6
Joined
Mar 4, 2012
Messages
337
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Visit site
Activity points
3,661
Hi guys,

Recently been given a project of reading files from a CF (Compact Flash) card using the PIC18F67J50. The actual firmware written is for reading a 2GB CF card. My boss ask me to try whether it can read a 8GB CF card or not. The result is it can't read.
May I ask is there any difference on a 2GB CF card and a 8GB CF card? Where can I find more info regarding reading files on CF using PIC?
 

plz post code so that check it
Sorry sir. The code is not with me right now.
Just want to know is there any internal difference between 2GB cf and 8GB cf?
Is there any addressing of memory difference?
Is there any internal structural difference?
Can I use the way of reading 2GB cf to read the 8GB cf?
 
Last edited:

I don't know about CF cards but SD cards had a 2GB limit so to go above that they developed SDHC. There is example code on Microchip's site which is compatible with SD and SDHC. I assume the same limitation existed with CF cards.

Keith
 

I don't know about CF cards but SD cards had a 2GB limit so to go above that they developed SDHC. There is example code on Microchip's site which is compatible with SD and SDHC. I assume the same limitation existed with CF cards.

Keith
Do you know what is the difference/limitation?
 

Actually, now I am back at my computer and able to check, I think your problem is actually FAT16. To access more than 2GB (or possibly 4GB at a pinch) you need to use FAT32. So, your software needs to be able to read FAT32 formatted cards. https://en.wikipedia.org/wiki/CompactFlash#File_systems

Keith
 


Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…