Re: Hardware Abstraction



Vladimir Vassilevsky wrote:

Hello All,

I am looking for a concept for abstracting of a hardware. It is desired that the concept should be convenient, clear, consistent, logical and pretty universal.

My goal is developing more or less universal HAL and application framework for automotive, control and instrumental. It should not be tied to a particular OS, CPU or board.

Can you recommend a good reading on that. I am not very interested in the specifics of a particular OS or board, but in the good concepts and ideas.


Such as block and stream devices ?
Those almost infinitely clever abstractions lower
the performance to almost zero when someone then
tries to implement a serial protocol on serial hardware
but with a stream device driver in between.

IMO, a HAL is a bad idea in many cases, especially
on embedded hardware. How to dump performance on
zero advantage.

Rene
--
Ing.Buero R.Tschaggelar - http://www.ibrtses.com
& commercial newsgroups - http://www.talkto.net
.



Relevant Pages

  • Re: Hardware Abstraction
    ... I am looking for a concept for abstracting of a hardware. ... to another interface that is most likely not abstract. ... I have been abstracting whole uart routine to the hardware file. ...
    (comp.arch.embedded)
  • Re: Hardware Abstraction
    ... I am looking for a concept for abstracting of a hardware. ... To use a GPIO pin as an example, ... What if 8 of those GPIO pins are available on the same port, ...
    (comp.arch.embedded)
  • Hardware Abstraction
    ... I am looking for a concept for abstracting of a hardware. ... It is desired that the concept should be convenient, clear, consistent, logical and pretty universal. ... I am not very interested in the specifics of a particular OS or board, but in the good concepts and ideas. ...
    (comp.arch.embedded)
  • Re: Hardware Abstraction
    ... I am looking for a concept for abstracting of a hardware. ... a read-back of the register associated with the pin. ... Some GPIO implementations have one or the other and ...
    (comp.arch.embedded)
  • Re: really simple RS232-TTL converter... does it work?
    ... John Larkin wrote: ... Yeah, I've heard that. ... But the serial protocol is done in hardware on ...
    (sci.electronics.design)