Rules | Recent posts | topic RSS | Search | Register  | Log in

Reading CompactFLASH card in XUPV2P board

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Embedded Systems and Real-Time OS
Author Message
BlackOps



Joined: 02 Jan 2005
Posts: 260
Helped: 9
Location: AZERBAIJAN


Post12 Jun 2008 13:04   Re: Reading CompactFLASH card in XUPV2P board

Hello, i have set up my XUPV2P board with the SystemACE IP.

i am using the xilfatfs driver to read data from CompactFLASH card.

when i start the sysace_fopen function it is freezing... it is not returning any file handler...even zero.. just freezing.. the file which i try to open is just 1024x768 BMP image file..

what u think could be wrong?

my CompactFLASH is formatted as FAT16, with 64kb sector. then i downloaded images on the card..

(for configuration the CompactFLASH must be formatted with specific configuration ...but as i read in xilfatfs manual, xilfatfs can work even with fat32 ALSO)

ANY IDEAS WHY IS IT FREEZING? thanks!

Added after 1 hours 30 minutes:

one interesting thing... when i formatted the CF card in WindowsXP under FAT16... and tried this experiment on XUPV2P board... then inserted the CF card in the PC again...it showed that the filesystem on the CF card is RAW!!! why... ?
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Embedded Systems and Real-Time OS
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap