Fujitsu CM25-00322-1E Saw User Manual


 
26
CHAPTER 2 OPERATION
2.9 Setting Linker Options
When creating a program with SOFTUNE WORKBENCH, be sure to set a memory map
with a linker option.
Automatic Setting of Linker Options
In SOFTUNE WORKBENCH, the following linker options are automatically set on the basis of
information on the MCU selected when a new project is created;
- Specify the internal ROM/RAM address of the MCU in the memory area option.
Internal ROM is output under an area name of "_INROMxx" and internal RAM under an area name of
"_INRAMxx" (where x is numbered consecutively starting with 01).
- Set the automatic disposition mode to mode 2 (optimum automatic disposition by linker).
When creating a program in a mode other than the single-chip mode or when customizing the disposition
of sections, set the [Disposition/Connection] option as the linker option.
Setting of Linker Options
In SOFTUNE WORKBENCH, specifying memory mapping is basic to the disposition of each section in
the memory area. Therefore, set a memory area and set each section in the memory area.
Set a memory area
Enter a ROM/RAM area name, start address and end address, select an area attribute (ROM or RAM), then
click the [Setup] button. This setting is displayed in the ROM/RAM area list. In the ROM/RAM area,
assign a unique ROM/RAM name so that it does not match other area names.
A easy program consists of a ROM area and a RAM area, but in a complicated program, several area may
be specified.
The number of areas that can be set is not limited; set all the areas necessary to configure the memory map
of the program to be developed.
Set the sections to be allocated to each of the set areas
Selecting the area from the ROM/RAM area list and clicking the [Setup Section] button opens the [Setup
Section] dialog box, enabling the sections to be allocated to the selected area. When selecting an area, click
the start address of the area.
When the [Setup Section] dialog box opens, specify section names in the order the sections are allocated to
the area. Specify section names one by one. When section name specification is completed, click the
[Setup] button to register the section names in the section name list.
When execute make/built the sections are allocated to the area in the order the section names were
registered in the section name list.
When setting the sections to be allocated to one area is completed, click the [OK] button to return the linker
option setting dialog box. Also set other areas in the same way.