leon3, ide, compactflash

Jason Zheng jxzheng at gmail.com
Wed Feb 6 16:17:43 UTC 2013


Hi Steven,

Thanks for the reply. Yes I am planning to use a combination of cPCI-to-PMC
carrier and PMC-compactFlash carrier to accomplish this. I already have a
3U passive cPCI-PMC carrier from dynamic engineering:
http://www.dyneng.com/cpci2pmc.html

And a couple of 6U dual-slot cPCI-PMC carrier from adlink with active pci
bridge:
http://www.adlinktech.com/PD/web/PD_detail.php?pid=290

During my search for a PMC compactflash solution I came upon this:

http://www.technobox.com/pic6677.htm

It uses a silicon image 680 IDE controller, and I am not sure these are
supported by any of the drivers included in the leon3 bsp or any other bsp.

I also saw a birdged compactFlash pmc host from dynamic engineering, which
probably exposes the build-in IDE controller of the compactFlash to the PCI
bus:

http://www.dyneng.com/pmc_cf.html

My real question is which of the compact flash option (silicon image 680 or
bridged compactflash) has a better chance to get supported or port driver
for RTEMS leon3 bsp?

~Jaason



On Wed, Feb 6, 2013 at 6:44 AM, Steven Grunza <sgrunza at ctdi.com> wrote:

> 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/c0b4399f/attachment-0001.html>


More information about the users mailing list