Avr Studio 5 Учебник На Русском
Каждый человек, который только начинает осваивать программирование микроконтроллеров, да и вообще программирование, упирается сразу в несколько вопросов: 1. Какой микроконтроллер выбрать для максимально быстрого освоения?
Этому был посвящен целый курс на сайте правда он не очень последовательный, но постепенно.
Какой основной инструмент (программу) использовать для начала работы? Какие аппаратные средства доступны для начала программирования?
Какую литературу использовать? Где общаться и получать вразумительные советы?
Когда я начинал, то сам столкнулся с этими вопросами. Начал искать литературу и решил, что надо начинать с PIC-ов. Перевес в сторону PIC-ов определился из за небольшого количества команд микропроцессоров среднего семейства — всего 35 против 136 у AVR, и наличием IDE — интегрированной среды разработки MPLAB. К сожалению, до последнего времени для микроконтроллеров AVR не было удобной интегрированной среды разработки, многие пользовались AVR Studio 4, кто то писал на C в IAR, для отладки пользовались дополнительными программами, все зависило от личных приоритетов. В этом году компания ATMEL наконец то «родила» IDE — AVR Studio 5 для программирования микроконтроллеров AVR. Много критических замечаний было сказано в адрес этой программы, но она существует и работает, возможно, компания со временем учтет все критические замечания, и сделает программу более гибкой, совершенной и не такой большой по размеру. Конечно по объему это монстр — инсталлируемый файл занимает 600 с лишним МБайт.
Но, есть в ней и определенные удобства в работе, и не только для начинающих! Программа ориентирована для работы в среде C, но ассемблер поддерживается полностью. Итак, попробуем ответить на возникшие вопросы:1.
Выбор микроконтроллера определяется теми задачами, которые вы перед собой поставили. Микроконтроллеры AVR имеют «избыточный» набор команд, и поэтому большинство программистов используют в среднем около 40 инструкций, редко прибегая к остальным. С другой стороны, когда требуется нетипичное решение, дополнительные команды могут оказаться весьма кстати, позволяя значительно сократить объем программы. Технология производства микроконтроллеров сегодня одинакова как для PIC так и для AVR — RISC (Reduced Instruction Set Computer) — микроконтроллеры с сокращенным набором команд. Большинство из них имеют флеш-память, которая позволяет многократно их перезаписывать. Кроме этого микроконтроллеры AVR работают в 4 раза быстрее микроконтроллеров PIC.
Для начала, чтобы начать писать программы, нужно скачать интегрированную среду разработки AVR Studio 5 (Прямая ссылка на, будет работать, пока не смениться билд.) А чтобы наглядно видеть результат своей работы, не используя паяльник или макетную плату достаточно установить программу Proteus v7.7 3. AVR Studio 5 поддерживает программатор STK-500, инструкции по сборке которого, можно легко найти в просторах всемирной паутины. Рекомендую книгу: Джон Мортон.
«Микроконтроллеры AVR. Вводный курс». Советы вы можете получать на любом форуме, где так или иначе затронуты темы по микроконтроллерам. Главное на форумах правильно формулировать вопросы, чтобы четко получать ответы.
Абстрактные вопросы не приветствуются, и скорее всего вместо ответа вы получите жесткую критику, или ваш вопрос останется без внимания! Скачать AVR Studio 5 можно, например, после бесплатной регистрации. Proteus вместе с патчем можно найти в Сети. AVR Studio 5 Создание проекта Примечание: AVR Studio «не любит» русских названий, поэтому проекты должны быть с английской транскрипцией.
Старайтесь размещать проекты по кратчайшему пути к основному диску, избегать ветвлений в путях доступа к файлам проекта. Запускаем программу, после некоторого «молчания» появляется окно. Спасибо за обзор 5-й студии. Сам учился по следующим книгам: Джон Мортон - Микроконтроллеры AVR Вводной курс, 2006 Юрий Ревич - Практическое программирование микроконтроллеров Atmel AVR на языке ассемблера, 2011 А.В.
Avr Studio 5 Учебник На Русском
Белов - Самоучитель разработчика устройств на микроконтроллерах AVR, 2010 А.В. Евстифеев - перечислять не буду, в основном его книги это даташиты переведенные на русский язык. По Си: Брайан Керниган, Деннис Ритчи - Язык программирования Си, 'библия', имеет множество изданий, читать лучше всего в оригинале на английском. Дорогов, Е.Г. Дорогова - Основы программирования на языке Си А. Крупник - Изучаем Си, 2001 Чего достиг? Полного понимания 'кишок', логики работы и логики написания программ.
Хорошо разобрался с Си. Только вот допустим, стоит задача написать блок управления синтезатором LC72131, а я не могу - сразу ступор. Хотя удалось самому написать простецкие часы, освоить работу с регистрами CD4015, разобрался с кнопками и их дребезгом, таймерами, компараторами, режимом сбережения, даже получилось прикрутить к часам энкодер, но дальше почему-то ничего не идет.
Посоветуйте книжек пожалуйста! Но дальше почему-то ничего не идет. Посоветуйте книжек пожалуйста Знакомое состояние творческого поиска. Нужно определиться с областью электроники, которая Вам ближе всего, например - усилители и качественный звук, тогда делайте электронные системы управления звуком, тембром и т.п. Улучшайте характеристики существующих конструкций, подключайте ПДУ, таймеры, подсветки, визуальные эффекты в виде пиковых индикаторов, можно пойти дальше - сделать радио или ИК наушники, работать с видео. Это только одна область. А их множество!
Если появилась идея, начинайте с мат.части т.е. С изучения даташитов, если есть неувязки, то всегда помогут аплоуды на сайте производителя, если Вы изучали AVR то этот список очень обширен. Кроме этого можно задавать вопросы на форумах, и помогать другим, кто только начинает!
: Программирование Добро пожаловать в первый релиз AVR Studio 5.0, бета-версия AVR Studio 5.0 является новой интегрированной средой разработки от Atmel. Она предоставляет вам современную и мощную среду в AVR проектировании. Поддерживаются 8-битные и 32-битные микроконтроллеры.