Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
AVR — how to start? - bug-code.com Q&A

AVR — how to start?

0 like 0 dislike
12 views
I 5 years ago did some work with microcytosis controllers. Now I want to play around a bit with the AVR controllers. Chose AVR because controllers themselves are cheaper and cheaper programmers.

I have neither the computer nor on the laptop does not have any COM and LPT ports, you need USB programmer.
The store looked there are inexpensive programmers AVR910 USB and ВМ9010.

I plan to write on si. (I peaks Sissy compiler was paid, I do not know now, this is another reason for choosing AVR).

The task is to start to assemble a thread "hellow world".

Accordingly, there are a few issues.
1) What programmer to choose. AVR910 USB or ВМ9010
2) do you Need USB dongles driver where to take them? (Windows 7)
3) Which microcontroller to choose. Need a simple cheap. can be atmega8?
4) What software is needed for development? Writing software in C and firmware. Atmel Studio enough?
5) Need a simple circuit such as a flashing led. Diode with a resistor and power stick without problems, just maybe there are some features on-Board firmware.
asked by | 12 views

7 Answers

0 like 0 dislike
It is not necessary with PIC go to the AVR. Learn 32-bit microcontrollers. For example STM32, which is gaining in popularity. As a starter pack suggest cost STM32 VL Discovery. On habré already had an introductory lesson
answered by
0 like 0 dislike
1)What programmer to choose — AVR910 USB
2)do you Need USB dongles driver is Needed, they are on the Internet next to the diagrams Here
3)How to choose a microcontroller — AtMega8 or AtMega48 or AtMega88, take this as AtTiny13 and AtTiny2313
4)What software is needed for development? Atmel Studio enough! For beginners I would advise CodeVisionAVR, there are a lot of examples and code generator is(to flash them)
5)we Need a simple scheme — here
features in-system firmware — don't think so.
PS Use Proteus'ohms, a very useful thing.
answered by
0 like 0 dislike
long used USBasp programmer. I thought it was cheaper. about in-circuit firmware — remember that outputs used for programming can also be used for "peaceful purposes" only avoid conflicts of levels.
answered by
0 like 0 dislike
Yes, I agree with the first comment. Junior atmel's with pic s except for General knowledge... If you are friends with a soldering iron, it is easier to assemble a dev Board to suit your needs, with the programmer and other delights...
answered by
0 like 0 dislike
About the price, you are mistaken. AVR, though the most common, but more expensive than other companies, and sometimes even more expensive than the STM32.
\r
Try MK from Texas Instruments. For example, the MSP430 series. For rapid entry into the platform they have their own Board prototyping Launchpad, Arduino analog, only at the price of 4.5$ including shipping. You can order on estore.ti.com
\r
Besides, they are on request and actively send out free samples of almost any of their chips, including MK. From Atmel also seems to have such a feature, but I don't know how well it works.
answered by
0 like 0 dislike
More information about Launchpad here. About it already wrote on Habre.
\r
Programmed it using ISP. USB cable comes. Also included are 2 of the microcontroller.
\r
Programming environment:
\r
answered by
0 like 0 dislike
The first three questions can give one answer. I suggest to start acquiring a target Board with integrated debugger. Suitable ISP programmer, but for a beginner it's better to be JTAG. It will help to save time. And what specific controller of the AVR there will be is not critical.
For developing on the AVR enough free AVR Studio with the same free GCC C compiler.
About the last question and in-circuit firmware I did not catch.
The main thing to remember is that during flashing, fuses are better not to indulge.
answered by
Welcome to Bug-code Q&A, where you can ask questions and receive answers from other members of the community.

24.8k questions

46.2k answers

0 comments

12.7k users

24,788 questions
46,220 answers
0 comments
12,694 users