CS+ linker error (E) E7001 VF78K0R error E7001: The link error was found.

Hi,

I am using CS+ for CA,CX and RL78/F13 with internal ROM size 128KB.

While writing the Linker script I have given the ROM assignment command as shown below,

MEMORY ROM:(0H, 10000H)

But when I compile the project it is throwing the following error,

(E)    E7001    VF78K0R error E7001: The link error was found.

Please help me in resolving this error.

Thank you in advance,

Regards,

Ganesh Vijaya Kumar P

  • Why do you use CA78K? CC-RL is a much better compiler for RL78.
  • In reply to FrankL:

    It would be difficult for us to change the compiler as of now.
    As we are already having the work space developed for CS+ for CA,CX, we are looking for the solution with the current compiler.
    Could you please let us know how to map the code using the existing compiler.
    Thank you,
    Regards,
    Ganesh Vijaya Kumar P

  • In reply to Ghani:

    Sorry, I don't use CA78K0R, and I have no clue what caused this error
  • In reply to FrankL:

    Hello Frnak,
    Thank you for your reply,
    Is CC-RL compiler having an option for linker file?
         If yes, could you please guide me how to configure the Linker file?
         If not, could you please explain how can we map our code to a particular memory location?

    Thank you in advance,
    Regards,
    Ganesh Vijaya Kumar P

  • In reply to Ghani:

    I don't know if CC-RL supports a linker file. I never use one but always use command line options.

    In CA78K0R you can use #pragma SECTION  to define a new section and at the same time place this at the desired address.

    In CC-RL you can use #pragma address to place a variable at a defined address.

    CA78K0R
    #pragma section compiler-output-section-name    new-section-name    [AT startaddress]

    Example

    #pragma SECTION @@DATA My_Data AT 0FE000H
    unsigned short My_VAR;

     

    CC-RL
    #pragma address [(]variable-name=absolute-addressNote[,...][)]

    Example

    #pragma address My_VAR=0xFE000
    unsigned short My_VAR[0x10] = {0x55};

  • In reply to Ghani:

    Ghani,

    Has your question been answered?

    Mike Clements
    RenesasRulz Moderator
  • In reply to Mike Clements:

    Mike,

    My question is still not answered.

    Regards,
    Ghani

  • In reply to Ghani:

    May be you should provide a sample project showing the error. Unfortunately your descriptions don't mean anything to me.
  • In reply to FrankL:

    Test44.rar

    Hello Frank,

    Please find the workspace test44.rar attached to this thread.

    Regards,

    Ghani

  • In reply to Ghani:

    RL78F14.zip

    I'm sorry, the project gives me the creeps.

    It uses source files generated by external Applilet but ignores the built-in CodeGenerator.

    It has the option bytes defined in an assembler file instead of the linker options. In a CG project the linker options can reflect the setings in the CodeGenerator options, the assembler file cannot do this.

    You said earlier the project is for RL78F13 with 128K flash, the selected device is RL78/F14 with 256K flash.

  • In reply to FrankL:

    Hello Frank,
    The code generated is for CA78K0R compiler.
    I guess you have compiled the project with CC-RL compiler, which is giving you the creeps.
    We are contacting Renesas fro support to resolve the issue from the CA78K0R compiler itself.
    Thank you,
    Regards,
    Ghani
  • In reply to Ghani:

    This thread will be archived because it has been referred to tech support.

    Mike Clements
    RenesasRulz Moderator