31.12.2013 Views

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 6 LINKER OPTIONS<br />

6.2.39 User-specified-area Check Specification (-check_rora)<br />

When the -check_rora option is previously specified, you can check whether the<br />

memory map has been changed, by changing only the specified MB number.<br />

The -check_rora option checks whether the specified ROM and RAM areas (-ro and -ra<br />

options) correspond to the actual addresses of the internal ROM and internal RAM.<br />

Use this option when single-chip mode is used.<br />

■ User-specified-area Check Specification (-check_rora)<br />

[Format]<br />

-check_rora<br />

[Parameter]<br />

None<br />

[Descriptions]<br />

A check is made on whether the specified ROM and RAM areas (-ro and -ra options) exceed the<br />

internal ROM and internal RAM.<br />

The following warnings are output when the areas specified for the -ro and -ra options are not within the<br />

internal ROM and internal RAM:<br />

W1368L: The area specified for the -ro option is outside the internal-ROM area (area name)<br />

W1369L: The area specified for the -ra option is outside the internal-RAM area (area name)<br />

When the -check_rora option and the MB number are specified in using single-chip mode, a check is<br />

made on whether the specified ROM and RAM areas correspond to the actual addresses of the internal<br />

ROM and internal RAM of the product concerned. So, for instance, when a program is ported to a<br />

different product, you can check whether the memory map has been changed, by changing only the<br />

specified MB number.<br />

Also, when the -check_locate option is specified together with the -check_rora option, you can check<br />

whether the program is within the internal ROM and internal RAM.<br />

[Example]<br />

flnk911s -cpu MB91F155 -check_rora -ro ROM = 0x<strong>00</strong>0808<strong>00</strong>/0x<strong>00</strong>0fffff<br />

-ra RAM1=0x<strong>00</strong><strong>00</strong>1<strong>00</strong>0/0x<strong>00</strong><strong>00</strong>8fff, RAM2=0x<strong>00</strong>08<strong>00</strong><strong>00</strong>/0x<strong>00</strong>0807ff ...<br />

-> The areas specified for the -ro and -ra options are within the ranges of the internal ROM and internal<br />

RAM; so no warning is output.<br />

flnk911s -cpu MB91154 -check_rora -ro ROM = 0x<strong>00</strong>0808<strong>00</strong>/0x<strong>00</strong>0fffff<br />

-ra RAM1=0x<strong>00</strong><strong>00</strong>1<strong>00</strong>0/0x<strong>00</strong><strong>00</strong>8fff, RAM2=0x<strong>00</strong>08<strong>00</strong><strong>00</strong>/0x<strong>00</strong>0807ff ...<br />

W1368L: The area specified for the -ro option is outside the internal-ROM area (ROM)<br />

W1369L: The area specified for the -ra option is outside the internal-RAM area (RAM1)<br />

-> The underlined areas specified are not within the ranges of the internal ROM and internal RAM; so<br />

the warnings are output.<br />

142 PART II LINKER

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!