leon3, ide, compactflash

Steven Grunza sgrunza at ctdi.com
Wed Feb 6 14:44:21 UTC 2013


Jason,

  What physical device are you planning on plugging into the cPCI bus? 

 

(+1 for including a link to the cPCI card you are using - makes it
easier to provide assistance)

 

  It seems to me the interface requirements of the cPCI card you add
will control the requirements for your driver.  I don't know of any cPCI
cards that support compactFlash memory.  The closest I can think of
offhand is a combination of CompactFlash-to-PMC and PMC-to-cPCI boards.

 

  For instance using a "Technobox Part Number 6332 Dual-site,
Single-slot 6U Compact PCI (cPCI) PMC Adapter / Carrier  32bit / 66 MHz"
and a "Technobox Part Number 5264 Front Panel Access Compact Flash (CF)
Adapter PMC" would seem to require an IDE driver and use compact flash
as you had mentioned.

 

  Using a "Technobox Part Number 6332 Dual-site, Single-slot 6U Compact
PCI (cPCI) PMC Adapter / Carrier  32bit / 66 MHz", a "Technobox Part
Number 5575 2.5-inch SATA Disk Drive Adapter PMC", and a Solid State
Disk would seem to require a SCSI driver and use SSD technology instead
of the compact flash.

 

Since you have FPGA experience you could also custom design a
cPCI-to-CompactFlash board.   You might find some useful core IP on
www.opencores.org  to help with the cPCI interface (which is essentially
PCI in a different form factor).

 

Steven G.

 

Note:

  I don't work for Technobox but I know people that do.  They are in my
local area and I've always had good results using their products.  There
are other companies that provide similar products and the above
information is mentioned as a possible solution showing the different
hardware/driver combinations possible.  Technobox is on the web at
http://www.technobox.com/. 

 

 

From: rtems-users-bounces at rtems.org
[mailto:rtems-users-bounces at rtems.org] On Behalf Of Jason Zheng
Sent: Tuesday, February 05, 2013 5:12 PM
To: rtems-users at rtems.org
Subject: leon3, ide, compactflash

 

Hello there. This is my first post in this mailing list. A little self
introduction. My name is Jason Zheng, and I am a hardware/embedded
engineer new to RTEMS. I have a lot of background experience working
with FPGA, and some working experience writing c code with RTEMS. I have
some questions regarding the status of IDE drivers on the leon3 bsp.

 

Our setup is the following:

 

GR-CPCI-UT699 LEON <http://www.gaisler.com/doc/GR-UT699_User_Manual.pdf>
3FT dev board

RTEMS 4.10 (Gaisler RCC 1.2.2)

 

We are in the process of adding some flash storage to the system to log
data, and after reading the RTEMS filesystem wiki I believe the best way
is to add a compactflash device via the cPCI backplane.

 

I've looked at the fileio example, and the system.h seems to indicate
that RTEMS_BSP_HAS_IDE_DRIVER points to the existence of a BSP-provided
IDE driver. I looked at the gaisler-provided leon3 bsp tree, and it
doesn't appear to provide any ide driver or define
RTEMS_BSP_HAS_IDE_DRIVER. So I'm guessing that there isn't any ide
driver available for leon3, is that right?

 

If that's the case, the question is whether it's possible to port
another IDE driver from a different bsp to leon3. Has anyone done
anything like that before? If not, do you have any suggestion (which ide
driver to port, which compactflash card to get, etc.) regarding this
subject?

 

thanks,

 

Jason Zheng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20130206/0fa822d8/attachment-0001.html>


More information about the users mailing list