comp.lang.ada
 help / color / mirror / Atom feed
* [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ?
@ 2018-02-23 10:02 Toussaint OTTAVI
  2018-02-23 19:39 ` Niklas Holsti
  2018-02-27 21:31 ` Jerry
  0 siblings, 2 replies; 11+ messages in thread
From: Toussaint OTTAVI @ 2018-02-23 10:02 UTC (permalink / raw)


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.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ?
  2018-02-23 10:02 [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ? Toussaint OTTAVI
@ 2018-02-23 19:39 ` Niklas Holsti
  2018-02-26  8:48   ` Toussaint OTTAVI
  2018-02-27 21:31 ` Jerry
  1 sibling, 1 reply; 11+ messages in thread
From: Niklas Holsti @ 2018-02-23 19:39 UTC (permalink / raw)


On 18-02-23 12:02 , Toussaint OTTAVI wrote:
> 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.

Welcome! I hope you will enjoy the language.

Regarding Ada for the AVR, I can help only with two links:

- there is (or has been) an AVR-Ada newsgroup at

    news://news.gmane.org/gmane.comp.hardware.avr.ada

- there is (or has been) a Sourceforge list at

    avr-ada-devel@lists.sourceforge.net

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ?
  2018-02-23 19:39 ` Niklas Holsti
@ 2018-02-26  8:48   ` Toussaint OTTAVI
  2018-02-26 10:59     ` Stéphane Rivière
  0 siblings, 1 reply; 11+ messages in thread
From: Toussaint OTTAVI @ 2018-02-26  8:48 UTC (permalink / raw)


Le 23/02/2018 à 20:39, Niklas Holsti a écrit :
> Regarding Ada for the AVR, I can help only with two links:
> 
> - there is (or has been) an AVR-Ada newsgroup at
> 
> news://news.gmane.org/gmane.comp.hardware.avr.ada

Hi, thank you for your answer.

I made some progress, and my first LED in ADA on AVR is blinking :-)

I still encounter problems with real-time debugging under Windows. As 
they are only AVR-related problems, I'll post in that newsgroup.

Kind regards


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ?
  2018-02-26  8:48   ` Toussaint OTTAVI
@ 2018-02-26 10:59     ` Stéphane Rivière
  0 siblings, 0 replies; 11+ messages in thread
From: Stéphane Rivière @ 2018-02-26 10:59 UTC (permalink / raw)


> I still encounter problems with real-time debugging under Windows. As 
> they are only AVR-related problems, I'll post in that newsgroup.

Hi Toussaint,

I've sent to you by others means some informations (*), wasn't aware you 
own a jtagice 3, no info about these probe. But interested having some 
feedback about, to improve the manual I'm writing.

Around AVRAda, there is the theorical way, and the practical one. I 
trust only what I see (or you see !).

Thanks Niklas for the links...

    news://news.gmane.org/gmane.comp.hardware.avr.ada

Alas only broken links from 
http://dir.gmane.org/gmane.comp.hardware.avr.ada... Archives could be a 
must see...

    avr-ada-devel@lists.sourceforge.net

Not very active, but Rolf and Tera read it !


(*) If anyone is interested... far from being finished...

https://stef.genesix.org/pub/embedded_AVR-Ada_-_Setup_POSS2017.pdf

-- 
Be Seeing You
Number Six

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ?
  2018-02-23 10:02 [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ? Toussaint OTTAVI
  2018-02-23 19:39 ` Niklas Holsti
@ 2018-02-27 21:31 ` Jerry
  2018-03-02  7:21   ` Petter Fryklund
  1 sibling, 1 reply; 11+ messages in thread
From: Jerry @ 2018-02-27 21:31 UTC (permalink / raw)


I guess it's my turn. 8^)

Welcome to Ada and the Ada community. I hope you find both to be pleasant experiences.

The language that you are learning is Ada, not ADA. Ada is a person's name, not an acronym. It sort of grates on some people's nerves to see ADA.

Best Wishes,
Jerry

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ?
  2018-02-27 21:31 ` Jerry
@ 2018-03-02  7:21   ` Petter Fryklund
  2018-03-02  8:34     ` J-P. Rosen
  0 siblings, 1 reply; 11+ messages in thread
From: Petter Fryklund @ 2018-03-02  7:21 UTC (permalink / raw)


Den tisdag 27 februari 2018 kl. 22:31:25 UTC+1 skrev Jerry:
> I guess it's my turn. 8^)
> 
> Welcome to Ada and the Ada community. I hope you find both to be pleasant experiences.
> 
> The language that you are learning is Ada, not ADA. Ada is a person's name, not an acronym. It sort of grates on some people's nerves to see ADA.
> 
> Best Wishes,
> Jerry

ADA is actually not an acronym, it is two. American Dentist Association and American Disables Act ;-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ?
  2018-03-02  7:21   ` Petter Fryklund
@ 2018-03-02  8:34     ` J-P. Rosen
  2018-03-02 15:35       ` Dirk Craeynest
  2018-03-02 22:44       ` Randy Brukardt
  0 siblings, 2 replies; 11+ messages in thread
From: J-P. Rosen @ 2018-03-02  8:34 UTC (permalink / raw)


Le 02/03/2018 à 08:21, Petter Fryklund a écrit :
>> The language that you are learning is Ada, not ADA. Ada is a
>> person's name, not an acronym. It sort of grates on some people's
>> nerves to see ADA.
> 
> ADA is actually not an acronym, it is two. American Dentist
> Association and American Disables Act ;-)
> 
And many others (106 listed):
https://www.acronymfinder.com/ADA.html

(BTW, this list misses the Agra Development Authority - I have a
beautiful picture of a bus with ADA on it)

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ?
  2018-03-02  8:34     ` J-P. Rosen
@ 2018-03-02 15:35       ` Dirk Craeynest
  2018-03-02 22:44       ` Randy Brukardt
  1 sibling, 0 replies; 11+ messages in thread
From: Dirk Craeynest @ 2018-03-02 15:35 UTC (permalink / raw)


In article <p7b2an$2n6$1@gioia.aioe.org>, J-P. Rosen <rosen@adalog.fr> wrote:
>>> The language that you are learning is Ada, not ADA. Ada is a
>>> person's name, not an acronym.
[...]
>And many others (106 listed):
>https://www.acronymfinder.com/ADA.html
>
>(BTW, this list misses the Agra Development Authority - I have a
>beautiful picture of a bus with ADA on it)

See also "Beware of the Ada Police!" and several others in
"The Ada Picture Gallery" on the Ada-Belgium web pages at
<http://www.cs.kuleuven.be/~dirk/ada-belgium/pictures.html>

(Reminds me that an update of that page is long overdue...)

Dirk
Dirk.Craeynest@cs.kuleuven.be (for Ada-Belgium/Ada-Europe/SIGAda/WG9)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ?
  2018-03-02  8:34     ` J-P. Rosen
  2018-03-02 15:35       ` Dirk Craeynest
@ 2018-03-02 22:44       ` Randy Brukardt
  2018-03-03  3:25         ` Dennis Lee Bieber
  2018-03-03  7:27         ` Dirk Craeynest
  1 sibling, 2 replies; 11+ messages in thread
From: Randy Brukardt @ 2018-03-02 22:44 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]

"J-P. Rosen" <rosen@adalog.fr> wrote in message 
news:p7b2an$2n6$1@gioia.aioe.org...
> Le 02/03/2018 à 08:21, Petter Fryklund a écrit :
>>> The language that you are learning is Ada, not ADA. Ada is a
>>> person's name, not an acronym. It sort of grates on some people's
>>> nerves to see ADA.
>>
>> ADA is actually not an acronym, it is two. American Dentist
>> Association and American Disables Act ;-)
>>
> And many others (106 listed):
> https://www.acronymfinder.com/ADA.html
>
> (BTW, this list misses the Agra Development Authority - I have a
> beautiful picture of a bus with ADA on it)

There are also plenty of places named "Ada" in the US. I once stopped in 
Idaho to take a picture of "Welcome to Ada County" (I remember someone asked 
to add it to their collection of Ada pictures.) My 6th grade teacher was 
from Ada Wisconsin, and in fact that is where my Dad gets his apples pressed 
into cider each year. ("Ada - unincorporated" in front of a tiny cluster of 
houses is not a picture we need in the Ada gallery - one doesn't even need 
to slow down for Ada.)

                     Randy.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ?
  2018-03-02 22:44       ` Randy Brukardt
@ 2018-03-03  3:25         ` Dennis Lee Bieber
  2018-03-03  7:27         ` Dirk Craeynest
  1 sibling, 0 replies; 11+ messages in thread
From: Dennis Lee Bieber @ 2018-03-03  3:25 UTC (permalink / raw)


On Fri, 2 Mar 2018 16:44:16 -0600, "Randy Brukardt" <randy@rrsoftware.com>
declaimed the following:


>There are also plenty of places named "Ada" in the US. I once stopped in 
>Idaho to take a picture of "Welcome to Ada County" (I remember someone asked 
>to add it to their collection of Ada pictures.) My 6th grade teacher was 
>from Ada Wisconsin, and in fact that is where my Dad gets his apples pressed 
>into cider each year. ("Ada - unincorporated" in front of a tiny cluster of 
>houses is not a picture we need in the Ada gallery - one doesn't even need 
>to slow down for Ada.)
>
	And then there is "Amway"... https://en.wikipedia.org/wiki/Amway (The
north side of the main street of Ada is basically all Amway land)
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ?
  2018-03-02 22:44       ` Randy Brukardt
  2018-03-03  3:25         ` Dennis Lee Bieber
@ 2018-03-03  7:27         ` Dirk Craeynest
  1 sibling, 0 replies; 11+ messages in thread
From: Dirk Craeynest @ 2018-03-03  7:27 UTC (permalink / raw)


In article <p7ck41$a2g$1@franka.jacob-sparre.dk>,
Randy Brukardt <randy@rrsoftware.com> wrote:
>> (BTW, this list misses the Agra Development Authority - I have a
>> beautiful picture of a bus with ADA on it)
>
>There are also plenty of places named "Ada" in the US. I once stopped in 
>Idaho to take a picture of "Welcome to Ada County" (I remember someone asked 
>to add it to their collection of Ada pictures.)  [...]

That must've been me... ;-)

The Ada Picture Gallery [1] that I mentioned before has among others:
- the Ada Package Store, in Ada, Alabama,
- the Ada High School, in Ada, Oklahoma, and
- the "Adventures of Ada Boy in Ada", Minnesota,
  a series of pictures taken by Mike Kamrad.

(And also "Ada Beer" from Belgium, but I digress...)

Dirk

[1] <http://www.cs.kuleuven.be/~dirk/ada-belgium/pictures.html>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-03-03  7:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-23 10:02 [Newbie] Setting up ADA for AVR environment with graphical source-level debugging ? Toussaint OTTAVI
2018-02-23 19:39 ` Niklas Holsti
2018-02-26  8:48   ` Toussaint OTTAVI
2018-02-26 10:59     ` Stéphane Rivière
2018-02-27 21:31 ` Jerry
2018-03-02  7:21   ` Petter Fryklund
2018-03-02  8:34     ` J-P. Rosen
2018-03-02 15:35       ` Dirk Craeynest
2018-03-02 22:44       ` Randy Brukardt
2018-03-03  3:25         ` Dennis Lee Bieber
2018-03-03  7:27         ` Dirk Craeynest

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