Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Re: compilator

Re: compilator

2010-07-04 by Donald H

--- In AVR-Chat@yahoogroups.com, "Riccardo Castellani" <ric.castellani@...> wrote:
>
> I bought several books to learn to program my AT-MEGA8535 , but I need C 
> compilator.
> I'm going to use IAR but I'd like listening your suggestions with advantages 
> and disadvantages.
> 
> What compilator can you suggest me ?

A good compiler for a beginner is WINAVR.

Google for it.

> 
> I wish to create 2 projects:
> 
> 1. AUTOMATIC SPRINKLER TIME for my garden
Good beginner project, not to many things to get wrong.


> 2. webcam for register images, during 24h, on hard disk
You asked about this before.

You CAN NOT run a USB webcam with an 8535.
This is not a beginner project.

Get your sprinkler working first, same time next year you can look at another simple project.

don

compilator

2010-07-04 by Riccardo Castellani

I bought several books to learn to program my AT-MEGA8535 , but I need C 
compilator.
I'm going to use IAR but I'd like listening your suggestions with advantages 
and disadvantages.

What compilator can you suggest me ?

I wish to create 2 projects:

1. AUTOMATIC SPRINKLER TIME for my garden
2. webcam for register images, during 24h, on hard disk

Re: compilator

2010-07-04 by Donald H

--- In AVR-Chat@yahoogroups.com, "Riccardo Castellani" <ric.castellani@...> wrote:
>
> I wish investing on my knowledge, so if you think Winavr is suitable for my 
> 2 projects I'll use it, otherwise I'll buy IAR because I don't want to study 
> winavr to replace it in the future with AIR. What do you think now ?


I use WINAVR for commercial products, so I am sure it will work for you.

But since you have not tired it yet, I think you will need to decide for your self now.

don

Good luck on the webcam project, let us know how it works.

Re: [AVR-Chat] compilator

2010-07-04 by Jim Wagner

On Jul 4, 2010, at 11:39 AM, Riccardo Castellani wrote:

> I bought several books to learn to program my AT-MEGA8535 , but I  
> need C
> compilator.
> I'm going to use IAR but I'd like listening your suggestions with  
> advantages
> and disadvantages.
>
> What compilator can you suggest me ?
>
> I wish to create 2 projects:
>
> 1. AUTOMATIC SPRINKLER TIME for my garden
> 2. webcam for register images, during 24h, on hard disk
>
>
> 
What many use is WInAVR (which works with gcc). IAR is pretty  
expensive though your sprinkler timer should be small enough to use  
the free version.

I am not even sure that you can do anything with a webcam and 8535  
except maybe turn it on and off.

Jim Wagner
Oregon Research Electronics



[Non-text portions of this message have been removed]

Re: [AVR-Chat] compilator

2010-07-04 by Riccardo Castellani

I wish investing on my knowledge, so if you think Winavr is suitable for my 
2 projects I'll use it, otherwise I'll buy IAR because I don't want to study 
winavr to replace it in the future with AIR. What do you think now ?


----- Original Message ----- 
Show quoted textHide quoted text
From: "Jim Wagner" <wagnerj@proaxis.com>
To: <AVR-Chat@yahoogroups.com>
Sent: Sunday, July 04, 2010 11:13 PM
Subject: Re: [AVR-Chat] compilator


>
> On Jul 4, 2010, at 11:39 AM, Riccardo Castellani wrote:
>
>> I bought several books to learn to program my AT-MEGA8535 , but I
>> need C
>> compilator.
>> I'm going to use IAR but I'd like listening your suggestions with
>> advantages
>> and disadvantages.
>>
>> What compilator can you suggest me ?
>>
>> I wish to create 2 projects:
>>
>> 1. AUTOMATIC SPRINKLER TIME for my garden
>> 2. webcam for register images, during 24h, on hard disk
>>
>>
>>
> What many use is WInAVR (which works with gcc). IAR is pretty
> expensive though your sprinkler timer should be small enough to use
> the free version.
>
> I am not even sure that you can do anything with a webcam and 8535
> except maybe turn it on and off.
>
> Jim Wagner
> Oregon Research Electronics
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

Re: [AVR-Chat] Re: compilator

2010-07-04 by Jim Wagner

On Jul 4, 2010, at 2:48 PM, Donald H wrote:

>
>
> --- In AVR-Chat@yahoogroups.com, "Riccardo Castellani"  
> <ric.castellani@...> wrote:
> >
> > I wish investing on my knowledge, so if you think Winavr is  
> suitable for my
> > 2 projects I'll use it, otherwise I'll buy IAR because I don't  
> want to study
> > winavr to replace it in the future with AIR. What do you think now ?
>
> I use WINAVR for commercial products, so I am sure it will work for  
> you.
>
> But since you have not tired it yet, I think you will need to decide  
> for your self now.
>
> don
>
> Good luck on the webcam project, let us know how it works.
>
>
> 
Many use gcc/WinAVR for commercial development. None of the current  
notable limitations have ANY effect on your chosen controller. The  
significant limitations only effect controllers with (I think it is)  
more than 256K occupied code space.

Jim Wagner
Oregon Research Electronics

[Non-text portions of this message have been removed]

Re: [AVR-Chat] compilator

2010-07-04 by David Kelly

On Jul 4, 2010, at 4:20 PM, Riccardo Castellani wrote:

> I wish investing on my knowledge, so if you think Winavr is suitable for my 
> 2 projects I'll use it, otherwise I'll buy IAR because I don't want to study 
> winavr to replace it in the future with AIR. What do you think now ?


I think if you "study" either one of them and therefore think it is too much bother to study the other some time in the future, that you haven't learned anything at all.

On email lists and forums we see this all the time with AVR users not even willing to consider a PIC or ARM. And vice versa. Is often so bad that 8535 users won't consider AT-Mega parts, never mind the less-than 10,000 quantity price of the the older 8535 is essentially the same as for more capable parts.

I seriously recommend that you revisit your CPU selection looking for an AVR with JTAG or Debug-wire interfaces for on-chip symbolic debugging. Strongly suggest that you study the AVR Dragon and specifically the CPUs that the Dragon supports. The Dragon costs roughly $50. The next step up is $300 and isn't really any better for CPUs that the Dragon supports.

--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Re: compilator

2010-07-05 by stevec

Spend some time reading avrfreaks.net. The forums (including merits of different C compilers), projects section (donated code), products, etc.

I recommend CodeVision AVR, IAR, and if you have NO money, WinAVR that is free with Atmel's AVR studio.  

Your project to work with video on an AVR is overtaxing. Use an ATOM PC on mini-ITX for that. 

--- In AVR-Chat@yahoogroups.com, David Kelly <dkelly@...> wrote:
Show quoted textHide quoted text
>
> 
> On Jul 4, 2010, at 4:20 PM, Riccardo Castellani wrote:
> 
> > I wish investing on my knowledge, so if you think Winavr is suitable for my 
> > 2 projects I'll use it, otherwise I'll buy IAR because I don't want to study 
> > winavr to replace it in the future with AIR. What do you think now ?
> 
> 
> I think if you "study" either one of them and therefore think it is too much bother to study the other some time in the future, that you haven't learned anything at all.
> 
> On email lists and forums we see this all the time with AVR users not even willing to consider a PIC or ARM. And vice versa. Is often so bad that 8535 users won't consider AT-Mega parts, never mind the less-than 10,000 quantity price of the the older 8535 is essentially the same as for more capable parts.
> 
> I seriously recommend that you revisit your CPU selection looking for an AVR with JTAG or Debug-wire interfaces for on-chip symbolic debugging. Strongly suggest that you study the AVR Dragon and specifically the CPUs that the Dragon supports. The Dragon costs roughly $50. The next step up is $300 and isn't really any better for CPUs that the Dragon supports.
> 
> --
> David Kelly N4HHE, dkelly@...
> ========================================================================
> Whom computers would destroy, they must first drive mad.
>

R: [AVR-Chat] compilator

2010-07-05 by ric.castellani@alice.it

>I seriously recommend that you revisit your CPU selection looking for an AVR with JTAG or Debug-wire interfaces for on-chip symbolic debugging.

1- AT-Mega8535 has JTAG or Debug-wire interfaces for on-chip symbolic debugging ?
I have AVR ISP programmer MKII + STK 500 board

2- I'm reading book which say to use CodeVisionAVR Standard compiler (HP InfoTech), what do you think ?

thanks



-----Messaggio originale-----
Da: AVR-Chat@yahoogroups.com per conto di David Kelly
Inviato: lun 05/07/2010 1.26
A: AVR-Chat@yahoogroups.com
Oggetto: Re: [AVR-Chat] compilator
 

On Jul 4, 2010, at 4:20 PM, Riccardo Castellani wrote:

> I wish investing on my knowledge, so if you think Winavr is suitable for my 
> 2 projects I'll use it, otherwise I'll buy IAR because I don't want to study 
> winavr to replace it in the future with AIR. What do you think now ?


I think if you "study" either one of them and therefore think it is too much bother to study the other some time in the future, that you haven't learned anything at all.

On email lists and forums we see this all the time with AVR users not even willing to consider a PIC or ARM. And vice versa. Is often so bad that 8535 users won't consider AT-Mega parts, never mind the less-than 10,000 quantity price of the the older 8535 is essentially the same as for more capable parts.

I seriously recommend that you revisit your CPU selection looking for an AVR with JTAG or Debug-wire interfaces for on-chip symbolic debugging. Strongly suggest that you study the AVR Dragon and specifically the CPUs that the Dragon supports. The Dragon costs roughly $50. The next step up is $300 and isn't really any better for CPUs that the Dragon supports.

--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.





[Non-text portions of this message have been removed]

RE: [AVR-Chat] compilator

2010-07-05 by Dave McLaughlin

If you are willing to spend money on the IAR compiler, I would suggest you
invest in either the AVR Dragon or AVR JTAG ICE Mk2 at the same time. Which
one will depend on the processors you intend to use. 

 

This means you will want to drop the ATMega8353 and consider one of the
later devices with JTAG or debug wire capability. It will be well worth the
upgrade.

 

Using JTAG debugging will save you so much time in trying to figure out what
your code is doing, or not doing.  A friend of mine does all his programming
on the PIC in PICBASIC and no JTAG or ICE and spends about 2-3 times longer
than if he had some kind of in circuit debugger. He has to toggle port pins
in parts of the code just to see if he is reaching that point. With JTAG you
won't have that worry. Believe me, it is well worth the additional cost if
you really want  get into this properly.

 

Dave.
Show quoted textHide quoted text
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Riccardo Castellani
Sent: 05 July 2010 04:21
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] compilator

 

  

I wish investing on my knowledge, so if you think Winavr is suitable for my 
2 projects I'll use it, otherwise I'll buy IAR because I don't want to study

winavr to replace it in the future with AIR. What do you think now ?





[Non-text portions of this message have been removed]

Re: R: [AVR-Chat] compilator

2010-07-05 by David Kelly

On Jul 5, 2010, at 2:46 AM, <ric.castellani@alice.it> wrote:

>> I seriously recommend that you revisit your CPU selection looking for an AVR with JTAG or Debug-wire interfaces for on-chip symbolic debugging.
> 
> 1- AT-Mega8535 has JTAG or Debug-wire interfaces for on-chip symbolic debugging ?
> I have AVR ISP programmer MKII + STK 500 board

I wouldn't have said "revisit your CPU selection" had the 8535 either of the debugging interfaces. You need to learn how to find this sort of thing for yourself: http://www.atmel.com:80/dyn/products/tools_card.asp?tool_id=3891

> 2- I'm reading book which say to use CodeVisionAVR Standard compiler (HP InfoTech), what do you think ?

I think if it is important to you to be able to type examples from the book verbatim into your keyboard then continue with that book and CodeVision. However if the book uses AVR Studio it is very likely you can not get that exact version anymore.

I have been very pleased with WinAVR, even back in the days when it wasn't properly integrated into AVR Studio. Then again, I like Makefiles and do not like undocumented mysterious binary config files which can only be manipulated with a specific version of a GUI application. I hate having to search every corner of a drop-down menu or tab of a dialog box hunting for options and current settings.

--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Re: [AVR-Chat] compilator

2010-07-07 by Riccardo Castellani

Ok, I will drop my old 8535 but what to choose as processor ?
M164p, M324p, M644p or M1284p ?

Can you suggest me a good on line shop  fot buying AVR porogrammer ?
AVR Dragon or AVR JTAG ICE Mk2 ?
Show quoted textHide quoted text
----- Original Message ----- 
From: Dave McLaughlin
To: AVR-Chat@yahoogroups.com
Sent: Monday, July 05, 2010 10:52 AM
Subject: RE: [AVR-Chat] compilator



If you are willing to spend money on the IAR compiler, I would suggest you
invest in either the AVR Dragon or AVR JTAG ICE Mk2 at the same time. Which
one will depend on the processors you intend to use.

This means you will want to drop the ATMega8353 and consider one of the
later devices with JTAG or debug wire capability. It will be well worth the
upgrade.

Using JTAG debugging will save you so much time in trying to figure out what
your code is doing, or not doing. A friend of mine does all his programming
on the PIC in PICBASIC and no JTAG or ICE and spends about 2-3 times longer
than if he had some kind of in circuit debugger. He has to toggle port pins
in parts of the code just to see if he is reaching that point. With JTAG you
won't have that worry. Believe me, it is well worth the additional cost if
you really want get into this properly.

Dave.

From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Riccardo Castellani
Sent: 05 July 2010 04:21
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] compilator

I wish investing on my knowledge, so if you think Winavr is suitable for my
2 projects I'll use it, otherwise I'll buy IAR because I don't want to study

winavr to replace it in the future with AIR. What do you think now ?

[Non-text portions of this message have been removed]

Re: [AVR-Chat] compilator

2010-07-07 by Jim Wagner

Depending on your code size, I would start with a 324. Then upgrade to  
644 if you need. I think availability of 1284 is a bit marginal still  
as it is relatively new.

Jim Wagner
Oregon Research Electronics

On Jul 6, 2010, at 9:44 PM, Riccardo Castellani wrote:

> Ok, I will drop my old 8535 but what to choose as processor ?
> M164p, M324p, M644p or M1284p ?
>
> Can you suggest me a good on line shop fot buying AVR porogrammer ?
> AVR Dragon or AVR JTAG ICE Mk2 ?
>
> ----- Original Message -----
> From: Dave McLaughlin
> To: AVR-Chat@yahoogroups.com
> Sent: Monday, July 05, 2010 10:52 AM
> Subject: RE: [AVR-Chat] compilator
>
> If you are willing to spend money on the IAR compiler, I would  
> suggest you
> invest in either the AVR Dragon or AVR JTAG ICE Mk2 at the same  
> time. Which
> one will depend on the processors you intend to use.
>
> This means you will want to drop the ATMega8353 and consider one of  
> the
> later devices with JTAG or debug wire capability. It will be well  
> worth the
> upgrade.
>
> Using JTAG debugging will save you so much time in trying to figure  
> out what
> your code is doing, or not doing. A friend of mine does all his  
> programming
> on the PIC in PICBASIC and no JTAG or ICE and spends about 2-3 times  
> longer
> than if he had some kind of in circuit debugger. He has to toggle  
> port pins
> in parts of the code just to see if he is reaching that point. With  
> JTAG you
> won't have that worry. Believe me, it is well worth the additional  
> cost if
> you really want get into this properly.
>
> Dave.
>
> From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On  
> Behalf
> Of Riccardo Castellani
> Sent: 05 July 2010 04:21
> To: AVR-Chat@yahoogroups.com
> Subject: Re: [AVR-Chat] compilator
>
> I wish investing on my knowledge, so if you think Winavr is suitable  
> for my
> 2 projects I'll use it, otherwise I'll buy IAR because I don't want  
> to study
>
> winavr to replace it in the future with AIR. What do you think now ?
>
> [Non-text portions of this message have been removed]
>
>
> 



[Non-text portions of this message have been removed]

Re: [AVR-Chat] Re: compilator

2010-07-07 by Riccardo Castellani

1 -If you should give suggestion for your experience, what compiler should 
you choose ?
I think it's important good support, for example in IAR I noted it's 
necessary to select many options for specific processor in drop-down menu.
2- Do you know what compiler has major support in network ?

thanks

Riccardo



----- Original Message ----- 
From: stevec
To: AVR-Chat@yahoogroups.com
Sent: Monday, July 05, 2010 8:20 AM
Subject: [AVR-Chat] Re: compilator




Spend some time reading avrfreaks.net. The forums (including merits of 
different C compilers), projects section (donated code), products, etc.

I recommend CodeVision AVR, IAR, and if you have NO money, WinAVR that is 
free with Atmel's AVR studio.

Your project to work with video on an AVR is overtaxing. Use an ATOM PC on 
mini-ITX for that.

--- In AVR-Chat@yahoogroups.com, David Kelly <dkelly@...> wrote:
Show quoted textHide quoted text
>
>
> On Jul 4, 2010, at 4:20 PM, Riccardo Castellani wrote:
>
> > I wish investing on my knowledge, so if you think Winavr is suitable for 
> > my
> > 2 projects I'll use it, otherwise I'll buy IAR because I don't want to 
> > study
> > winavr to replace it in the future with AIR. What do you think now ?
>
>
> I think if you "study" either one of them and therefore think it is too 
> much bother to study the other some time in the future, that you haven't 
> learned anything at all.
>
> On email lists and forums we see this all the time with AVR users not even 
> willing to consider a PIC or ARM. And vice versa. Is often so bad that 
> 8535 users won't consider AT-Mega parts, never mind the less-than 10,000 
> quantity price of the the older 8535 is essentially the same as for more 
> capable parts.
>
> I seriously recommend that you revisit your CPU selection looking for an 
> AVR with JTAG or Debug-wire interfaces for on-chip symbolic debugging. 
> Strongly suggest that you study the AVR Dragon and specifically the CPUs 
> that the Dragon supports. The Dragon costs roughly $50. The next step up 
> is $300 and isn't really any better for CPUs that the Dragon supports.
>
> --
> David Kelly N4HHE, dkelly@...
> ========================================================================
> Whom computers would destroy, they must first drive mad.
>

Re: [AVR-Chat] Re: compilator

2010-07-07 by Jim Wagner

I would choose gcc, either through WinAVR or Eclipse. Eclipse runs on  
linux, Windows, Mac.

Any compiler will have a drop-down menu with many processor choices.  
After all there are many AVRs. And, there are no one-processor  
compilers. So, every one MUST do many. A long selector menu is no  
problem because you usually make that choice only once when you start  
a new project. Maybe you change if you shift to a larger processor.  
So, once, maybe twice, rarely three times in an entire project. Not a  
big issue.

Jim Wagner
Oregon Research Electronics

On Jul 6, 2010, at 10:05 PM, Riccardo Castellani wrote:

> 1 -If you should give suggestion for your experience, what compiler  
> should
> you choose ?
> I think it's important good support, for example in IAR I noted it's
> necessary to select many options for specific processor in drop-down  
> menu.
> 2- Do you know what compiler has major support in network ?
>
> thanks
>
> Riccardo
>
> ----- Original Message -----
> From: stevec
> To: AVR-Chat@yahoogroups.com
> Sent: Monday, July 05, 2010 8:20 AM
> Subject: [AVR-Chat] Re: compilator
>
> Spend some time reading avrfreaks.net. The forums (including merits of
> different C compilers), projects section (donated code), products,  
> etc.
>
> I recommend CodeVision AVR, IAR, and if you have NO money, WinAVR  
> that is
> free with Atmel's AVR studio.
>
> Your project to work with video on an AVR is overtaxing. Use an ATOM  
> PC on
> mini-ITX for that.
>
> --- In AVR-Chat@yahoogroups.com, David Kelly <dkelly@...> wrote:
> >
> >
> > On Jul 4, 2010, at 4:20 PM, Riccardo Castellani wrote:
> >
> > > I wish investing on my knowledge, so if you think Winavr is  
> suitable for
> > > my
> > > 2 projects I'll use it, otherwise I'll buy IAR because I don't  
> want to
> > > study
> > > winavr to replace it in the future with AIR. What do you think  
> now ?
> >
> >
> > I think if you "study" either one of them and therefore think it  
> is too
> > much bother to study the other some time in the future, that you  
> haven't
> > learned anything at all.
> >
> > On email lists and forums we see this all the time with AVR users  
> not even
> > willing to consider a PIC or ARM. And vice versa. Is often so bad  
> that
> > 8535 users won't consider AT-Mega parts, never mind the less-than  
> 10,000
> > quantity price of the the older 8535 is essentially the same as  
> for more
> > capable parts.
> >
> > I seriously recommend that you revisit your CPU selection looking  
> for an
> > AVR with JTAG or Debug-wire interfaces for on-chip symbolic  
> debugging.
> > Strongly suggest that you study the AVR Dragon and specifically  
> the CPUs
> > that the Dragon supports. The Dragon costs roughly $50. The next  
> step up
> > is $300 and isn't really any better for CPUs that the Dragon  
> supports.
> >
> > --
> > David Kelly N4HHE, dkelly@...
> >  
> = 
> = 
> ======================================================================
> > Whom computers would destroy, they must first drive mad.
> >
>
>
> 



[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.