comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Help with embedded hardware/software platform selection for ADA
Date: Tue, 2 Jul 2013 19:27:08 +0200
Date: 2013-07-02T19:27:08+02:00	[thread overview]
Message-ID: <p5xco0werqaf.ma0hhjlbtacy.dlg@40tude.net> (raw)
In-Reply-To: kqv0ha$hlo$2@dont-email.me

On Tue, 2 Jul 2013 16:52:59 +0000 (UTC), Simon Clubley wrote:

> On 2013-07-02, Dmitry A. Kazakov <mailbox@dmitry-kazakov.de> wrote:
>> On Tue, 02 Jul 2013 09:27:40 +0200, Georg Bauhaus wrote:
>>> 
>>> I still wonder why not a single vendor sells a Ravenscar run-time
>>> with compiler at a hobbyist price, without support.
>>
>> Why a hobbyist would even look at Ravenscar?
>>
>> IMO, a hobbyist if not obsessed with systems programming, wants full Ada
>> and a "normal" OS. This is quite possible to have today. And this is where
>> Ada shines, because you can develop and test on a PC and then just
>> recompile the code for the embedded target without any changes. At least
>> this is the way we do it.
> 
> It's not just systems programming, but hard realtime programming.
> 
> If you are using a "normal" OS, can I assume you don't have a hard
> real-time requirement (at least within the Ada code itself) ?

Hard realtime is to a great extent a fiction. If your system becomes
fragile upon us jitter there should be something wrong with the
architecture.

Otherwise there is no problem to have a 100us control loop under a "normal"
OS like Linux or VxWorks. Even under Windows you can have stable 5ms
(Windows has timer resolution issues, performance is basically OK).

We do some control under normal Windows using I/O terminals connected
through normal networks, e.g. ModBus over TCP/IP. Of course, we could not
certify such a system, but we don't care. A hobbyist would care even less.

> A number of the project areas which interest hobbyists have a realtime
> component to them and a number of those have a hard realtime component.

Unless you are dealing with burning processes (a bomb? (:-)) you do not
need cycles tighter than 1ms. And jitter is not an issue anyway.
Furthermore, a good AD/DA converter is not quicker than 40us. Which adds
80us to the loop no matter what. Don't tell me that the GPIO ARM has is
anywhere close to this. So 100us would be the theoretical minimum.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2013-07-02 17:27 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14 15:39 Help with embedded hardware/software platform selection for ADA Max Herman
2013-06-14 17:05 ` Dmitry A. Kazakov
2013-06-17 15:51   ` Max Herman
2013-06-17 17:12     ` Dmitry A. Kazakov
2013-06-14 17:45 ` G.B.
2013-06-14 20:52   ` Simon Wright
2013-06-14 20:16 ` RasikaSrinivasan
2013-06-14 20:51   ` Simon Wright
2013-06-17 16:00   ` Max Herman
2013-06-17  0:38 ` Luke A. Guest
2013-06-17 16:05   ` Max Herman
2013-07-04 16:13     ` Lucretia
2013-06-17  6:55 ` Help with embedded hardware/software platform selection for Ada Jacob Sparre Andersen
2013-06-17 16:15   ` Max Herman
2013-06-26 23:58   ` Luke A. Guest
2013-06-17 21:46 ` Help with embedded hardware/software platform selection for ADA Marcus F
2013-07-01 18:45   ` mjsilva
2013-07-01 19:32     ` Dmitry A. Kazakov
2013-07-01 23:35       ` Simon Clubley
2013-07-02  7:27         ` Georg Bauhaus
2013-07-02  8:46           ` Dmitry A. Kazakov
2013-07-02  9:09             ` Georg Bauhaus
2013-07-02 14:50               ` Shark8
2013-07-02 15:08             ` mjsilva
2013-07-02 16:53               ` Robert A Duff
2013-07-02 22:47               ` Randy Brukardt
2013-07-03  0:22                 ` Luke A. Guest
2013-07-03 19:13                   ` Randy Brukardt
2013-07-03 19:19                     ` Randy Brukardt
2013-07-03 20:50                       ` Georg Bauhaus
2013-07-08 12:53                         ` Eryndlia Mavourneen
2013-07-03 21:29                       ` Luke A. Guest
2013-07-03 22:02                       ` Niklas Holsti
2013-07-04 16:02                     ` Luke A. Guest
2013-07-05 21:08                       ` Randy Brukardt
2013-07-03  1:01                 ` mjsilva
2013-07-03  2:41                   ` Luke A. Guest
2013-07-03  7:17                     ` Shark8
2013-07-02 16:52             ` Simon Clubley
2013-07-02 17:27               ` Dmitry A. Kazakov [this message]
2013-07-02 19:29                 ` Simon Clubley
2013-07-02 20:21                   ` Dmitry A. Kazakov
2013-07-03 12:08                     ` Simon Clubley
2013-07-03 12:47                       ` Dmitry A. Kazakov
2013-07-03 16:56                         ` Simon Clubley
2013-07-02 22:21                 ` mjsilva
2013-07-03  7:18                   ` Dmitry A. Kazakov
2013-07-03  8:03                     ` Georg Bauhaus
2013-07-03 11:11                       ` Dmitry A. Kazakov
2013-07-03 12:49                         ` G.B.
2013-07-03 16:14                           ` Dmitry A. Kazakov
2013-07-03 14:50                     ` mjsilva
2013-07-02  8:26         ` Dmitry A. Kazakov
2013-07-02 10:44           ` Bill Findlay
2013-07-02 13:02             ` Dmitry A. Kazakov
2013-07-02 13:59               ` Bill Findlay
2013-07-02 14:41                 ` Dmitry A. Kazakov
2013-07-02 16:45                   ` Simon Clubley
2013-07-02 17:40                     ` Dmitry A. Kazakov
2013-07-02 16:57           ` Simon Clubley
2013-07-02 17:44             ` Dmitry A. Kazakov
2013-07-02 14:55         ` mjsilva
2013-07-02 15:20           ` Dmitry A. Kazakov
2013-07-02 15:58             ` mjsilva
2013-07-02 16:58               ` Dmitry A. Kazakov
replies disabled

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