<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Jason,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> What physical device are you planning on plugging into the cPCI bus? <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> (+1 for including a link to the cPCI card you are using – makes it easier to provide assistance)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> 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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> 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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> 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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> Since you have FPGA experience you could also custom design a cPCI-to-CompactFlash board. You might find some useful core IP on <a href="http://www.opencores.org">www.opencores.org</a> to help with the cPCI interface (which is essentially PCI in a different form factor).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Steven G.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Note:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> 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 <a href="http://www.technobox.com/">http://www.technobox.com/</a>. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> rtems-users-bounces@rtems.org [mailto:rtems-users-bounces@rtems.org] <b>On Behalf Of </b>Jason Zheng<br><b>Sent:</b> Tuesday, February 05, 2013 5:12 PM<br><b>To:</b> rtems-users@rtems.org<br><b>Subject:</b> leon3, ide, compactflash<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>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.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Our setup is the following:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:#EBF5F8'><a href="http://www.gaisler.com/doc/GR-UT699_User_Manual.pdf" target="_blank"><span style='color:black'>GR-CPCI-UT699 LEON</span></a>3FT dev board</span><o:p></o:p></p></div><div><p class=MsoNormal>RTEMS 4.10 (Gaisler RCC 1.2.2)<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>thanks,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Jason Zheng<o:p></o:p></p></div></div></div></div></body></html>