Questions tagged [drivers]
The drivers tag has no summary.
31 questions
0 votes
1 answer
165 views
How to resolve configuration of a peripheral driver in C++?
I have been solving following architectural problem. I have been implementing a software driver for a fpga peripheral (basically a digital filter with two filtering algorithms). The main goals of the ...
2 votes
3 answers
260 views
How to create a shared driver?
As an embedded developer, I often write drivers for hardware (though this question really applies to any shared resource). The "standard" interface I have come up with looks like the ...
2 votes
2 answers
256 views
Operating systems - whose responsibility is it to coordinate process I/O requests?
I am reading Tanenbaum's Modern Operating Systems. I want to understand a particular concept regarding processes and blocking system calls, specifically with regards to I/O. I assume threads might ...
0 votes
0 answers
69 views
How to handle ISR callbacks when writing a Hardware Abstraction Layer (HAL)?
I'm writing a Hardware Abstraction Layer (HAL) to abstract a hardware peripheral on an mcu. The driver peripheral looks like this. Driver module. Includes hal.h void drv_init(void); void drv_set(int x)...
-1 votes
1 answer
538 views
Architecture for interfacing to embedded systems hardware in c++
I have been spending quite a bit of time recently researching the "best" (read most elegant. robust, simple to use, and resource friendly) ways to develop low-level hardware abstractions for ...
0 votes
2 answers
232 views
How do drivers invoke routines in the original calling program?
I'm reading an introductory article about drivers and came about this quote: "Once the device sends data back to the driver, the driver may invoke routines in the original calling program. " ...
0 votes
2 answers
577 views
Low level C driver API
Recently I had my first experience writing a wrapper around FTD2XX driver for a desktop tool that communicates with an embedded device. The library provided some common device specific functionality ...
2 votes
0 answers
156 views
How to design software driver for the analog to digital converter?
I have been developing software driver for the analog to digital converter in C++. The a/d converter is primary intended for conversion of the temperature signals. The temperature signals are then ...
0 votes
1 answer
69 views
Software driver for remote digital inputs
I have been facing a task to develop a software driver in C++ for a chip which makes available 8 digital inputs over the SPI bus. In the time being I have been thinking about the interface of the ...
1 vote
0 answers
210 views
How to develop software drivers for the mcu peripherals in C++?
I have been developing a set of software drivers for the peripherals of a MCU. I need to implement those drivers in the C++ programming language. My idea was to model each driver by its own class. ...
-2 votes
2 answers
105 views
How to aid (do the testing for) a developer who doesn't own a touchpad to implement Precision bindings?
First of all, I consider myself to be a power user, but wouldn't dare to call myself a software designer. I opened a feature request to add support for Windows' Precision Touchpad binding in the ...
5 votes
1 answer
742 views
How exactly are drivers developed, distributed, & utilized?
If operating systems use 'drivers' to communicate with external devices, does that then mean that OS's (like windows, linux, & osx) have to come prepackaged with drivers for every single external ...
-2 votes
1 answer
95 views
Does driver-device interaction from one operating-system environment affect the driver-device interaction on another operating-system environment? [closed]
I'm working on another tutorial: if l used a computer with an SSD-hard-drive containing an instance of Ubuntu 18.04 LTS installed with a set of Nvidia GPUs loaded with the Nvidia-CUDA toolkit but ...
3 votes
1 answer
484 views
Why non-mainstream OSes don't adopt Linux hardware drivers?
Non-mainstream OSes (Genode, BSD, Haiku, etc.) tend to have problems with drivers availability/support. Why don't they reuse Linux drivers? I would imagine they could provide some ABI compatibility ...
0 votes
1 answer
302 views
Can a driver running in kernel mode access a port directly?
Based on what I know so far, if I want to create a driver, and want the driver to send data on some port (for example: serial/parallel/USB), my driver will communicate with the port driver, and the ...