Motherboard Forums


Reply
 
 





















Peter Keller
Guest
Posts: n/a

 
      09-23-2008, 06:05 AM


Hello,

I've done some PIC development before, with the PIC16F690, PIC18F4321,
etc. and I'm thinking about trying out the Atmel processors since I've
heard they have a flat memory space (no banks), a software stack, and
other things I am interested in. What would be a good entry level atmel
microprocessor to experiment with (maybe having features like USART,
SPI, USB, external data/program memory) and what kind of programmer
is available? This would all be for hobby stuff, so I'm looking for
the equivalent to the PICKit 2 system and the mplabide stuff. If the
development and programmer software worked reliably under linux, I'd be
very happy as well.

I know gcc has an avr backend and somewhere there is available an
avr-libc. While I'll probably write in assembly for a while to learn the
processor, I'd eventually move over to C if I feel I know the instruction
set well enough.

Any advice on where to get started? Can I get free samples of atmel processors
as easily as the PIC processors?

Thanks.

-pete
 
Reply With Quote
 
RumpelStiltSkin
Guest
Posts: n/a

 
      09-23-2008, 05:47 PM

"Peter Keller" <> wrote in message
news:48d87934$0$9897$...
> Hello,
>
> I've done some PIC development before, with the PIC16F690, PIC18F4321,
> etc. and I'm thinking about trying out the Atmel processors since I've
> heard they have a flat memory space (no banks), a software stack, and
> other things I am interested in. What would be a good entry level atmel
> microprocessor to experiment with (maybe having features like USART,
> SPI, USB, external data/program memory) and what kind of programmer
> is available? This would all be for hobby stuff, so I'm looking for
> the equivalent to the PICKit 2 system and the mplabide stuff. If the
> development and programmer software worked reliably under linux, I'd be
> very happy as well.
>
> I know gcc has an avr backend and somewhere there is available an
> avr-libc. While I'll probably write in assembly for a while to learn the
> processor, I'd eventually move over to C if I feel I know the instruction
> set well enough.
>
> Any advice on where to get started? Can I get free samples of atmel
> processors
> as easily as the PIC processors?


I'd get a member of the ATmega series. The Tiny series is ... tiny.
ATmega168 would do. STK500 was best eval board, maybe new ones.
Go to www.avrfreaks.net for best info around

Get the free WINAVR package which consists of
an easy install version of GCC.



 
Reply With Quote
 
FreeRTOS.org
Guest
Posts: n/a

 
      09-23-2008, 06:16 PM
"Peter Keller" <> wrote in message
news:48d87934$0$9897$...
> Hello,
>
> I've done some PIC development before, with the PIC16F690, PIC18F4321,
> etc. and I'm thinking about trying out the Atmel processors since I've
> heard they have a flat memory space (no banks), a software stack, and
> other things I am interested in. What would be a good entry level atmel
> microprocessor to experiment with (maybe having features like USART,
> SPI, USB, external data/program memory) and what kind of programmer
> is available? This would all be for hobby stuff, so I'm looking for
> the equivalent to the PICKit 2 system and the mplabide stuff. If the
> development and programmer software worked reliably under linux, I'd be
> very happy as well.
>
> I know gcc has an avr backend and somewhere there is available an
> avr-libc. While I'll probably write in assembly for a while to learn the
> processor, I'd eventually move over to C if I feel I know the instruction
> set well enough.
>
> Any advice on where to get started? Can I get free samples of atmel
> processors
> as easily as the PIC processors?


Well you don't need any hardware at all to start with as the free AVRStudio
has a good simulator.

When you come to get hardware the STK500 is a good, low cost board. All the
software tools can be free.

See http://www.freertos.org/a00098.html for a little more info.


--
Regards,
Richard.

+ http://www.FreeRTOS.org & http://www.FreeRTOS.org/shop
17 official architecture ports, more than 6000 downloads per month.

+ http://www.SafeRTOS.com
Certified by TÜV as meeting the requirements for safety related systems.


 
Reply With Quote
 
Peter Keller
Guest
Posts: n/a

 
      09-23-2008, 10:19 PM
FreeRTOS.org <> wrote:
> Well you don't need any hardware at all to start with as the free AVRStudio
> has a good simulator.


It is good to know there is a good simulator, but I'll probably start
with the blinking LED on a real piece of hardware to get the development
pipeline down.

> When you come to get hardware the STK500 is a good, low cost board. All the
> software tools can be free.


How about something like the AVRISP mkII In-System Programmer? I'm looking
for a USB programmer solution and that seems to be able to program many
of the ATmega* series. Does it work under linux as well? I'm not so
much in the need for an IDE. I'm perfectly happy with vim, make, gcc,
and some command line tools for programming the device.

Though, I did find that there is no DIP package for any Atmel MCU that
speaks USB. Am I mistaken?

Thank you.

-pete
 
Reply With Quote
 
RumpelStiltSkin
Guest
Posts: n/a

 
      09-23-2008, 11:27 PM

"Peter Keller" <> wrote in message
news:48d95d79$0$9897$...
> FreeRTOS.org <> wrote:
>> Well you don't need any hardware at all to start with as the free
>> AVRStudio
>> has a good simulator.

>
> It is good to know there is a good simulator, but I'll probably start
> with the blinking LED on a real piece of hardware to get the development
> pipeline down.
>
>> When you come to get hardware the STK500 is a good, low cost board. All
>> the
>> software tools can be free.

>
> How about something like the AVRISP mkII In-System Programmer? I'm looking
> for a USB programmer solution and that seems to be able to program many
> of the ATmega* series. Does it work under linux as well? I'm not so
> much in the need for an IDE. I'm perfectly happy with vim, make, gcc,
> and some command line tools for programming the device.
>
> Though, I did find that there is no DIP package for any Atmel MCU that
> speaks USB. Am I mistaken?


The STK500 eval board has a built in ISP programmer.
You can single step in WinAVR too, though not a true emulator like mkII.



 
Reply With Quote
 
nospam
Guest
Posts: n/a

 
      09-24-2008, 12:06 AM
Peter Keller <> wrote:

>I've done some PIC development before, with the PIC16F690, PIC18F4321,
>etc. and I'm thinking about trying out the Atmel processors since I've
>heard they have a flat memory space (no banks), a software stack, and
>other things I am interested in.


16bit PICs have those things, familiar peripherals and tools. Downside is a
slightly crippled C compiler for free.

--
 
Reply With Quote
 
Rich Webb
Guest
Posts: n/a

 
      09-24-2008, 01:08 AM
On 23 Sep 2008 05:05:56 GMT, Peter Keller <>
wrote:

>Hello,
>
>I've done some PIC development before, with the PIC16F690, PIC18F4321,
>etc. and I'm thinking about trying out the Atmel processors since I've
>heard they have a flat memory space (no banks), a software stack, and
>other things I am interested in. What would be a good entry level atmel
>microprocessor to experiment with (maybe having features like USART,
>SPI, USB, external data/program memory) and what kind of programmer
>is available? This would all be for hobby stuff, so I'm looking for
>the equivalent to the PICKit 2 system and the mplabide stuff. If the
>development and programmer software worked reliably under linux, I'd be
>very happy as well.
>
>I know gcc has an avr backend and somewhere there is available an
>avr-libc. While I'll probably write in assembly for a while to learn the
>processor, I'd eventually move over to C if I feel I know the instruction
>set well enough.
>
>Any advice on where to get started? Can I get free samples of atmel processors
>as easily as the PIC processors?


Sparkfun has a bunch of AVR dev boards (mostly as resellers of boards
from Olimex). Follow the "development tools" link. Imagecraft carries
several of the other popular AVR boards, including their own starter
kit + compiler.

WRT compilers, the WinAVR port of gcc is linked from AVR Freaks. In
the commercial realm I'm fond of Imagecraft (I also have their ARM and
MSP430 compilers) but there are other options. Look at the tools
section at AVR Freaks for links.

You'll probably also want an in-system programmer (not entirely
necessary, as some of the dev boards will use serial bootloaders, but
recommended). The genuine Atmel USB ISP is pretty inexpensive (see
Digikey and many other places). It wouldn't hurt to get the STK500
(which can also be used as a dev platform) which can perform in-system
programming (PC needs a serial interface) or it's younger brother
STK600 (USB interface). Both can do parallel programming of the
devices, which can recover a chip if you've accidentally set the fuses
in such a way as to prevent the normal serial programming.

One thing to watch out for while you're getting started. Many AVRs
have on-board RC oscillators. For those that do, most (all?) come from
the factory with their fuses set to use the RC oscillator and NOT an
external clock/crystal. If you don't realize this and attempt to
program them with too high a programming CLK (> 1/8 the chip's master
clock) it may appear that the chip is dead. It isn't; just slow down
the ISP a little bit.

http://www.sparkfun.com/commerce/categories.php
http://www.imagecraft.com/
http://www.olimex.com/
http://www.avrfreaks.net/
http://www.digikey.com/

--
Rich Webb Norfolk, VA
 
Reply With Quote
 
Peter Keller
Guest
Posts: n/a

 
      09-26-2008, 05:25 PM
Rich Webb <> wrote:
> One thing to watch out for while you're getting started. Many AVRs
> have on-board RC oscillators. For those that do, most (all?) come from
> the factory with their fuses set to use the RC oscillator and NOT an
> external clock/crystal. If you don't realize this and attempt to
> program them with too high a programming CLK (> 1/8 the chip's master
> clock) it may appear that the chip is dead. It isn't; just slow down
> the ISP a little bit.
>
> http://www.sparkfun.com/commerce/categories.php
> http://www.imagecraft.com/
> http://www.olimex.com/
> http://www.avrfreaks.net/
> http://www.digikey.com/


I'd like to thank all of you for this wonderful information. I appreciate it
very much.

-pete
 
Reply With Quote
 
linnix
Guest
Posts: n/a

 
      10-02-2008, 05:03 PM
On Oct 2, 5:47 am, "vinnie" <ckgri...@mailcan.com> wrote:
> >Hello,

>
> >I've done some PIC development before, with the PIC16F690, PIC18F4321,
> >etc. and I'm thinking about trying out the Atmel processors since I've
> >heard they have a flat memory space (no banks), a software stack, and
> >other things I am interested in. What would be a good entry level atmel

>
> Don't forget to look at the Renesas R8C series chips. They have all the
> features you are interested in, and best free development tools out there.
> The HEW IDE can be downloaded from the website, and offers GNU (unlimited)
> or Renesas Compiler (free up to 64k). Debug is done via a one wire
> connection. They are code compatible with the Renesas M16C chips that have
> large 1MB memory maps.
>
> http://www.renesas.com/en/r8ctiny


What is their CPU core based on, or similar to? Thanks.
 
Reply With Quote
 
Vladimir Vassilevsky
Guest
Posts: n/a

 
      10-02-2008, 08:44 PM


What Atmel? There is no more such company.

http://www.microchip.com/stellent/gr...n/en537504.pdf




Vladimir Vassilevsky
DSP and Mixed Signal Design Consultant
http://www.abvolt.com




 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT. The time now is 08:32 PM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43