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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: what does your Ada + hardware look like ? Date: Wed, 7 Oct 2015 15:22:22 +0200 Organization: cbb software GmbH Message-ID: <1qqftuemkkogu$.16rnow6siulru$.dlg@40tude.net> References: <57249af6-7148-46c4-8547-4e803526eb46@googlegroups.com> <6yxmfz7olgap$.11tccqb9hkwdq.dlg@40tude.net> <4c54c2a9-050c-41ba-82ef-8bedc1eb3416@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: jSS3it0g+GyWYSMU5pi+5g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:27929 Date: 2015-10-07T15:22:22+02:00 List-Id: On Wed, 7 Oct 2015 04:50:29 -0700 (PDT), halfmaddad@gmail.com wrote: > You work with landing gear correct? No, we are doing automation and control. > Do you run with an OS? Yes. Windows, VxWorks, Linux/Debian > I know we can run without one but then we lose > tasking, nested subprograms and exception handling, no? Possibly not, but it does not worth the efforts, especially regarding the BSP. > So I work with scientific instruments. Sometimes I modify them for people > but I basically just repair them. I have thought about designing one for a > long time. It would take a lot less time and I would end up with a better > product if I could do it in Ada rather then C/C++. More so. Small firms have no resources to keep a huge stash of boards. The key advantage of having an OS is that you can switch the board any time without much trouble and pretty quick. Cheap boards go out of stock in each 2-5 years. You simply would not be able to keep that pace. > I was wondering about using SPI with a GPIO card but I have not done this > before. I know there are also USB-GPIO adapters. If digital I/O is all you need a BB or a RPI has plenty of. Linux drivers are garbage from the SW POV, but serve the purpose when the frequency is moderate. Quality analogue I/O would be problematic. We are using EtherCAT or MODBUS/TCP terminals. They are relatively inexpensive and for industrial use have one essential advantage that you can always exchange a terminal if it burns down. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de