From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1a44c40a66c293f3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!z35g2000cwz.googlegroups.com!not-for-mail From: "Mike Silva" Newsgroups: comp.lang.ada Subject: Re: Preferred OS, processor family for running embedded Ada? Date: 24 Feb 2007 11:11:04 -0800 Organization: http://groups.google.com Message-ID: <1172344264.555988.157790@z35g2000cwz.googlegroups.com> References: <1172192349.419694.274670@k78g2000cwa.googlegroups.com> <1172239820.896603.222120@k78g2000cwa.googlegroups.com> NNTP-Posting-Host: 71.200.253.86 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1172344287 434 127.0.0.1 (24 Feb 2007 19:11:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 24 Feb 2007 19:11:27 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: z35g2000cwz.googlegroups.com; posting-host=71.200.253.86; posting-account=iqF8WgwAAACZn9w3gUkat69TUHJX8CiX Xref: g2news2.google.com comp.lang.ada:9496 Date: 2007-02-24T11:11:04-08:00 List-Id: On Feb 24, 5:45 am, Stephen Leake wrote: > "Mike Silva" writes: > > As this is just a hobby/learning thing at the moment, $10k is way, > > way too much. I'd like to keep the cost including SBC under, say, > > $1000. Do I dream the impossible dream? I hope not, because I'd > > really like to give this a try and perhaps learn enough to use > > embedded Ada commercially down the line (at which time somebody else > > could fork up the $10k). > > My main job at work is building a satellite simulator (GDS;http://fsw.gsfc.nasa.gov/gds/). It's a hard real-time system. Some > people would say it's not "embedded" because it has an ethernet > connection to a sophisticated user interface, but that's another > discussion. > > I develop all of the software for GDS on Windows. I've written > emulation packages for some of the hardware. I do this because it's > easier to debug top level code without the hardware getting in the > way, and the development tools (Emacs, GNAT, gdb) work better on > Windows than on the target OS (Lynx). Once it's working on the > emulator, then I run it on the real hardware. Sometimes it Just Works, > sometimes I have to get out the scope and see what's going on. In that > case, I try to fix the emulator so I won't have to use the scope again > :). Using the scope can be fun, but it's always way slower than using > gdb or higher-level tests. Yes, I have done something similar, writing emulators on a Windows box for both the master and the slave components of semiconductor fabrication equipment while the new hardware was being developed. > > So I suggest you take a similar approach. Make up some hardware that > you'd like to play with, and write an emulator for it. Then write some > code to make that hardware dance. > You can do all of that on free software and cheap hardware. It's that "make the hardware dance" part that seems much more complicated with Ada than with C-plus-an-OS (but the benefits seem much greater as well). That is to say, choosing an underlying runtime enviornment and getting it not only set up on the hardware, but integrated with the gcc Ada compiler. So, ignoring the question of preferred processor families (least amount of unnecessary gotchas), I'm still wondering about which OS is the best choice to get something up and running. Can anybody comment on the relative merits and troubles of running Ada on Linux, one of the *BSDs, and RTEMS? >... > Another area to explore is FPGA programming. We use small FPGAs on an > IP bus carrier > (http://www.acromag.com/functions.cfm?Category_ID=24&Group_ID=1) to > interface to our hardware. There is a free "Web" version of Alterra > Quartus > (https://www.altera.com/support/software/download/sof-download_center....), > or the open-source ghdl VHDL compiler/simulator > (http://ghdl.free.fr/). FPGA development relies heavily on simulation, > which does not require real hardware. > > If you are ambitious, you can try to tie the ghdl simulator to your > Ada code, to allow testing the Ada interface to the FPGA in > simulation. I haven't done that yet, but I wish I could. > > Someone who can do both Ada and VHDL would be a very valuable person! Well, I did pick up a VHDL book a while back. Maybe it's a sign. :) But first I want to get Ada running on a SBC.