Skip to main content
Knowledgebase
Home
Renesas Singapore - Knowledgebase

ID code and option function select register aren't set correctly

Last Updated:04/26/2017

Question:

When the assembler directive commands .id or .ofsreg is used, the ID code and the option function select register aren't set correctly.

Answer:

The directory and file names of the source program have the following limitations:

The directory, file, or workspace name which comprised of ASCII character-code only can be used. *1
The multibyte code is not supported.
If you use the C/C++ Compiler Package for the M16C Series and R8C Family (M3T-NC30WA) V.6, the characters except ASCII character-code can also be used in the directory, file, or workspace name.
However the input/output file name used by ieee-lmc30.exe (load module converter) are excluded.
In M3T-NC30WA or M3T-NC308WA earlier than V.5.40 Release 00, Directory and file names cannot include blank characters.
A period (.), indicating an extension, can be used only once in a file name.
Assign the installation path to the internal drive, because a network path name cannot be used.
"Short cuts" cannot be used.
No more than 1 upper directory can be specified using "..."
The file name length including the path should be less than 128 characters. *2
*1.    Workspace is a working directory used for processing like the compilation,
build, or debugging on High-performance Embedded Workshop.
*2.    This limitation is not applied to the following products:
-The C Compiler Package for the R32C Series
-The C Compiler Package for the M32C Series (M3T-NC308WA) V.5.42 Release 00 or later
-The C Compiler Package for M16C Series and R8C Family (M3T-NC30WA) V.5.45 Release 00 or later
If the limitations above are violated, the following problems may occur.

The value set by the assembler directive commands .id, .ofsreg, .protect,   .rvector or .svector cannot operate correctly. As a result, the ID code and the option function select register may not be set correctly.
Call Walker and STK Viewer to refer to the stack size are not displayed correctly.
The MAP Viewer to refer to the map information in the absolute module file isn't displayed correctly.
The setting by these assembler directive commands isn't displayed in .map file.
A compile error like "Can't open file" arises.
A message like "Because a problem occurred, lnxx.exe is terminated." is issued and then the linker is terminated abnormally.
The automatic generation function of the variable vector table is not be performed correctly.
 

Suitable Products

C/C++ Compiler Package for M16C Series and R8C Family [M3T-NC30WA]
C Compiler Package for R32C Series
C Compiler Package for M32C Series [M3T-NC308WA]