This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Parallel Port access for eCos under Linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]