comp.lang.ada
 help / color / mirror / Atom feed
* gnat 2011 - avr-elf-windows
@ 2012-05-25 11:55 RasikaSrinivasan@gmail.com
  2012-05-25 12:30 ` Rego, P.
  0 siblings, 1 reply; 6+ messages in thread
From: RasikaSrinivasan@gmail.com @ 2012-05-25 11:55 UTC (permalink / raw)


All

Regarding the above package, can someone recommend a board I could
use? In particular can i use an Arduino Duemilanove?

Regards, srini



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

* Re: gnat 2011 - avr-elf-windows
  2012-05-25 11:55 gnat 2011 - avr-elf-windows RasikaSrinivasan@gmail.com
@ 2012-05-25 12:30 ` Rego, P.
  2012-05-25 13:47   ` RasikaSrinivasan@gmail.com
  0 siblings, 1 reply; 6+ messages in thread
From: Rego, P. @ 2012-05-25 12:30 UTC (permalink / raw)


> Regarding the above package, can someone recommend a board I could
> use? In particular can i use an Arduino Duemilanove?

Srini, depends on what you intend to do. But yes, Duemilanove works very well with avr-elf-windows. However you don't have RTS on it, it comes just with Zero Footprint Profile, so you won't be able to use tasks or exceptions unless you write your own RTS. But if you come from Atmel's tools, AVR Studio 5 also does not provide it, so at first hand would be ok. 

Actually for AVR32 there is a library which does it, but not for AVR8 (which is the case of Atmega328p in Duemilanove). I think it would be very useful to task on AVR8. Check this post https://groups.google.com/d/msg/comp.lang.ada/nz8bQNJTOrg/p1lFJtid-DgJ

Regards.



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

* Re: gnat 2011 - avr-elf-windows
  2012-05-25 12:30 ` Rego, P.
@ 2012-05-25 13:47   ` RasikaSrinivasan@gmail.com
  2012-05-29 20:44     ` RasikaSrinivasan@gmail.com
  0 siblings, 1 reply; 6+ messages in thread
From: RasikaSrinivasan@gmail.com @ 2012-05-25 13:47 UTC (permalink / raw)


On May 25, 8:30 am, "Rego, P." <pvr...@gmail.com> wrote:
> > Regarding the above package, can someone recommend a board I could
> > use? In particular can i use an Arduino Duemilanove?
>
> Srini, depends on what you intend to do. But yes, Duemilanove works very well with avr-elf-windows. However you don't have RTS on it, it comes just with Zero Footprint Profile, so you won't be able to use tasks or exceptions unless you write your own RTS. But if you come from Atmel's tools, AVR Studio 5 also does not provide it, so at first hand would be ok.
>
> Actually for AVR32 there is a library which does it, but not for AVR8 (which is the case of Atmega328p in Duemilanove). I think it would be very useful to task on AVR8. Check this posthttps://groups.google.com/d/msg/comp.lang.ada/nz8bQNJTOrg/p1lFJtid-DgJ
>
> Regards.

Excellent. Good way to get started. ZFP works for me. Regards, srini



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

* Re: gnat 2011 - avr-elf-windows
  2012-05-25 13:47   ` RasikaSrinivasan@gmail.com
@ 2012-05-29 20:44     ` RasikaSrinivasan@gmail.com
  2012-05-30 10:57       ` Rego, P.
  0 siblings, 1 reply; 6+ messages in thread
From: RasikaSrinivasan@gmail.com @ 2012-05-29 20:44 UTC (permalink / raw)


All

Still looking for some help with gnat-avr and my Arduino.

a. I am having trouble generating the spec for the Arduino part I am
using - ATmega328.

gen_avr fails with the message:

bad XML document, AVRPART expected

Any pointers on how I can modify the xml to get this processed?

b. I am also looking for a source for crt1-atmega328.S The examples
dir has a crt1-atmega2560.S

Any ideas on where this crt1-atmega2560.S originated?

Thanks for pointers, srini


On May 25, 9:47 am, "RasikaSriniva...@gmail.com"
<rasikasriniva...@gmail.com> wrote:
> On May 25, 8:30 am, "Rego, P." <pvr...@gmail.com> wrote:
>
> > > Regarding the above package, can someone recommend a board I could
> > > use? In particular can i use an Arduino Duemilanove?
>
> > Srini, depends on what you intend to do. But yes, Duemilanove works very well with avr-elf-windows. However you don't have RTS on it, it comes just with Zero Footprint Profile, so you won't be able to use tasks or exceptions unless you write your own RTS. But if you come from Atmel's tools, AVR Studio 5 also does not provide it, so at first hand would be ok.
>
> > Actually for AVR32 there is a library which does it, but not for AVR8 (which is the case of Atmega328p in Duemilanove). I think it would be very useful to task on AVR8. Check this posthttps://groups.google.com/d/msg/comp.lang.ada/nz8bQNJTOrg/p1lFJtid-DgJ
>
> > Regards.
>
> Excellent. Good way to get started. ZFP works for me. Regards, srini




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

* Re: gnat 2011 - avr-elf-windows
  2012-05-29 20:44     ` RasikaSrinivasan@gmail.com
@ 2012-05-30 10:57       ` Rego, P.
  2012-06-01 17:12         ` Rego, P.
  0 siblings, 1 reply; 6+ messages in thread
From: Rego, P. @ 2012-05-30 10:57 UTC (permalink / raw)


> a. I am having trouble generating the spec for the Arduino part I am 
> using - ATmega328. 
> 
> gen_avr fails with the message: 
> 
> bad XML document, AVRPART expected 

I'm assuming you are using the http://student.agh.edu.pl/~mkucia/wiki/doku.php?id=avrada (Do you have other reference?). If so, I do not get this message. Did you run the gen using 
main.exe ATmega328P.xml > atmega328p.ads? 

The xml you can get from AS5. 
Still I do not get any error message at this point. 

> Any pointers on how I can modify the xml to get this processed? 

I don't think you need to modify the xml. But the ads it generated came with with several redundancies, so it did not compile. Have to take them out. So it looks more practical to generate the ads by hand, without the xml, so you can put just what you want to use. 

> b. I am also looking for a source for crt1-atmega328.S The examples 
> dir has a crt1-atmega2560.S 
> 
> Any ideas on where this crt1-atmega2560.S originated? 

I did not use this. Is this included on GNAT-AVR library? 
Actually you can use the CRT from WinAVR installation, at avr\lib\avr5\crtm328p.o (rename it to crtm328p._o). 

Regards.



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

* Re: gnat 2011 - avr-elf-windows
  2012-05-30 10:57       ` Rego, P.
@ 2012-06-01 17:12         ` Rego, P.
  0 siblings, 0 replies; 6+ messages in thread
From: Rego, P. @ 2012-06-01 17:12 UTC (permalink / raw)


Srini,
Success?



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

end of thread, other threads:[~2012-06-01 17:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-25 11:55 gnat 2011 - avr-elf-windows RasikaSrinivasan@gmail.com
2012-05-25 12:30 ` Rego, P.
2012-05-25 13:47   ` RasikaSrinivasan@gmail.com
2012-05-29 20:44     ` RasikaSrinivasan@gmail.com
2012-05-30 10:57       ` Rego, P.
2012-06-01 17:12         ` Rego, P.

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