Yahoo Groups archive

AVR-Chat

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

Thread

eclipse and avr-gcc?

eclipse and avr-gcc?

2005-10-19 by Dennis Clark

Hi all,

  I must admit that I'm spoiled on using an IDE for my development.  I 
used to do everything the "three window" method, even java, but after
using even indifferent IDE's I admit to liking the organization.  I 
found the Eclipse project and downloaded that and the C/C++ IDE 
features, but I'm baffled as to how to configure them.  I'm pretty 
sure that you can set eclipse up to use the avr tool chain in the IDE,
it is really configurable, but I've not found the silver bullet doc
that explains how to do it.
  With that lead in, can anyone point me to some help on using eclipse
with avr-gcc?  I have the avr-gcc environment on my system working just
fine right now - I'd just like to get it and avrdude integrated into 
eclipse to see how fun it is.

Any avr-gcc/eclipse hackers out there want to stand up and tell me how
silly I am to not know that?  (yeah, it is a bit dumb, but I ain't too
proud to ask for help!)

thanks all,
DLC

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-19 by John Samperi

At 01:08 PM 19/10/2005, you wrote:
>   With that lead in, can anyone point me to some help on using eclipse
>with avr-gcc?  I have the avr-gcc environment on my system working just
>fine right now - I'd just like to get it and avrdude integrated into
>eclipse to see how fun it is.

Have you looked at the new AVR Studio 4.12 with avr-gcc built in yet?


Regards

John Samperi

******************************************************
                         Ampertronics Pty. Ltd.
   11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
          Tel. (02) 9674-6495       Fax (02) 9674-8745
                Email: samperi@ampertronics.com.au
                  Website  http://www.ampertronics.com.au
* Electronic Design   * Custom Products   * Contract Assembly
******************************************************

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-19 by Bernd Felsche

On Wednesday 19 October 2005 11:08, Dennis Clark wrote:
> I must admit that I'm spoiled on using an IDE for my development.
> I used to do everything the "three window" method, even java, but
> after using even indifferent IDE's I admit to liking the
> organization.  I found the Eclipse project and downloaded that and
> the C/C++ IDE features, but I'm baffled as to how to configure
> them.  I'm pretty sure that you can set eclipse up to use the avr
> tool chain in the IDE, it is really configurable, but I've not
> found the silver bullet doc that explains how to do it.

Maybe this will help:
	http://homepage.hispeed.ch/py430/mspgcc/
(Windosey but it's still Eclipse) 

Also
	http://www.mikrocontroller.net/forum/list-2-1.html?filter=eclipse
is a German-language forum with some threads on the subject. One of
the threads referred to
http://www.olimex.com/dev/pdf/ARM%20Cross%20Development%20with%20Eclipse.pdf
which deals with an ARM target, but should be similar.

I'm just starting to use Eclipse, so that's about the limit of my
"expertise" for now.

-- 
/"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
\ /  ASCII ribbon campaign | Economist	\E*con"o*mist\, n.
 X   against HTML mail     | One with a ready explanation as to why
/ \  and postings          | his last prediction was so wrong

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-19 by Kevin

John Samperi wrote:
> At 01:08 PM 19/10/2005, you wrote:
> 
>>  With that lead in, can anyone point me to some help on using eclipse
>>with avr-gcc?  I have the avr-gcc environment on my system working just
>>fine right now - I'd just like to get it and avrdude integrated into
>>eclipse to see how fun it is.
> 
> 
> Have you looked at the new AVR Studio 4.12 with avr-gcc built in yet?
>  

   Unless they've released on the Mac, I'm afraid I'm not too likely to 
get it to run...

DLC

> Regards
> 
> John Samperi
> 
> ******************************************************
>                          Ampertronics Pty. Ltd.
>    11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
>           Tel. (02) 9674-6495       Fax (02) 9674-8745
>                 Email: samperi@ampertronics.com.au
>                   Website  http://www.ampertronics.com.au
> * Electronic Design   * Custom Products   * Contract Assembly
> ******************************************************
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 

-- 
-------------------------------------------------
Dennis Clark          TTT Enterprises
www.techtoystoday.com
-------------------------------------------------

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-19 by Kevin

John Samperi wrote:
> At 01:08 PM 19/10/2005, you wrote:
> 
>>  With that lead in, can anyone point me to some help on using eclipse
>>with avr-gcc?  I have the avr-gcc environment on my system working just
>>fine right now - I'd just like to get it and avrdude integrated into
>>eclipse to see how fun it is.
> 
> 
> Have you looked at the new AVR Studio 4.12 with avr-gcc built in yet?
>  

   Unless they've released on the Mac, I'm afraid I'm not too likely to
get it to run...

DLC

> Regards
> 
> John Samperi
> 
> ******************************************************
>                          Ampertronics Pty. Ltd.
>    11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
>           Tel. (02) 9674-6495       Fax (02) 9674-8745
>                 Email: samperi@ampertronics.com.au
>                   Website  http://www.ampertronics.com.au
> * Electronic Design   * Custom Products   * Contract Assembly
> ******************************************************
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 

-- 
-------------------------------------------------
Dennis Clark          TTT Enterprises
www.techtoystoday.com
-------------------------------------------------

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-19 by John Samperi

At 01:41 PM 19/10/2005, you wrote:
>    Unless they've released on the Mac, I'm afraid I'm not too likely to
>get it to run...

OK I get the message :-)


Regards

John Samperi

******************************************************
                         Ampertronics Pty. Ltd.
   11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
          Tel. (02) 9674-6495       Fax (02) 9674-8745
                Email: samperi@ampertronics.com.au
                  Website  http://www.ampertronics.com.au
* Electronic Design   * Custom Products   * Contract Assembly
******************************************************

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-19 by Thomas Keller

On Tue, 2005-10-18 at 21:41 -0600, Kevin wrote:
> John Samperi wrote:
> > At 01:08 PM 19/10/2005, you wrote: 
> >>  With that lead in, can anyone point me to some help on using
> >>eclipse with avr-gcc?  I have the avr-gcc environment on my system
> >>working just fine right now - I'd just like to get it and avrdude
> >>integrated into eclipse to see how fun it is. 
> > Have you looked at the new AVR Studio 4.12 with avr-gcc built in
> >yet?
>    Unless they've released on the Mac, I'm afraid I'm not too likely
> to get it to run...

  In point of fact, unless you are a slave to Billy Boy Gates and His
crew of Crapware Developers, you won't get it to run at all.

Tom

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-19 by Dennis Clark

Thomas Keller wrote:
> On Tue, 2005-10-18 at 21:41 -0600, Kevin wrote:
> 
>>John Samperi wrote:
>>
>>>At 01:08 PM 19/10/2005, you wrote: 
>>>
>>>> With that lead in, can anyone point me to some help on using
>>>>eclipse with avr-gcc?  I have the avr-gcc environment on my system
>>>>working just fine right now - I'd just like to get it and avrdude
>>>>integrated into eclipse to see how fun it is. 
>>>
>>>Have you looked at the new AVR Studio 4.12 with avr-gcc built in
>>>yet?
>>
>>   Unless they've released on the Mac, I'm afraid I'm not too likely
>>to get it to run...
> 
> 
>   In point of fact, unless you are a slave to Billy Boy Gates and His
> crew of Crapware Developers, you won't get it to run at all.
> 
> Tom

   Now, now, admit it.  The only reason you hate Mr. Gates is that he 
got there first and got rich!  I have nothing but respect for his 
marketing acumin.  His business ethics may leave a bit to complain 
about, but hardly more than GM or Firestone, or just about every big 
company out there.

   I however like my Mac and the OS X UNIX interface.  So, back to the 
question:  Eclipse and avr-gcc integration?

thanks,
DLC


-- 
---------------------------------------
Dennis Clark    TTT Enterprises
---------------------------------------

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-19 by Thomas Keller

On Wed, 2005-10-19 at 14:31 -0700, Dennis Clark wrote:
> Thomas Keller wrote:
> > On Tue, 2005-10-18 at 21:41 -0600, Kevin wrote: 
> >>John Samperi wrote
> >>>At 01:08 PM 19/10/2005, you wrote: 
> >>>> With that lead in, can anyone point me to some help on using
> >>>>eclipse with avr-gcc?  I have the avr-gcc environment on my system
> >>>>working just fine right now - I'd just like to get it and avrdude
> >>>>integrated into eclipse to see how fun it is. 
> >>>Have you looked at the new AVR Studio 4.12 with avr-gcc built in
> >>>yet?
> >>   Unless they've released on the Mac, I'm afraid I'm not too likely
> >>to get it to run...
> >   In point of fact, unless you are a slave to Billy Boy Gates and
> His crew of Crapware Developers, you won't get it to run at all.
>    Now, now, admit it.  The only reason you hate Mr. Gates is that he 
> got there first and got rich!  

  I will admit nothing of the sort.   I met Bill Gates before he
incorporated Microsoft, and I found him odious and irritating then, as
well.  Not to mention the fact that the on;ly reason Microsoft survived
its first year of existence is that Biully Boy's mommy and daddy are big
time attornies, whjo were able to intimidate numerous other hobyistsa
out of competing with their baby bouy and his precious BASIC interpreter
(which he stole frojm Harvard, and had no valid copyright claim on).

> I have nothing but respect for his marketing acumin.  

  I have no respect for him, his "acumen," or his products.

> His business ethics may leave a bit to complain 
> about, but hardly more than GM or Firestone, or just about every big 
> company out there.

  None of those companies represent a monopoly, nor are any of them as
guilty of stealing products, sellin g absolute CRAP to the public, and
grossly overcharging for same (tot he same extent, in any case).  but
you do have a point, business in the USA is a complete quagmire of
unethical behaviour and self-servbing executives.

>    I however like my Mac and the OS X UNIX interface.  So, back to the
> question:  Eclipse and avr-gcc integration?

   Actually, I don't much care for Macs either, but for entirely
different (and mostly technical) reasons. Of course, Jobs' elitist
attitudes about computing platforms doesn't help my opinion of the
platform or the company much. 

   But, as you implied, thus is off topic...back to AVRs

Tom

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-20 by Kevin

Humph.

Thomas Keller wrote:
> On Wed, 2005-10-19 at 14:31 -0700, Dennis Clark wrote:
> 
>>Thomas Keller wrote:
>>
>>>On Tue, 2005-10-18 at 21:41 -0600, Kevin wrote: 
>>>
>>>>John Samperi wrote
>>>>
>>>>>At 01:08 PM 19/10/2005, you wrote: 
>>>>>
>>>>>>With that lead in, can anyone point me to some help on using
>>>>>>eclipse with avr-gcc?  I have the avr-gcc environment on my system
>>>>>>working just fine right now - I'd just like to get it and avrdude
>>>>>>integrated into eclipse to see how fun it is. 
>>>>>
>>>>>Have you looked at the new AVR Studio 4.12 with avr-gcc built in
>>>>>yet?
>>>>
>>>>  Unless they've released on the Mac, I'm afraid I'm not too likely
>>>>to get it to run...
>>>
>>>  In point of fact, unless you are a slave to Billy Boy Gates and
>>
>>His crew of Crapware Developers, you won't get it to run at all.
>>   Now, now, admit it.  The only reason you hate Mr. Gates is that he 
>>got there first and got rich!  
> 
> 
>   I will admit nothing of the sort.   I met Bill Gates before he
> incorporated Microsoft, and I found him odious and irritating then, as
> well.  Not to mention the fact that the on;ly reason Microsoft survived
> its first year of existence is that Biully Boy's mommy and daddy are big
> time attornies, whjo were able to intimidate numerous other hobyistsa
> out of competing with their baby bouy and his precious BASIC interpreter
> (which he stole frojm Harvard, and had no valid copyright claim on).

   Which, according to the record he bought the license to from an 
ailing CPM company.  Have a care with hearsay and slander.  Sounds like 
sour grapes to me.

> 
>>I have nothing but respect for his marketing acumin.  
> 
> 
>   I have no respect for him, his "acumen," or his products.

Everyone is entitled to their own opinion.

> 
>>His business ethics may leave a bit to complain 
>>about, but hardly more than GM or Firestone, or just about every big 
>>company out there.
> 
> 
>   None of those companies represent a monopoly, nor are any of them as
> guilty of stealing products, sellin g absolute CRAP to the public, and
> grossly overcharging for same (tot he same extent, in any case).  but
> you do have a point, business in the USA is a complete quagmire of
> unethical behaviour and self-servbing executives.

   Oh really?  Read up.  GM and Firestone conspired to buy up all of the 
street cars, scrap them and get cities to buy Bluebird buses with 
Firestone tires on them.  When they were found guilty of restraint of 
trade practices the court fined them $1.  Sounds like a monopolistic 
attack to me.  There is no shortage of creeps out there.

> 
>>   I however like my Mac and the OS X UNIX interface.  So, back to the
>>question:  Eclipse and avr-gcc integration?
> 
> 
>    Actually, I don't much care for Macs either, but for entirely
> different (and mostly technical) reasons. Of course, Jobs' elitist
> attitudes about computing platforms doesn't help my opinion of the
> platform or the company much. 

Again, sour grapes.  I don't like Windows, but I don't like it because 
it smothers innovation and forces mediocrity - And it doesn't seen to 
work very well.  But the masses have spoken, they like having their 
hands held and everything being the same.  So be it, they can have it.

>    But, as you implied, thus is off topic...back to AVRs


OK.

DLC

> Tom

-- 
-------------------------------------------------
Dennis Clark          TTT Enterprises
www.techtoystoday.com
-------------------------------------------------

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-20 by Kevin

Bummer,

   I couldn't find anything I could use there.  I guess that I'll have 
to dig into the docs to get anywhere with this one.  It oughta work!

DLC

Bernd Felsche wrote:
> On Wednesday 19 October 2005 11:08, Dennis Clark wrote:
> 
>>I must admit that I'm spoiled on using an IDE for my development.
>>I used to do everything the "three window" method, even java, but
>>after using even indifferent IDE's I admit to liking the
>>organization.  I found the Eclipse project and downloaded that and
>>the C/C++ IDE features, but I'm baffled as to how to configure
>>them.  I'm pretty sure that you can set eclipse up to use the avr
>>tool chain in the IDE, it is really configurable, but I've not
>>found the silver bullet doc that explains how to do it.
> 
> 
> Maybe this will help:
> 	http://homepage.hispeed.ch/py430/mspgcc/
> (Windosey but it's still Eclipse) 
> 
> Also
> 	http://www.mikrocontroller.net/forum/list-2-1.html?filter=eclipse
> is a German-language forum with some threads on the subject. One of
> the threads referred to
> http://www.olimex.com/dev/pdf/ARM%20Cross%20Development%20with%20Eclipse.pdf
> which deals with an ARM target, but should be similar.
> 
> I'm just starting to use Eclipse, so that's about the limit of my
> "expertise" for now.
> 

-- 
-------------------------------------------------
Dennis Clark          TTT Enterprises
www.techtoystoday.com
-------------------------------------------------

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-20 by Thomas Keller

On Wed, 2005-10-19 at 21:13 -0600, Kevin wrote:
> >>   Now, now, admit it.  The only reason you hate Mr. Gates is that
> >>he got there first and got rich!  
> >   I will admit nothing of the sort.   I met Bill Gates before he
> > incorporated Microsoft, and I found him odious and irritating then,
> > as well.  Not to mention the fact that the on;ly reason Microsoft >
> >survived its first year of existence is that Biully Boy's mommy and
> >daddy are big time attornies, whjo were able to intimidate numerous
> >other hobyists a out of competing with their baby bouy and his
> >precious BASIC interpreter (which he stole frojm Harvard, and had no
> >valid copyright claim on).
>    Which, according to the record he bought the license to from an 
> ailing CPM company.  Have a care with hearsay and slander.  Sounds
> like sour grapes to me.

   *** BBZZZZZZTTTTTT ***   Wrong Answer!  Would you care to play again?

   BASIC was invented and devewloped at Harvard University (I apologize
for nbot inclkuding the name of the Computer Sciences professor who
invented it,. my memory fails me on that detail) and was in the Public
Domain.  That is why Bill Gates had NO right to a copyright on it.

   What Bill Gates *DID* Buy was a 16 bit version of CP/M from Seattle
Microcomputer Works (Tom ? (again, my memory fails on the name detail).
His purchjase of that license spoecifically **DID NOT** include the
right to distribute, nor to market derivative works.  He and Steve
Ballmer nisrepresented themselvesx when purchasing it (for $10,000),
claimng they were purchasing it for "research purposes" only.

   Mickey$hit turned around and marketed that O/S to IBM with virtually
ZERO modifications as MS/DOS V1.0.  Tom <?> from Seattle Microcomputer
Works attempted to intervene and proitect his copyright, but lacked the
financial resources to go up against Billy Boy's high powered attorney
parents (who cost Billy Boy NOTHING).  Which was precisely the same kind
of thing that happened to every hobyist who attempted tyo put a BASIC
interpreter for the 8080 on the market. Billy Boy's parents threatened
them with lawsuits, and they, lacking the reources to fight such
battles, retreated from the field.

   If you're going to try to throw history at me, make sure you have
tyhe history RIGHT, first!!]

> >>I have nothing but respect for his marketing acumin.  
> >   I have no respect for him, his "acumen," or his products.
> Everyone is entitled to their own opinion.

  Thank you.
 
> >>His business ethics may leave a bit to complain 
> >>about, but hardly more than GM or Firestone, or just about every big
> >>company out there.
> >   None of those companies represent a monopoly, nor are any of them
> >as guilty of stealing products, sellin g absolute CRAP to the public,
> >and grossly overcharging for same (tot he same extent, in any case).
> >but you do have a point, business in the USA is a complete quagmire
> >of unethical behaviour and self-servbing executives.
>    Oh really?  Read up.  GM and Firestone conspired to buy up all of
> the street cars, scrap them and get cities to buy Bluebird buses with 
> Firestone tires on them.  When they were found guilty of restraint of 
> trade practices the court fined them $1.  Sounds like a monopolistic 
> attack to me.  There is no shortage of creeps out there.

  This is true. You have your history right on this one!   But, they
weren';t looking to create a monopoly. once they had convertedf a city
ffrom what is now known as "light rail," or what was known at that time
as "interurban rail," they sold the transportation companies off again,
often to the local municipality (leaving them, of course, totally diesel
bus-ified, and dependent upon them for parts and replacement vehicles).

  While reprehensible, not at all the same thing Billy Boy and Mickey
$hit are  doing.

> >>   I however like my Mac and the OS X UNIX interface.  So, back to
> the question:  Eclipse and avr-gcc integration.
> >    Actually, I don't much care for Macs either, but for entirely
> > different (and mostly technical) reasons. Of course, Jobs' elitist
> > attitudes about computing platforms doesn't help my opinion of the
> > platform or the company much. 
> Again, sour grapes. 

   Bull puckey!   I was a recipient of a pre-produciton sample of an
MC68000  microprocessoir at about the same time that Apple Computer
received their pre-production samples.  I was so impressed with the
archi8tecture (which wasn't perfect, but was so far advanced over the
x86 crap as to be totally amazing) that my nick on the intra-state
computer chat system we had on the California State University and
College staste-wdie timesharing computers was "68000Micronut."  When
Apple began hinting around about their new design, and let it be known
it was to be based on the 68K, I was thirlled.  Unitl I saw the design
and architecture of the machine.  What a loser!

   To biegin with, Apple, the company who had, for all practical
purposes INVENTed colro computing (for the consuemr, at the v ery
least), had gone with a MONOCHROME display!  *ugh*   Further more, and
much worse, it was a 9" (diagonal) display!  What kind of stupidity was
THIS???

   Furthermore, they burdened it with a crummy GUI (granted, it was the
first commercial GUI marketed., and revolutionary in its way, but it
*SUCKED*, not the least of which because it had a freaking ONE BUTTON
(!?!) MOUSE!!!!)

   The original MAC was painfully slow, even in comnparison to 8 bit, 4
Mhz 8080 or Z80 systems of the day. Why?  All that GUI crapola!   Here
you had a 16 bit, 6 Mhz processor working slower than an 8 bit, 4 Mhz
processor.  Dumb, and wasteful.

   Once the mach8ines hit the market, other serious weaknesses came to
light.  The file system on the thier floppies (and at that point,
flopies were the ONLY choice) was so fragile that a flopy diskette could
become unreadable simple by being removed from the drive, and
reinserted.  Flopies that had been out of the machine for any length of
time were fairly likely to be unreadable (though not, fortunately for
the users, necessarily unrecoverable)  The final insule was thr price.  

  Macs were ASTRONOMICALLY expensive!  Jobs deliberately targetted the
"upscale" Yuppie market with the Mac, and priced it accordingly.  This
odious pricing model continued until fairly reecently, when it became
patentl;y obvious that if the Mac didn't drop toward price point parity
with the PC, the MAc would simply disappear fropm the market altogether.
There were a few years thgere where many m,arket watchers were quite
convinced that Apple woudl go belly up.  Fortunately, they didn't.

  Why fortunately?  I dislike the Mac, and I dislike Apple Computer
Corp. the way Jobns runs it, but Aple was a pioneer in the personal
computer market, and, in ded, I honestly suspect that had Apple not
existed, IBM would not have developed the PC anywhere near as soon as
they did, if ever.

  IBM only developed the PC after they saw small and medium sized
businesses starting to use Apple ][s in their offices.  Let us be
perfectly clear about this: IBM did NOT envision, and certainnoly never
targetted the consumer market for personal computers.  Their markting
target was commercial computing, period.   The name "Personal Computer"
was in reference to the fact that only a single individiual was using
the system.

   Look at the pricing of the original PC, to prove the point.  $6,000
for a 4.77 Mhz "16 bit" machine (with an 8 bit data bus) that had but 16
K bytes (not Megabytes, but KILObytes) of RAM, no videop of any kind
(video adapters and monitors were extra cost add-ons (??)), and a
single, SSSD flopydisk drive that was slower than molasses in January.
A fully decked out system wiuth a monochrome video screen and a second
floppy disk drive, and enoug memory to actually *DO* something with
cam,e in at over $8500, retail.  Hardly a product targeted to the masses
(especially conmsidering that this wqas in 1981...what does that $8500
look like today?  something like $20K!!).


>  I don't like Windows, but I don't like it because it smothers
> innovation and forces mediocrity - And it doesn't seem to 
> work very well.  But the masses have spoken, they like having their 
> hands held and everything being the same.  So be it, they can have it.

   I absolutely agree.  I also, however, find their business practices
and their pricing structure opdious and ehtically indefensible.

> >    But, as you implied, thus is off topic...back to AVRs

   One can certianly hope.   *grin*

Tom

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-20 by erikc

Thomas Keller wrote:

[===]

>    Bull puckey!   I was a recipient of a pre-produciton sample of an
> MC68000  microprocessoir at about the same time that Apple Computer
> received their pre-production samples.  I was so impressed with the
> archi8tecture (which wasn't perfect, but was so far advanced over the
> x86 crap as to be totally amazing) that my nick on the intra-state
> computer chat system we had on the California State University and
> College staste-wdie timesharing computers was "68000Micronut."  When
> Apple began hinting around about their new design, and let it be known
> it was to be based on the 68K, I was thirlled.  Unitl I saw the design
> and architecture of the machine.  What a loser!

Gotta toss in my two cents worth.  Back when the 68000 and the 8086 were 
coming out, I had to decide on which part to use in a product my company 
was working on.  I had the both manuals on my desk; the Motorola one was 
fairly slender compared to the Intel one.  (like 100 pages vs 350 pages 
IIRC).  At first, I thought the Moto manual was either a preliminary or 
that they left something out, but on study, I discovered that the 
slender Moto manual contained 100% of the information I needed to apply 
the 68000 in a circuit and also to write demo code for my boss.  Whereas 
the intel manual left stuff out that I had to get from _another_ Intel book.

Oh, let's not forget the flat addressing space and the (almost) 
orthogonal instruction set that Moto used compared to Intel's 
segment:offset bullshit and baroque instruction set.  Think 8080 on 
steroids.  (I don't think Intel knows how to make a decent instruction set.)

At any rate, my bosses did the smart thing for once and went with the 
68000 and the product was a success.  Although I no longer work there, I 
understand they are using the 68000's successors (Coldfire, I think they 
call it).

erikc

RE: [AVR-Chat] eclipse and avr-gcc?

2005-10-21 by stevech

I think it's commonly accepted that IBM went with the Intel CPU for market
timing reasons - to hit the Christmas market window. The 8080 and DOS were
there but Moto was 6 months behind. If they had not been so, things may have
gone much differently. IMHO, PC OSes would have become stable and user
friendly several years sooner had it not struggled with the horrible banked
memory non-linear addressing and goofy register set architecture of the
8080, an 8008 successor.

But, VisiCalc, which I say "MADE" PCs happen, ran OK none the less, and ran
on Apples too.
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of erikc
Sent: Thursday, October 20, 2005 9:32 AM
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] eclipse and avr-gcc?

Thomas Keller wrote:

[===]

>    Bull puckey!   I was a recipient of a pre-produciton sample of an
> MC68000  microprocessoir at about the same time that Apple Computer
> received their pre-production samples.  I was so impressed with the
> archi8tecture (which wasn't perfect, but was so far advanced over the
> x86 crap as to be totally amazing) that my nick on the intra-state
> computer chat system we had on the California State University and
> College staste-wdie timesharing computers was "68000Micronut."  When
> Apple began hinting around about their new design, and let it be known
> it was to be based on the 68K, I was thirlled.  Unitl I saw the design
> and architecture of the machine.  What a loser!

Gotta toss in my two cents worth.  Back when the 68000 and the 8086 were 
coming out, I had to decide on which part to use in a product my company 
was working on.  I had the both manuals on my desk; the Motorola one was 
fairly slender compared to the Intel one.  (like 100 pages vs 350 pages 
IIRC).  At first, I thought the Moto manual was either a preliminary or 
that they left something out, but on study, I discovered that the 
slender Moto manual contained 100% of the information I needed to apply 
the 68000 in a circuit and also to write demo code for my boss.  Whereas 
the intel manual left stuff out that I had to get from _another_ Intel book.

Oh, let's not forget the flat addressing space and the (almost) 
orthogonal instruction set that Moto used compared to Intel's 
segment:offset bullshit and baroque instruction set.  Think 8080 on 
steroids.  (I don't think Intel knows how to make a decent instruction set.)

At any rate, my bosses did the smart thing for once and went with the 
68000 and the product was a success.  Although I no longer work there, I 
understand they are using the 68000's successors (Coldfire, I think they 
call it).

erikc




 
Yahoo! Groups Links

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-21 by John Altstadt

stevech wrote:
> I think it's commonly accepted that IBM went with the Intel CPU for market
> timing reasons - to hit the Christmas market window.

That isn't commonly accepted on this planet. Perhaps in some alternate 
universe. I have heard the following information from multiple sources, 
some of whom were working at IBM at the time.

The Intel processor was chosen solely on the basis that Intel was 
willing to license AMD as a second source. Motorola wasn't willing to 
let anybody else make their CPU at the time. Two out of the three IBM 
groups designing a "PC" had used the MC68000 in their design, but IBM 
(like the military) was more worried about second source issues than 
they were about performance, so the IBM-Intel design group won out with 
their inferior design.

I don't think IBM even had the concept of a Christmas market window, 
especially considering that they didn't expect to actually sell any of 
these "personal computers" they had created. They were looking at the 
market that was looking for a little more intelligent 8250 (is that the 
right model number? (I used them but I don't recall the label they had 
on them)) terminal.

> The 8080 and DOS were
> there but Moto was 6 months behind.

Motorola was not six months behind, they just didn't want to license a 
second source supplier. Two of the three groups coming up with the 
design for the first IBM personal computer were using the 68k.

The group I designed a computer with for a final project in university 
used a 68k for the CPU. I think I might have noticed if we had paid $118 
for something that didn't actually exist at the time.

I have no problems with the rest of your mail except...

> If they had not been so, things may have
> gone much differently. IMHO, PC OSes would have become stable and user
> friendly several years sooner had it not struggled with the horrible banked
> memory non-linear addressing and goofy register set architecture of the
> 8080, an 8008 successor.

You have to admit that the 8086 architecture was pretty cool for minix. 
64K+64K split I and D space made for a very reliable Unix-like 
architecture at a time when memory protection didn't really exist in 
other microprocessor systems. Of course, 64K doesn't leave much room for 
very interesting problem sets, but way back then, 64K was still pretty 
big for many computing problems. (We are discussing this on an AVR forum 
after all.) As I recall, cc was a cheat which couldn't actually be 
compiled on a minix box, so it was only ever supplied as a binary.

On the other hand, I first ran minix on an Atari 520 ST, so I started 
without memory protection...

At roughly the same time, Sun was making workstations with a pair of 
MC68000 processors, one running a clock cycle behind the other. Whenever 
there was a page fault on the one running ahead, the second would be 
halted while the first would fix the fault. Then the second would become 
the primary processor until the next page fault, whereupon they would 
flip again.

Then Motorola released the 68010 that fixed the page fault issue.

Then Sun decided to design their own processors.

> But, VisiCalc, which I say "MADE" PCs happen, ran OK none the less, and ran
> on Apples too.

John (who is feeling old and crotchety today, realizing that he has 
lived through more than two thirds of digital computer history and 
worked through more than a third of it (and being paid to learn a new 
language right now, so it's not all bad))

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-21 by David Kelly

On Oct 20, 2005, at 8:22 PM, stevech wrote:

> I think it's commonly accepted that IBM went with the Intel CPU for  
> market
> timing reasons - to hit the Christmas market window. The 8080 and  
> DOS were
> there but Moto was 6 months behind.

Had IBM invented the automobile the controls would have been horse- 
compatible. Same applies to desktop computers. CP/M, 8080, and Z-80  
were already established. IBM didn't have the imagination to do  
anything different, just bigger. So it was to be 8088. People forget  
that the IBM-PC originally shipped with 4 OS choices. IBM wanted to  
be everything to everyone. And remain horse-compatible.

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

RE: [AVR-Chat] eclipse and avr-gcc?

2005-10-21 by Larry Barello

Gee, I guess being horse compatible won.  Say, isn't that how Microsoft won
as well?

-----------
Larry Barello
www.barello.net


| -----Original Message-----
| From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
| Of David Kelly
| Sent: Thursday, October 20, 2005 9:41 PM
| To: AVR-Chat@yahoogroups.com
| Subject: Re: [AVR-Chat] eclipse and avr-gcc?
| 
| 
| On Oct 20, 2005, at 8:22 PM, stevech wrote:
| 
| > I think it's commonly accepted that IBM went with the Intel CPU for
| > market
| > timing reasons - to hit the Christmas market window. The 8080 and
| > DOS were
| > there but Moto was 6 months behind.
| 
| Had IBM invented the automobile the controls would have been horse-
| compatible. Same applies to desktop computers. CP/M, 8080, and Z-80
| were already established. IBM didn't have the imagination to do
| anything different, just bigger. So it was to be 8088. People forget
| that the IBM-PC originally shipped with 4 OS choices. IBM wanted to
| be everything to everyone. And remain horse-compatible.

RE: [AVR-Chat] eclipse and avr-gcc?

2005-10-21 by stevech

"The Genius is not the engineering - - it's the marketing."
Unfortunately.
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Larry Barello
Sent: Thursday, October 20, 2005 9:49 PM
To: AVR-Chat@yahoogroups.com
Subject: RE: [AVR-Chat] eclipse and avr-gcc?

Gee, I guess being horse compatible won.  Say, isn't that how Microsoft won
as well?

-----------
Larry Barello
www.barello.net


| -----Original Message-----
| From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
| Of David Kelly
| Sent: Thursday, October 20, 2005 9:41 PM
| To: AVR-Chat@yahoogroups.com
| Subject: Re: [AVR-Chat] eclipse and avr-gcc?
| 
| 
| On Oct 20, 2005, at 8:22 PM, stevech wrote:
| 
| > I think it's commonly accepted that IBM went with the Intel CPU for
| > market
| > timing reasons - to hit the Christmas market window. The 8080 and
| > DOS were
| > there but Moto was 6 months behind.
| 
| Had IBM invented the automobile the controls would have been horse-
| compatible. Same applies to desktop computers. CP/M, 8080, and Z-80
| were already established. IBM didn't have the imagination to do
| anything different, just bigger. So it was to be 8088. People forget
| that the IBM-PC originally shipped with 4 OS choices. IBM wanted to
| be everything to everyone. And remain horse-compatible.




 
Yahoo! Groups Links

Re: [AVR-Chat] eclipse and avr-gcc?

2005-10-21 by David Kelly

On Oct 20, 2005, at 11:23 PM, John Altstadt wrote:
>
> stevech wrote:
>
>> But, VisiCalc, which I say "MADE" PCs happen, ran OK none the  
>> less, and ran
>> on Apples too.
>
> John (who is feeling old and crotchety today, realizing that he has
> lived through more than two thirds of digital computer history and
> worked through more than a third of it (and being paid to learn a new
> language right now, so it's not all bad))

Thought I'd let someone else speak up and correct stevech but  
VisiCalc shipped on Apple ][ *first*. It was some time later before  
it shipped on PC.

Clearly if we are to be treated with any respect we need a VC port to  
AVR...  :-)

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

sensor connection

2005-10-22 by pinky elodia

hi
i got a question, can i build multiple sensor using
one microcontroller (ATmega128).thinking of using 2
analog sensor. can i use 4 input adc for 4 sensor?


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

RE: [AVR-Chat] eclipse and avr-gcc?

2005-10-22 by Thomas Keller

On Fri, 2005-10-21 at 19:27 -0700, stevech wrote:
> It's good that we can allow for multiple universes.

  I don't know about "good," but it is mathematically NECESSARY.

Tom

Re: [AVR-Chat] sensor connection

2005-10-22 by Thomas Keller

On Sat, 2005-10-22 at 01:30 -0700, pinky elodia wrote:
> i got a question, can i build multiple sensor using
> one microcontroller (ATmega128).thinking of using 2
> analog sensor. can i use 4 input adc for 4 sensor?

  Absolutely!  You have to keep the "gotcha's" in mind, however:

1)  the maximum update rate for the sensors (assuming that you read them
sequentially) is going to be 1/4 of the maximum update rate of the ADC
on the chip (because you are sharing the ADC between 4 inputs).

2)  the switching of the multiplexer can cause additional noise in your
readings, as well as prohibiting the use of the noise canceling sleep
mode (strictly speaking, you COULD still use it, but it would reduce the
maximum number of updates per second, as you would have to expend time
setting and iunsetting ther sleep mode between each update).

   If you don't need to update your sensor readings very often (say, if
10 or 100 (or possibly even 1000) readings per second per sensor is
adequate) then there should be no problems, even if you want to use the
noise cancelling mode.

   As always, someone who has more direct experience with this specific
issue is welcome and encouraged to correct me if I am mistaken.

Tom

RE: [AVR-Chat] sensor connection

2005-10-22 by Larry Barello

That brings up a question: Does anyone use the noise cancelling mode and
does it make a significant difference?  How much of a difference?

-----------
Larry Barello
www.barello.net


| -----Original Message-----
| From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
| Of Thomas Keller
...
| 
| 2)  the switching of the multiplexer can cause additional noise in your
| readings, as well as prohibiting the use of the noise canceling sleep
| mode (strictly speaking, you COULD still use it, but it would reduce the
| maximum number of updates per second, as you would have to expend time
| setting and iunsetting ther sleep mode between each update).
| 
|    If you don't need to update your sensor readings very often (say, if
| 10 or 100 (or possibly even 1000) readings per second per sensor is
| adequate) then there should be no problems, even if you want to use the
| noise cancelling mode.
| 
|    As always, someone who has more direct experience with this specific
| issue is welcome and encouraged to correct me if I am mistaken.

RE: [AVR-Chat] sensor connection

2005-10-22 by Thomas Keller

On Sat, 2005-10-22 at 10:22 -0700, Larry Barello wrote:
> That brings up a question: Does anyone use the noise cancelling mode
> and
> does it make a significant difference?  How much of a difference?

  I cannot claim to have actuallyused the mode, but as I understand the
literature, I would expect it to maske  a fairly significant difference
for fine measurements. It essentially shuts down the remainder of the
digital circutiry on the chip, reducing the switching noise on the
internal Vcc bus (as well as on the reference voltage).

Tom

RE: [AVR-Chat] sensor connection

2005-10-22 by MuRaT KaRaDeNiZ

Hello all,
On a model with separate analog gnd, analog power supply pins, i would expect from a chip proper operation for the stated ADC resolution. why there is a need for such a mode, if it is inevitable to enter such a mode for real 10bit, it is still fare to call the ADC peripheral 10bit?
Also I find something strange in the datasheet of the new ATmega164/324/644 devices, it is stated that, if the differential inputs with gain block are used, and 1x or 10x gain is selected, 8bit resolution can be expected and if 200x gain is selected, 7bit resolution can be expexted.
My question is then what will be the advantage of using the analog gain block???
While working with atmega48 device, i detected that when the ADC port is configured for IO operation, this ports use the analog vcc rail to push the pin to high level, which will surely effect analog measurements. So you better put high activity digital pins not on this port.
Regards
Murat Karadeniz


Thomas Keller wrote:
Show quoted textHide quoted text
On Sat, 2005-10-22 at 10:22 -0700, Larry Barello wrote:
> That brings up a question: Does anyone use the noise cancelling mode
> and
> does it make a significant difference? How much of a difference?

I cannot claim to have actuallyused the mode, but as I understand the
literature, I would expect it to maske a fairly significant difference
for fine measurements. It essentially shuts down the remainder of the
digital circutiry on the chip, reducing the switching noise on the
internal Vcc bus (as well as on the reference voltage).

Tom


Yahoo! FareChase - Search multiple travel sites in one click.

Assembler directive equ

2005-10-23 by Gustavo Goretkin

Hello, I'm trying to figure a better way to write my code
Currently for each I/O pin I have something like
.equ LCD_Enable_Port = Port C
.equ LCD_Enable = 0

and so forth for each pin. when I want to set the pint equal to one, I 
would do
sbi   LCD_Enable_Port, LCD_Enable.

I was wondering if I could combine both equates to do something like this
.equ LCD_Enable = Portc, 0

and then to set it to one I could just do
sbi LCD_Enable

Is this possible with AVR Studio's assembler? Thank you in advance.

Re: Assembler directive equ

2005-11-01 by Gustavo Goretkin

What is the difference between doing:

.equ IOPIN = PD0
.equ IOPORT= PortD

then...

.equ IOPIN = 0
.equ IOPORT=PortD

thank you.
Gustavo

Gustavo Goretkin wrote:
Show quoted textHide quoted text
> Hello, I'm trying to figure a better way to write my code
> Currently for each I/O pin I have something like
> .equ LCD_Enable_Port = Port C
> .equ LCD_Enable = 0
>
> and so forth for each pin. when I want to set the pint equal to one, I 
> would do
> sbi   LCD_Enable_Port, LCD_Enable.
>
> I was wondering if I could combine both equates to do something like this
> .equ LCD_Enable = Portc, 0
>
> and then to set it to one I could just do
> sbi LCD_Enable
>
> Is this possible with AVR Studio's assembler? Thank you in advance.
>

Re: [AVR-Chat] Re: Assembler directive equ

2005-11-01 by John Samperi

At 06:32 AM 2/11/2005, you wrote:
>What is the difference between doing:
>
>.equ IOPIN = PD0
>.equ IOPORT= PortD
>
>then...
>
>.equ IOPIN = 0
>.equ IOPORT=PortD

No difference as PD0 would be defined as bit 0 somewhere else.
May want to watch the case of the labels as assembler V2 can
be setup to be case sensitive.

Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Re: [AVR-Chat] Re: Assembler directive equ

2005-11-02 by Gustavo Goretkin

Okay, thanks. I sitll have one question...

I'm trying to figure a better way to write my code
Currently for each I/O pin I have something like
.equ LCD_Enable_Port = Port C
.equ LCD_Enable = 0

and so forth for each pin. when I want to set the pint equal to one, I 
would do
sbi   LCD_Enable_Port, LCD_Enable.

I was wondering if I could combine both equates to do something like this
.equ LCD_Enable = Portc, 0

and then to set it to one I could just do
sbi LCD_Enable

Is this possible with AVR Studio's assembler? Thank you in advance.



John Samperi wrote:
Show quoted textHide quoted text
>At 06:32 AM 2/11/2005, you wrote:
>  
>
>>What is the difference between doing:
>>
>>.equ IOPIN = PD0
>>.equ IOPORT= PortD
>>
>>then...
>>
>>.equ IOPIN = 0
>>.equ IOPORT=PortD
>>    
>>
>
>No difference as PD0 would be defined as bit 0 somewhere else.
>May want to watch the case of the labels as assembler V2 can
>be setup to be case sensitive.
>
>Regards
>
>John Samperi
>
>********************************************************
>Ampertronics Pty. Ltd.
>11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
>Tel. (02) 9674-6495       Fax (02) 9674-8745
>Email: john@ampertronics.com.au
>Website  http://www.ampertronics.com.au
>*Electronic Design * Custom Products * Contract Assembly
>********************************************************
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>  
>

Re: [AVR-Chat] Re: Assembler directive equ

2005-11-02 by John Samperi

At 12:26 PM 2/11/2005, you wrote:
>I was wondering if I could combine both equates to do something like this
>.equ LCD_Enable = Portc, 0

No. You can make a macro that would substitute the instructions I guess
to save typing. I find however that it's just as easy simply to copy
and paste :-) so you only need to type it once in your code.



Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Re: Assembler directive equ

2005-11-02 by Dave VanHorn

--- In AVR-Chat@yahoogroups.com, John Samperi <samperi@a...> wrote:
>
> At 12:26 PM 2/11/2005, you wrote:
> >I was wondering if I could combine both equates to do something 
like this
> >.equ LCD_Enable = Portc, 0
> 
> No. You can make a macro that would substitute the instructions I 
guess

I've done this by equating the PORTC and the pin separately, 
something like 

.equ  LCD_PORT = PORTC
.equ  LCD_DDR  = DDRC
.equ  LCD_Epin = 3

Now in the init code I can say:

sbi LCD_DDR,LCD_Epin ; to make it an output.
cbi LCD_PORT,LCD_Epin ; to make it low

In the main code, I might

sbi LCD_PORT,LCD_Epin
cbi LCD_PORT_LCD_Epin

Which makes for very portable code.

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.