All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Blackfin serial port in Xenomai
@ 2009-01-07 11:49 Nikolaj Fogh
  2009-01-08  9:11 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolaj Fogh @ 2009-01-07 11:49 UTC (permalink / raw)
  To: xenomai

Hi,

I am trying to interface with a serial port on a bluetechnics cm-bf537e
board (a blackfin chip). However, it seems that the serial port in the
blackfin is not compatible with a 8250 chip, so I cannot get the xenomai
rtdm serial driver working. Has anyone got a driver for the blackfin
serial port for hard real time.

Right now, I am just printf'ing to a serial console to print data. I
would like to avoid that.

Thanks
  - Nikolaj Fogh


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] Blackfin serial port in Xenomai
  2009-01-07 11:49 [Xenomai-help] Blackfin serial port in Xenomai Nikolaj Fogh
@ 2009-01-08  9:11 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2009-01-08  9:11 UTC (permalink / raw)
  To: Nikolaj Fogh; +Cc: xenomai

Nikolaj Fogh wrote:
> Hi,
> 
> I am trying to interface with a serial port on a bluetechnics cm-bf537e
> board (a blackfin chip). However, it seems that the serial port in the
> blackfin is not compatible with a 8250 chip, so I cannot get the xenomai
> rtdm serial driver working. Has anyone got a driver for the blackfin
> serial port for hard real time.
> 

I don't know of any, yet.

> Right now, I am just printf'ing to a serial console to print data. I
> would like to avoid that.
>

If that is just for text output, you could build a trivial rtdm driver accepting
strings from the write_rt endpoint and relay it to the debug routine available
with the I-pipe code for this arch, i.e.:
void __ipipe_serial_debug(const char *fmt, ...);

Caution: this routine is very naive, and locks out hw interrupts until the
entire string has been sent out to the wire; you may want to either fix it for
your needs, or send small strings, one at a time.

> Thanks
>   - Nikolaj Fogh
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 
Philippe.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-08  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-07 11:49 [Xenomai-help] Blackfin serial port in Xenomai Nikolaj Fogh
2009-01-08  9:11 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.