<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000099">
Dear all,<br>
<br>
I am trying to use the B1553BRM driver on a LEON3 dual core based
board but I am a little bit confused on the way to open and to use
the device.<br>
Coming from the Linux world, I see that it is possible to do the
following :<br>
<br>
fd = open("/dev/brm0", O_RDWR);<br>
(POSIX interface)<br>
<br>
However, I do not have a filesystem because I have no need of it
(except maybe to have the descriptor node available ?).<br>
<br>
Such call returns an errno = 2, which means ENOENT.<br>
<br>
I try to switch to the RTEMS API by using the rtems_io_open(...)
function and the returned status is 25 "Internal error". This is
understandable since I do neither know the major number nor the
minor number for the BRM1553 configured as an RT device (I put 0 for
both the major and minor parameters).<br>
<br>
So my questions are :<br>
1 - is the RTEMS API usable to open the B1553BRM driver instead of
the POSIX API ?<br>
2 - where can I find the major and minor numbers for the B1553BRM
device ?<br>
3 - where can I find some examples on how to make use of such
drivers ?<br>
<br>
For information, I want to use the B1553BRM as an RT device only.<br>
<br>
Thanks you a lot in advance for your answers !<br>
<br>
Charles<br>
<br>
<br>
<div class="moz-signature">-- <br>
<table border="0" width="750px">
<tbody>
<tr>
<td>
<b>Charles INGELS</b><br>
Embedded software expert<br>
<font face="courier"><a class="moz-txt-link-abbreviated" href="mailto:charles.ingels@syderal.ch">charles.ingels@syderal.ch</a></font><br>
Phone <i>+41 (0)32 338 99 10</i> <br>
iNum <i>+883 5100 0902 7759</i> <br>
<br>
<b>SYDERAL SA</b> <br>
Neuenburgstrasse 7 <br>
CH-3238 Gals (Suisse) <br>
Desk <i>+41 (0)32 338 98 00</i> <br>
Fax <i>+41 (0)32 338 99 34</i> <br>
Web site <a class="moz-txt-link-freetext" href="http://www.syderal.ch">http://www.syderal.ch</a> <br>
</td>
<td>
<img src="cid:part1.54A0361A.08714E6E@syderal.ch"
height="65%" width="65%">
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>