comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Jensen <hanzer@riseup.net>
Subject: Re: Getting started with bare-board development
Date: Sun, 13 Nov 2016 17:00:19 -0500
Date: 2016-11-13T17:00:19-05:00	[thread overview]
Message-ID: <o0anol$qna$1@dont-email.me> (raw)
In-Reply-To: <o0akh0$fp4$1@dont-email.me>

On 11/13/2016 04:04 PM, Jeffrey R. Carter wrote:
> You seem to be thinking at too low a level. There isn't any "mocked
> H/W", only mocked behavior. The H/W simulation bodies give the
> information or have the effect expected of the devices given the state
> of the reality modeled in the environment pkg, but they need have no
> similarity to the real bodies, and usually don't. The device may be
> memory mapped, but there's no reason for the simulation to be. If access
> the device takes appreciable time, that's usually simulated using a
> delay. There's usually no reason to limit these parts of the S/W to the
> constraints of the target run time.

I suppose software developers might be accustomed to ignoring time, the
Turing machine/model-of-computation having no explicit representation of
time. But you are correct, I very much retain the perspective of an
electrical engineer and I most definitely think about the machine as
something that exists in time.

Doesn't the Real Time Annex related parts of the run-time support system
expect timing information from the hardware? (I am almost entirely
guessing about this, I haven't yet finished reading the basic
introductory materials on real-time programming).

It would probably help a lot to see a very basic little ("Hello,
Real-Time World") example of [your development approach to] real-time
software with a mocked hardware interface that can be executed directly
on a workstation. I suppose the hardware could be as simple as a clock
and maybe a counter or two. Maybe there could be some interrupts and two
or three tasks that do something very simple. And maybe all of this
could take place under the Ravenscar profile. Would that be a lot of
effort to write and post?


  reply	other threads:[~2016-11-13 22:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-11 22:19 Getting started with bare-board development Adam Jensen
2016-11-11 22:43 ` Maciej Sobczak
2016-11-12  9:45 ` G.B.
2016-11-12 16:14   ` Adam Jensen
2016-11-12 19:15     ` artium
2016-11-12 21:37       ` Adam Jensen
2016-11-13  4:01     ` Jeffrey R. Carter
2016-11-13 20:03       ` Adam Jensen
2016-11-13 21:04         ` Jeffrey R. Carter
2016-11-13 22:00           ` Adam Jensen [this message]
2016-11-14  8:11             ` Paul Rubin
2016-11-14 23:03               ` Adam Jensen
2016-11-14  9:04             ` Dmitry A. Kazakov
2016-11-14 23:35               ` Adam Jensen
2016-11-15  8:38                 ` Dmitry A. Kazakov
2016-11-15  9:58                   ` Niklas Holsti
2016-11-15 17:32                   ` Adam Jensen
2016-11-16  9:30                     ` Dmitry A. Kazakov
2016-11-15  0:06             ` Jeffrey R. Carter
2016-11-14 18:17     ` Simon Wright
2016-11-14 22:52       ` Adam Jensen
2016-11-12 20:59 ` Brian Drummond
2016-11-15  1:14 ` antispam
2016-11-15  4:20   ` Adam Jensen
2016-11-19 22:46     ` antispam
2016-11-15 19:34 ` Robert Eachus
2016-11-15 22:07   ` Adam Jensen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox