Skip to main content
Knowledgebase
Home
Renesas Singapore - Knowledgebase

Error occurs in HEW project after converting it with CubeSuite+ V1.01.

Latest Updated:05/28/2012

Question:

Why does an error occur when I try to build a High-performance Embedded Workshop project after converting it with CubeSuite+ V1.01?

Answer:

An error occurs during the process of building a High-performance Embedded Workshop project after converting it with CubeSuite+ V1.01 when any of the following conditions is satisfied.

  1. A custom build phase is used in the project.
  2. Placeholder $(WORKSPDIR) is used in the project.
  3. Section L is generated in the project.
  4. Real-time OS (RI600/4) Project

Details are given below.

  1. A custom build phase is used in the project.

    You can convert a High-performance Embedded Workshop project that includes custom build phases but the custom build phases will be deleted in the CubeSuite+ project.

    Note: No logs or messages appear to notify that the custom build phases have been deleted.

    Even an error may occur during the process of building the converted project depending on how the custom build phases were used in the project.
    Although the CubeSuite+ supports a feature that is similar to the High-performance Embedded Workshop’s custom build phases, it has different specifications. So the CubeSuite+ deletes the custom build-phase information when it converts each High-performance Embedded Workshop project.

    To successfully build a project after conversion, register the custom build-phase command with the CubeSuite+ as a command to be executed before or after each phase (compiling, assembling, or linkage).

  2. Placeholder $(WORKSPDIR) is used in the project.

    An error may occur during the process of building a High-performance Embedded Workshop project if the project uses placeholder $(WORKSPDIR) and is stored in a folder that is two or more levels below the workspace folder.

    When a project is converted, the placeholder is also automatically converted to “%ProjectDir%\..” (the folder immediately above the project). “%ProjectDir%\..” does not indicate the correct location if the project is actually stored in a folder that is two or more levels below the workspace folder.

    For this reason, manually change “%ProjectDir%\..” after converting the project.

    This problem will be fixed in CubeSuite+ V1.02.

  3. Section L is generated in the project.

    During the process of building a High-performance Embedded Workshop project after converting it with the CubeSuite+, the linkage editor may output the following errors, which will prevent the creation of an object.

    --------------------
    ** L1120 (W) Section address is not assigned to “L”
    ** L3100 (F) Section address overflow out of range : “L”
    --------------------

    To improve the efficiency in code optimization, section L has been added to RXC V1.01.00 and later versions as a special section in which string literals are to be output. Since such string literals used to be output to section C by former versions, the above messages are output upon building.

    After converting a project, change the section selected for [Object] – [Section name of literal area] from L to C on the [Compiler Options] sheet of the CC-RX Property. Then add -section=L=C to [Others] – [Other additional options] on the [Library Generate Options] sheet and execute the build.

  4. Real-time OS (RI600/4) Project

    The "Current build mode" immediately after conversion is "DefaultBuild". The project settings on the High-performance Embedded workshop are not inherited by "DefaultBuild" but are inherited by the build modes of the same name as High-performance Embedded Workshop's "Configuration". Therefore, an error will occur at building when the "Current build mode" is "DefaultBuild". Please build after changing the current build mode to that build mode.
Suitable Products
RX Family
Renesas Starter Kit for RX630
Renesas Starter Kit for RX210
Renesas Starter Kit+ for RX62N
Renesas Starter Kit for RX610
Renesas Starter Kit for RX62T
CS+ (formerly CubeSuite+)
High-performance Embedded Workshop
C/C++ Compiler Package for RX Family