comp.lang.ada
 help / color / mirror / Atom feed
From: rrr.eee.27@gmail.com
Subject: Re: Interrupt-driven Usart not working in Ada, but in C working, why?
Date: Mon, 17 Mar 2014 05:17:33 -0700 (PDT)
Date: 2014-03-17T05:17:33-07:00	[thread overview]
Message-ID: <01818147-3406-414e-8481-7dc875ef213c@googlegroups.com> (raw)
In-Reply-To: <2528b8c4-93a8-4fb8-a6a5-192493d5d616@googlegroups.com>

On Sunday, March 16, 2014 9:37:45 PM UTC+1, Rego, P. wrote:
> I am trying to use interrupt-driven Usart on an Atmel AVR ATmega2560 chip. 

AVR-Ada has both polled and interrupt driven UART packages. Both work at least on atmega328. I never tried ATmega2560.

As far as I remember one of the two versions exhibited a bug in the FSF-gnat of the time (gcc-4.5 or gcc-4.6). It was fixed in a later gcc release (4.7.1?).  You also might try a more recent gcc version.

Rolf

  parent reply	other threads:[~2014-03-17 12:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-16 20:37 Interrupt-driven Usart not working in Ada, but in C working, why? Rego, P.
2014-03-16 22:54 ` Oliver Kleinke
2014-03-17  0:21   ` Rego, P.
2014-03-17 14:08     ` Oliver Kleinke
2014-03-24 14:36       ` rrr.eee.27
2014-03-16 23:09 ` Oliver Kleinke
2014-03-17  0:32   ` Rego, P.
2014-03-17 12:17 ` rrr.eee.27 [this message]
2014-03-17 20:28   ` Rego, P.
2014-03-18 14:08     ` Oliver Kleinke
2014-03-21  2:52       ` Rego, P.
2014-03-24 14:28         ` rrr.eee.27
replies disabled

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