FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-17-2009, 11:58 AM
mopra
Guest
 
Posts: n/a
Default How to load an image onto system ace compact flash embedded on virtex2 Pro

Can anyone tell me how I can load an image file like .jpeg or .bmp on
to the system ace compact flash embedded on virtex 2 Pro device?

I need to store image onto the compact flash and then do some
processing on it. I tried using the different functions in
sysace_stdio.h header file like sysace_fopen etc but couldn't find a
way to load an image file onto the compact flash, so please help me in
this regard
Reply With Quote
  #2 (permalink)  
Old 03-17-2009, 12:02 PM
Antti.Lukats@googlemail.com
Guest
 
Posts: n/a
Default Re: How to load an image onto system ace compact flash embedded onvirtex 2 Pro

On Mar 17, 12:58*pm, mopra <mohitpra...@gmail.com> wrote:
> Can anyone tell me how I can load an image file like .jpeg or .bmp on
> to the system ace compact flash embedded on virtex 2 Pro device?
>
> I need to store image onto the compact flash and then do some
> processing on it. I tried using the different functions in
> sysace_stdio.h header file like sysace_fopen *etc but couldn't find a
> way to load an image file onto the compact flash, so please help me in
> this regard


copy myimage.jpg f:\

where f: is the compact flash drive

later just use file functions from your code, they do work !

Antti
Reply With Quote
  #3 (permalink)  
Old 03-17-2009, 12:51 PM
mopra
Guest
 
Posts: n/a
Default Re: How to load an image onto system ace compact flash embedded onvirtex 2 Pro

Hey thanks for your help but can you explain it a little more
elaborately.

where should i use " copy myimage.jpg f:\ "? How to embed that in
the C code?

Please help me in this regard.

Regards,
Mohit
Reply With Quote
  #4 (permalink)  
Old 03-18-2009, 01:10 AM
newman5382@yahoo.com
Guest
 
Posts: n/a
Default Re: How to load an image onto system ace compact flash embedded onvirtex 2 Pro

On Mar 17, 7:51*am, mopra <mohitpra...@gmail.com> wrote:
> Hey thanks for your help but can you explain it a little more
> elaborately.
>
> where should i use " copy myimage.jpg f:\ *"? *How to embed that in
> the C code?
>
> Please help me in this regard.
>
> Regards,
> Mohit


If you have a Compact Disk reader/writer that attaches to a PC, one
could use the DOS copy command like Antti mentioned to write your file
to the compact disk.
I have an IntelliFlash USB 6 to 1 memory reader/writer that lets me
access the compact disk from my Windows Computer.
..
Reply With Quote
  #5 (permalink)  
Old 03-19-2009, 01:13 PM
Dirk Koch
Guest
 
Posts: n/a
Default Re: How to load an image onto system ace compact flash embedded onvirtex 2 Pro

mopra wrote:
> Can anyone tell me how I can load an image file like .jpeg or .bmp on
> to the system ace compact flash embedded on virtex 2 Pro device?
>
> I need to store image onto the compact flash and then do some
> processing on it. I tried using the different functions in
> sysace_stdio.h header file like sysace_fopen etc but couldn't find a
> way to load an image file onto the compact flash, so please help me in
> this regard


Try to format the CF card once under Linux with
mkfs -t msdos /dev/sda1
We have had a problem using System ACE with
CF cards formatted under Windows XP (FAT16).
After mkfs, you can use Windows to copy files
on the card. You should then be able to open
the files using sysace_fopen.

Good luck!
Dirk
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fighting with Compact Flash kron FPGA 3 09-11-2007 03:01 PM
C H S in a Compact flash sachink321@gmail.com FPGA 2 04-07-2006 01:43 PM
accessing compact flash ????? sachink321@gmail.com VHDL 0 04-07-2006 05:28 AM
Accessing compact flash????????? sachink321@gmail.com FPGA 0 04-07-2006 05:27 AM
Newbie: Read from Compact Flash using System ACE Frank Wang FPGA 4 12-23-2004 05:10 PM


All times are GMT +1. The time now is 05:54 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved