[an error occurred while processing this directive] [an error occurred while processing this directive]
Ответ: У меня lnk0t.xcl такой
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)
[an error occurred while processing this directive] [an error occurred while processing this directive]

Отправлено Bill 15 июня 2002 г. 10:16
В ответ на: Вот и подскажите, какие они должны быть. Вроде все перепробывал уже. Может модель памяти и опции процессора не так выставленны? И еще...(+) отправлено Владимир Вольфович 14 июня 2002 г. 16:00


-! - lnk0t.xcl -

XLINK command file for the ICCA90 C-compiler using the -v0, -mt options.
Segments are defined for a generic AT90S with a maximum of
160 bytes data address space and 8 Kbytes program address space.

Usage: xlink your_file(s) -f lnk0t

File version: $Revision: 1.8 $

The following segments are used by the compiler:

Program address space read only segments (internal Flash)
=========================================================
segment address range max size (dec) used with compiler options
------- ------------- -------------- --------------------------
INTVEC 0 - 1B 28 bytes -e ("interrupt" keyword)
RCODE 1C - 1FFF 8 Kbytes
SWITCH 1C - 1FFF 8 Kbytes
FLASH 1C - 1FFF 8 Kbytes -e ("flash" keyword)
CDATA0 1C - 1FFF 8 Kbytes
CDATA1 1C - 1FFF 8 Kbytes -e ("near" keyword)
CCSTR 1C - 1FFF 8 Kbytes
CODE 1C - 1FFF 8 Kbytes

Data address space read/write segments
==============================================================
segment address range max size (dec) used with compiler options
------- ------------- -------------- --------------------------
UDATA0 60 - FF 224 bytes
IDATA0 60 - FF 224 bytes
CSTACK 60 - FF 224 bytes
RSTACK 60 - FF 224 bytes
UDATA1 60 - FF 160 bytes -e ("near" keyword)
IDATA1 60 - FF 160 bytes -e ("near" keyword)
ECSTR 60 - FF 224 bytes

"tiny" pointers can only access objects in the range 0-FF.
Strings and constants are placed in RAM (segments IDATA0 and ECSTR
respectively). Initial values are copied from program space
(CDATA0 and CCSTR respectively).
-!

-! First define CPU -!

-ca90

-! Program address space (internal Flash memory) -!
-Z(CODE)INTVEC=0-1B
-Z(CODE)RCODE,CDATA0,CDATA1,CCSTR,SWITCH,FLASH,CODE=1C-1FFF

-! Data address space -!
-! Built-in SRAM in 60-FF. The registers are in 0-1F and -!
-! memmory mapped I/O in 20-5F -!
-Z(DATA)IDATA0,UDATA0,IDATA1,UDATA1,ECSTR,CSTACK+20,RSTACK+10=60-FF

-! Select reduced "printf" support to reduce library size.
See configuration section in manual concerning printf/sprintf. -!

-e_small_write=_formatted_write
-e_small_write_P=_formatted_write_P

-! Disable floating-point support in "scanf" to reduce library size.
See configuration section in manual concerning scanf/sscanf -!

-e_medium_read=_formatted_read
-e_medium_read_P=_formatted_read_P

-! Suppress one warning which is not relevant for this processor -!
-w29

-! Now load the 'C' library -!

cl0t

-! Code will now reside in file aout.a90 or aout.d90, unless -o is specified -!
-! .d90 is the default if debug system is linked (option -r) -!
-! .a90 is the default without debugging. Default format is -Fmotorola -!

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

Ответы



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

E-mail: info@telesys.ru