This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Parallel Port access for eCos under Linux
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Horsch <t dot horsch at fbi dot fh-darmstadt dot de>
- Cc: ecos-discuss at sources dot redhat dot com,"Pester, Manfred" <m dot pester at fbi dot fh-darmstadt dot de>,Beck <beckman at gmx dot de>
- Date: Thu, 27 Feb 2003 18:13:46 +0000
- Subject: Re: [ECOS] Parallel Port access for eCos under Linux
- References: <000501c2de51$4d189890$2b40648d@FHDHorsch>
Horsch wrote:
I have two questions regarding the access of the parallel port for eCos:
1. access under the synthetic target running under linux on a PC
(important)
2. access under the PC target only running eCos (less important)
background: the application to be built is a simple cnc controller which
is accessed through the parallel port of a PC.
Are there any experiences/examples available ?
This hasn't yet been done, but it certainly can be. You should read the
SGML documentation on the synthetic target in hal/synth/arch/current/doc/
and read about I/O auxiliaries - there's a bunch of documentation on
writing new devices for the synth target.
To build the docs go to ecos/doc/sgml and run ./makemakefile followed by
"make html". Then look at ecos-ref.html
I think I should question why you are considering the synth linux eCos
target for this as more important than a PC... the synthetic target is
exactly that - synthetic. It won't make your application real-time for
example.
A PC target would be different, but obviously in that case you need to
write a completely different driver that talks direct to the parallel port
hardware.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss