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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: Toussaint OTTAVI Newsgroups: comp.lang.ada Subject: [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ? Date: Fri, 23 Feb 2018 11:02:46 +0100 Organization: Aioe.org NNTP Server Message-ID: NNTP-Posting-Host: SkhtwJv7H10hoDyotRw2wg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 X-Mozilla-News-Host: news://nntp.aioe.org:119 Content-Language: fr X-Notice: Filtered by postfilter v. 0.8.3 Xref: reader02.eternal-september.org comp.lang.ada:50593 Date: 2018-02-23T11:02:46+01:00 List-Id: Hi, I'm a newbie to the ADA world, and I'd like to set up an ADA development environment for Atmel AVR MCUs under Windows. This is not an easy task, because I found very few documentation about using ADA on AVR. I'd like to get advices and/or links to existing documentation or projects. First of all, about the the compiler itself, it seems to exist two options : - AVR-ADA (there is some documentation, but the project does not seem to be updated) - Libre AVR compiler from Adacore (no documentation found !) Which one would be the best choice ? Now, about the development environment, I'm running under Windows. I'd like to have : - A visual source editor with source highlighting. Libre version of Adacore GPS does the job. I enjoy Eclipse, but ADA plugin seems to be only available on adacore commercial versions. - A graphical source-level debugging, with the following basic features : - Browsing assembly code, mixed with inline ADA source code - Setting breakpoints and watches graphically - Reading variable content in a window during a breakpoint My first approach was to try Atmel AVR Studio for source-level debugging. Generating an ELF or COFF file, with the corresponding symbol table and source code, and importing it in AVR Studio, should do the job. Anyway, I did not have much success (yet). AVR Studio does not seem to "see" the symbol table, and I did not manage to get a correct view of ADA source code mixed with the resulting assembly code. Another option may be to use GPS for graphical debugging, associated with GDB. I have a compatible hardware JTAG/ISP/DebugWire probe (Atmel JTAGICE3), but I did not investigate yet. I don't know if GPS/GDB debugger would work for AVR target. Thank you in advance for your help and suggestions. Kind regards.