Page 1 of 1
Which AVR to start with?
Posted: Sat Sep 14, 2013 12:31 am
by MJU
After Flowcode for PIC, version 3, 4, 5 I've bought the Pro version of Flowcode 6 for PIC AND chippack for AVR...
I'm used of choosing Microsoft PIC's to my needs, but I have no experience with AVR chips.
What AVR is a good one to start with for general purpose programming?
In the PIC multiprogammer set there was an 16F877A included, what is the AVR version of this PIC?
What are good tools to choose an AVR?
Microchip has it's "MAPS" program, is there such a tool for AVR?
I have the Atmel app ATmicro database, but isn't there such a tool for Windows computers?
Thanks!
Re: Which AVR to start with?
Posted: Sat Sep 14, 2013 10:03 am
by JohnCrow
Hi
I cannot remember if the programmer cam with a device or not. I tend to use either the ATMEGA324P (40pin) or the ATMEGA 328pu (Same as the arduino uno) for basic experiments.
Easiest intro to AVR way is an arduino, though not as versatile as the Matrix programmer, which is a nice board. Comes with the Atmel AVRISP unit which can be used as a stand alone programmer. Ive used it on the Arduino and on the AVR device on my GERT Board for the Raspberry Pi.
The device like pics depends on what you want to do.
One thing to be carful with if you set the fuses incorrectly, you can brick the device.There are ways to recover the chip but best not to do it
Hope this helps a bit
Re: Which AVR to start with?
Posted: Sat Sep 14, 2013 10:34 am
by MJU
Thank you!
That "fuses" thing, I have to look into first.
Doesn't Flowcode takes care of that thing?

Re: Which AVR to start with?
Posted: Sat Sep 14, 2013 10:50 am
by JohnCrow
Hi
Fuses are in pics as well
Its another name for the advanced config settings
Selecting the oscilator (internal or crystal)
Clock Multipliers
Clock Divider
Watchdog
ect etc
Most of the time it wont be a problem, its only if you start tweeking the more advanced options, its never happened to me, but there are posts on the forums about it if you do a search.
Re: Which AVR to start with?
Posted: Sat Sep 14, 2013 10:57 am
by dazz
Hi
Start with a cheap arduino using a 328pu chip, Or buy some 328pu chip with the arduino bootloader built in as you only then need a few components to get it running, there are advantages and disadvantages to doing this, like you can only have a 16mhz xtal, but the fuses are protected
Regards
DAzz
Re: Which AVR to start with?
Posted: Sat Sep 14, 2013 3:11 pm
by MJU
With all the PIC's I've used, I hardly ever changed the fuses.
I never used a bootloader except for an ECIO project.
All the other times Flowcode had the right settings for me.
I hope that version 6 does the same trick for me

Re: Which AVR to start with?
Posted: Sat Nov 02, 2013 5:24 am
by Alberta2012
Hi !
I have been playing with AVR for a bit.....
The ones I use are ATTiny2313 & ATMega8.
I have a STK500 and I could not figure out how to configure FC to download directly to it.... So what I do, is create the Hex file with FC, then I used ATMEL studio to download to the chip....
Go to the Atmel site, and request a few sample...easy to do !
Re: Which AVR to start with?
Posted: Wed Dec 18, 2013 1:20 pm
by shayanjameel08
hey i got this warning
“F_CPU not defined for ”
what does it means ?
how can i solve this??
Re: Which AVR to start with?
Posted: Thu Dec 19, 2013 7:53 pm
by dazz
shayanjameel08 wrote:hey i got this warning
“F_CPU not defined for ”
what does it means ?
how can i solve this??
Hi
First off please sign up to the forum relating to the version of flowcode you are using links are in my sig, Once done post a topic in that forum and please give more information as to what the issue is, It is impossible for us to second guess what hardware you are using so cannot give an answer if we font know what chip type you are using, also once in the correct forum you will get a much quicker response
Regards
Dazz