[an error occurred while processing this directive]
Помгите разобраться. Хочу перейти с CodeVision на IAR. Взял родной пример +
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено ilychoff 20 апреля 2006 г. 11:57

/**************************************************
*
* This is a LED chaser example program for the AVR
* STK500 starter kit evaluation board. This program
* works for all AVRs.
*
* Description:
* This program will turn on the User LEDs one at
* a time and circulate this procedure in a forever
* loop.
*
* Copyright 1996 -2005 IAR Systems. All rights reserved.
*
* $Revision: 1.1 $
*
**************************************************/


// Include I/O definition file
#include
#include

int main( void )
{
unsigned char led;

PORTB = 0xFF; // Give PORTB and the User LEDs an initial startvalue

led = 1; // Start with LED0

DDRB = 0xFF; // Set PORTB as output

while(1) // Eternal loop
{
PORTB = ~led; // Invert the output since a zero means: LED on
led <<= 1; // Move to next LED by performing a rotate left

if (!led)
led = 1; // If overflow: start with LED0 again

__delay_cycles(500000); // Wait for 500 000 cycles
}
}


как мне получить hex файл для заливки. В релизе в папке exe только файл .а90 Или IAR не генерит hex , в мануале ничего не нашел про это,
Или я чего то не знаю, научите неграмотного.


Составить ответ  |||  Конференция  |||  Архив

Ответы


Отправка ответа

Имя (обязательно): 
Пароль: 
E-mail: 
NoIX ключ Запомнить

Тема (обязательно):
Сообщение:

Ссылка на URL: 
Название ссылки: 

URL изображения: 


Rambler's Top100 Рейтинг@Mail.ru
Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание

E-mail: info@telesys.ru