[an error occurred while processing this directive] [an error occurred while processing this directive]
Разбиение памяти в M16C/62
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)
[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive]

Отправлено Jony 20 ноября 2001 г. 16:43

ПРоблема: пишу код - компилирую - все хорошо.
Далее добавляю оператор switch на 7 вариантов выбора (или другие несколько строк кода)и при компиляции система выдает:

Error[e16]: Segment INTVEC1 (size: 0x24 align: 0) is too long for segment definition. At least 0x24 more bytes needed. The problem occurred while processing the segment placement command "-Z(HUGECONST)INTVEC1=FFFDC-FFFFF", where at the moment of placement the available memory ranges were "-none-"
Error[e16]: Segment FLIST (size: 0 align: 0) is too long for segment definition. At least 0 more bytes needed. The problem occurred while processing the segment placement command "-Z(HUGECONST)FLIST=FFE00-FFFDA", where at the moment of placement the available memory ranges were "-none-"
Error[e18]: Range error in module CSTARTUP ( c:\iar\ew23\m16c\lib\clm16cy.r34 ), segment CODE at address 0x7c. Value 0x100056, in tag t_check [115], is out of bounds (0x0-0xfffff)
Error[e18]: Range error in module CSTARTUP ( c:\iar\ew23\m16c\lib\clm16cy.r34 ), segment CODE at address 0xbe. Value 0x100056, in tag t_check [115], is out of bounds (0x0-0xfffff)
Error[e18]: Range error in module CSTARTUP ( c:\iar\ew23\m16c\lib\clm16cy.r34 ), segment CODE at address 0xdb. Value 0x100054, in tag t_check [115], is out of bounds (0x0-0xfffff)

Понятно, что где-то надо перераспределить память. Это даже видно при программировании, весь код пишется в диапазон 0xFA000 - 0xFFFFF (почему именно в этот диапазон?).

Кто что знает, помогите.

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

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru