AVR32 -march

View: New views
4 Messages — Rating Filter:   Alert me  

AVR32 -march

by Joshua Perry-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does anyone know the difference between the settings for the arch flag
on avr32-gcc? It shows available ucr1, ucr2, and ucr3. I'm having some
issues with code causing processor exceptions; It's running on an EV1105
which uses the AT32UC3A0512.

Josh


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: AVR32 -march

by David Brown-40 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joshua Perry wrote:
> Does anyone know the difference between the settings for the arch flag
> on avr32-gcc? It shows available ucr1, ucr2, and ucr3. I'm having some
> issues with code causing processor exceptions; It's running on an EV1105
> which uses the AT32UC3A0512.
>

This is the wrong mailing list - the only similarity between the AVR32
and the AVR (8-bit) is the three letters in the name.  AVR32 was a
mind-bogglingly stupid idea for a name (IHMO, of course), since google
can't tell the difference between AVR and AVR32.

avrfreaks website also covers the AVR32, so they might be able to give
you some pointers.  You could also try looking in the gcc documentation.

mvh.,

David



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

RE: Re: AVR32 -march

by Weddington, Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

> -----Original Message-----
> From:
> avr-gcc-list-bounces+eric.weddington=atmel.com@...
> [mailto:avr-gcc-list-bounces+eric.weddington=atmel.com@nongnu.
> org] On Behalf Of David Brown
> Sent: Thursday, September 03, 2009 5:57 PM
> To: avr-gcc-list@...
> Subject: [avr-gcc-list] Re: AVR32 -march
>
> Joshua Perry wrote:
> > Does anyone know the difference between the settings for
> the arch flag
> > on avr32-gcc? It shows available ucr1, ucr2, and ucr3. I'm
> having some
> > issues with code causing processor exceptions; It's running
> on an EV1105
> > which uses the AT32UC3A0512.
> >
>
> This is the wrong mailing list

Agree that it's the wrong mailing list.

However, to try and answer the OP's question: You shouldn't have to use -march, as that sets the architecture. You should just use the -mpart=uc3a0512 switch to set the device that you want to use. The archictectures of ucr1, ucr2, and ucr3 are just generic architecture names that select the instruction set to use.


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: Re: AVR32 -march

by Зоран Рилак :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> [...] AVR32 was a mind-bogglingly stupid idea for a name (IHMO, of course),
> since google can't tell the difference between AVR and AVR32.

Double quotes will preserve the order of search terms.  Try searching
for "avr32".

Cheers,
Zoran



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

signature.asc (204 bytes) Download Attachment