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,df1054d7dba4074d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news2.volia.net!feeder.news.tin.it!spool.news.tin.it!not-for-mail From: Francesco Bochicchio Subject: Re: Ada for embedded Date: Mon, 12 Feb 2007 20:08:28 +0100 User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Message-Id: Newsgroups: comp.lang.ada References: <1171174609.584377.113630@h3g2000cwc.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Organization: TIN.IT (http://www.tin.it) X-Comments: Please send technical notifications to newsmaster@tin.it NNTP-Posting-Host: 82.55.255.215 X-Trace: 1171307309 reader5.news.tin.it 13088 82.55.255.215:4642 X-Complaints-To: Please send abuse reports to abuse@tin.it Xref: g2news2.google.com comp.lang.ada:9292 Date: 2007-02-12T20:08:28+01:00 List-Id: Il Sat, 10 Feb 2007 22:16:49 -0800, korayem.m ha scritto: > hi all > i want to learn how to use ada in embedded system programming > > can anyone guide me, give me resources -books tutotials- or anything > can help me > > > Thank you all in advance I have been part of a team developing an ADA application for an embedded platform consisting of a bare PowerPC-based board without any OS (only a custom Board Support Library written in C library supporting the board initialization and I/O operations ). In these conditions I found quite a few differences wrt developing in ADA for a standard platform (which I also have done): - The Ada RunTime is reduced: ours (GMART) was lacking the following (some where not include because of safety reasons): * tasks * exceptions * I/O standard library * string manipulation libraries * dynamic allocation - The debugging is quite different: * You may found that your application has to deal with problems that are usually dealt by the OS (depending an how good/complex the Board Support Library is) * you need special hardware/software to debug remotely the software: these tools are helpful but often alter significantly the run conditions so that you get debugging-induced errors or are not able to reproduce errors that occurs without debugging * No text console output : you have to organize your own trace system using some I/O channel (in our case we used a serial port not used for nominal operations ). Most of these problems are not ADA-related but have to do with the lack of a full OS supporting your application, coupled with the fact that embedded software has often also strict real-time requirements. P.S : Nobody in the team had significant experience with this kind of development, hence the experience has been instructive but __VERY__ hard. Ciao ----- FB