In order to discard hardware issues I now tried the same application on a more powerful FPGA. Here the leon-3 processor runs at 80MHz and UART hardware fifos size are doubled to 32 bytes. However the problem is still the same. Rx works well, the packets received are ok but the packets sent are not correct.<br>
<br>I suspect of a problem on the driver. If i set a big buffer, 1024 as chris suggested, "trash" bytes are sent. This does not happen if i set a buffer lower than the message i want to send but in this case i loose bytes.<br>
<br>Termios is well configured, the simplest way possible. I'm using POSIX rtems support.<br><br>Can that warning on the driver be the problem? Transmissions in interrupt mode not working well? Is there any other driver i can use? <br>
<br><br>Best,<br>JM<br><br><br><br><div class="gmail_quote">On Fri, Sep 24, 2010 at 3:25 PM, Joćo Rasta <span dir="ltr"><<a href="mailto:freakforever@gmail.com">freakforever@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Sorry, it is this one:<br><br>rtems-4.10-mingw\src\rtems-4.10\c\src\lib\libbsp\sparc\leon3\console<div><div></div><div class="h5"><br><br><br><br><div class="gmail_quote">On Fri, Sep 24, 2010 at 3:15 PM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>On 09/24/2010 04:04 PM, Joćo Rasta wrote:<br>
> The filename is console.c. I'm using rtems 4.10 from<br>
><br>
> <a href="ftp://gaisler.com/gaisler.com/rcc/src/" target="_blank">ftp://gaisler.com/gaisler.com/rcc/src/</a><br>
<br>
</div>There are 48 console.c files in this archive.<br>
<div><br>
><br>
><br>
> Best,<br>
> JM<br>
><br>
> On Fri, Sep 24, 2010 at 1:13 PM, Sebastian Huber<br>
> <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
</div><div>> <mailto:<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>>> wrote:<br>
><br>
> On 09/24/2010 02:01 PM, Joćo Rasta wrote:<br>
> > Hi,<br>
> ><br>
> > I have checked the termios configuration again, it seems ok. No<br>
> software<br>
> > flow control, no canonical mode. Also the same configuration works<br>
> fine<br>
> > on a x86.<br>
> ><br>
> > I'm using gaisler's console driver and when i opened the rtems driver<br>
> > file it said this:<br>
> [...]<br>
><br>
> What is the file name path of this file and the CVS version in your<br>
> case?<br>
><br>
> --<br>
> Sebastian Huber, embedded brains GmbH<br>
><br>
> Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany<br>
> Phone : +49 89 18 90 80 79-6<br>
> Fax : +49 89 18 90 80 79-9<br>
> E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
</div>> <mailto:<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>><br>
<div>> PGP : Public key available on request.<br>
><br>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
> _______________________________________________<br>
> rtems-users mailing list<br>
</div>> <a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a> <mailto:<a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a>><br>
<div>> <a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
><br>
><br>
<br>
<br>
</div>--<br>
<div><div></div><div>Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany<br>
Phone : +49 89 18 90 80 79-6<br>
Fax : +49 89 18 90 80 79-9<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>