Помощь - Поиск - Пользователи - Календарь
Полная версия этой страницы: AVR911 Не читает intel-extended IAR
Форум разработчиков электроники ELECTRONIX.ru > Микроконтроллеры (MCs) > AVR
AlexOr
AVR911: AVR Open Source Programmer. Не читает intel-extended сгенерированный IAR AVR 410B.

Цитата из AVR911:
-if<infile>
Name of Flash input file. Required for programming or
verification of the Flash memory. The file format is Intel Extended HEX.


Ругается на строчку :0400000300000000F9

Заглянул в исходник
/* Internal struct for managing HEX records */
struct HEXRecord // Intel HEX file record
{
unsigned char length; // Record length in number of data bytes.
unsigned long offset; // Offset address.
unsigned char type; // Record type.
unsigned char * data; // Optional data bytes.
};

Значение rec.type которое равно в данном случае 3 не обслуживается в принципе


switch( rec.type )
{
case 0x00 : // Data record ?

case 0x02 : // Extended segment address record ?

case 0x04 : // Extended linear address record ?

case 0x01 : // End of file record ?

default:
throw new ErrorMsg( "Unsupported HEX record format! "

Как такое понимать?
И как выходить из сей ситуации?
Daniil
А для чего intel-extended? обычный standard не подойдет?
Или обьем программы больше 64к? smile.gif
Для просмотра полной версии этой страницы, пожалуйста, пройдите по ссылке.
Invision Power Board © 2001-2025 Invision Power Services, Inc.